How to install ProcessWire CMS – 3.0.96 on Ubuntu 17.04
To install ProcessWire CMS &ndash 3.0.96 on Ubuntu 17.04
ProcessWire is free and open source Content Management System(CMS) and Content Management Framework written in PHP and has an easy-to-use interface and high customization options which enables the users to publish websites easily. It provides a simpler and stronger control over your pages, fields, templates, and markup at any scale. In this tutorial, you will learn about the method to install Processwire CMS on Ubuntu &ndash 17.04.
Prerequisites
- Processwire CMS requires a webserver to functionally based on LAMP setup on your system and also with following required PHP modules.
- apt-get install php-mysql php-curl php-json php-cgi php libapache2-mod-php php-mcrypt php-xmlrpc php-gd php-mbstring php php-common php-xmlrpc php-soap php-xml php-intl php-cli php-ldap php-zip php-readline php-imap php-tidy php-recode php-sqlite3 php-xdebug php-gettext php-dev php-pear php-memcache php-memcached php-bz2
Installing ProcessWire CMS
First, make sure you update the system repository by making use of the following command.
root@linuxhelp1:~# apt-get update
Hit:1 http://old-releases.ubuntu.com/ubuntu zesty InRelease
Hit:2 http://old-releases.ubuntu.com/ubuntu zesty-updates InRelease
Hit:3 http://old-releases.ubuntu.com/ubuntu zesty-backports InRelease
Hit:4 http://old-releases.ubuntu.com/ubuntu zesty-security InRelease
Reading package lists... Done
And then, create a database for Processwire as the root user. And make the following configuration.
root@linuxhelp1:~# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with or g. Your MariaDB connection id is 10 Server version: 10.1.25-MariaDB- Ubuntu 17.04 Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others. Type ' help ' or ' h' for help. Type ' c' to clear the current input statement. MariaDB [(none)]> create database process Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> grant all privileges on process.* to ' processuser' @' localhost' identified by ' 123' Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> flush privileges Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> exit Bye
And once it is done, you shall switch to the directory.
root@linuxhelp1:~# cd /home/user/Downloads/
And also you should unzip the package.
root@linuxhelp1:/home/user/Downloads# unzip processwire-master.zip
Archive: processwire-master.zip
941ef5cb672079c6b87eea666d50cac11dfc45ed
creating: processwire-master/
extracting: processwire-master/.gitattributes
inflating: processwire-master/.gitignore
inflating: processwire-master/CONTRIBUTING.md
inflating: processwire-master/LICENSE.TXT
inflating: processwire-master/README.md
inflating: processwire-master/composer.json
.
.
extracting: processwire-master/wire/templates-admin/styles/images/btn-search.png
inflating: processwire-master/wire/templates-admin/styles/images/bullet_breadcrumb.gif
extracting: processwire-master/wire/templates-admin/styles/images/logo.gif
inflating: processwire-master/wire/templates-admin/styles/images/topnav_a_bg.gif
inflating: processwire-master/wire/templates-admin/styles/inputfields.css
inflating: processwire-master/wire/templates-admin/styles/install.css
inflating: processwire-master/wire/templates-admin/styles/main.css
inflating: processwire-master/wire/templates-admin/styles/reset.css
inflating: processwire-master/wire/templates-admin/styles/ui.css
inflating: processwire-master/wire/templates-admin/topnav.inc
After that, move the file.
root@linuxhelp1:/home/user/Downloads# mv processwire-master /var/www/processwire
And then switch into the directory.
root@linuxhelp1:/home/user/Downloads# cd /var/www/
After that, you need to change ownership and permission for the file.
root@linuxhelp1:/var/www# chown -R www-data.www-data processwire
root@linuxhelp1:/var/www# chmod -R 755 processwire
Now, you need to change the value of the php.ini file
[..] flie_uploads=On allow_url_fopen=On memory_limit=256M upload_max_filesize=64M max_execution_time=360 date.timezone=Asia/Kolkata [..]
You should then create VirtualHost by making use of the following command.
root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/process.conf
And in that file, make sure you make the following changes.
< VirtualHost *:80> ServerName www.linuxhelp1.com DocumentRoot /var/www/processwire/ < Directory /var/www/processwire/> AllowOverride All allow from all < /Directory> < /VirtualHost>
After that, you need to enable the site access so make sure you run the following command.
root@linuxhelp1:/var/www# a2ensite process.conf
Enabling site process.
To activate the new configuration, you need to run:
systemctl reload apache2
Once it is done, you shall enable the module.
root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
You should also disable the default site access.
root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
And then restart the apache2 service by making use of the following command.
root@linuxhelp1:/var/www# systemctl restart apache2
We shall now open a browser and type http://local Ip (or) domain name

Click to get started.

The installation profile appears.


Check compatibility.


And give the database details.


Save and test the database configuration.

And give the Administration details.


The Administration account is saved.

Security purpose to access the file permission of config.php file.

You need to change permission for the file. So run the following command in the terminal.
root@linuxhelp1:/var/www/processwire/site# chmod 644 config.php
The Homepage of ProcessWire appears.

Choose Admin login.

And login with admin credentials.

The Processwire site now appears.

You can check the version.

With this, the method to install ProcessWire comes to an end.
Comments ( 0 )
No comments available