How to Install ProcessWire on Ubuntu

To install ProcessWire in Ubuntu

Processwire is an open source content management system and framework based on PHP. ProcessWire offers simple and strong on your pages, fields, templates and markup at any scale. This article sheds light on the installation of ProcessWire on Ubuntu.


To Install ProcessWire

It is essential to configure the LAMP setup before installing ProcessWire. After it, open MariaDB console and create a database for ProcessWire and set the privileges.

root@linuxhelp:~# mysql
MariaDB [(none)]> create database wire_db;
Query OK, 1 row affected (0.07 sec)

MariaDB [(no ne)]> grant all on wire_db.* to 'wire'@'localhost' identified by '12345';
Query OK, 0 rows affected (0.77 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (1.03 sec)

MariaDB [(none)]> q;

After creating a database, enable Apache rewrite module by triggering the following command.

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
 service apache2 restart

Now restart the Apache service.

root@linuxhelp:~# service apache2 restart

Once Apache service is restarted, download the latest version from GitHub.

root@linuxhelp:~# cd /opt
root@linuxhelp:~#  wget
--2016-11-01 14:23:40--
Resolving (,
Connecting to (||:443... connected.
2016-11-01 14:27:01 (50.3 KB/s) - ‘’ saved [10032027]

Run the following command to extract the downloaded package.

root@linuxhelp:/opt# unzip
   creating: ProcessWire-master/
  inflating: ProcessWire-master/.gitignore  
  inflating: ProcessWire-master/COPYRIGHT.txt  
  inflating: ProcessWire-master/wire/templates-admin/styles/reset.css  
  inflating: ProcessWire-master/wire/templates-admin/styles/ui.css  
  inflating: ProcessWire-master/wire/templates-admin/

Once the package is extracted, use the following command to move the ProcessWire package into web-root directory.

root@linuxhelp:/opt# ls  ProcessWire-master
root@linuxhelp:/opt# mv ProcessWire-master/ /var/www/html/processwire

Now run the following command to change the ownership for processwire directory

root@linuxhelp:/opt# chown www-data:www-data -R /var/www/html/processwire/

Once the ownership is changed, create new virtualhost file and link it.

root@linuxhelp:/opt# touch /etc/apache2/sites-available/processwire.conf
root@linuxhelp:/opt# ln -s /etc/apache2/sites-available/processwire.conf /etc/apache2/sites-enabled/processwire.conf

Now edit the configuration file as follows.

root@linuxhelp:/opt# vim /etc/apache2/sites-available/processwire.conf
<VirtualHost *:80>
DocumentRoot /var/www/html/processwire/
<Directory /var/www/html/processwire/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
ErrorLog /var/log/apache2/
CustomLog /var/log/apache2/ common

Once the configuration is done, restart the Apache service as follows.

root@linuxhelp:~# service apache2 restart



After restarting Apache, open the browser and enter the processwire virtualhost domain to access ProcessWire.

Select the installation profile and click next.

Click continue to nextstep.

Enter the Database details and Time zone.

Configure the login credentials.

Click loginadmin to enter processwire

Now enter the login credentials to access ProcessWire.

The ProcesWire is configured and installed successfully as below.



Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: LAMP Php Virtualhost CMS tool Processwire
user image Author :  Caden