How to install ProcessWire 3.0.98 on Ubuntu 18.04

To install ProcessWire 3.0.98 on Ubuntu 18.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.

Prerequisites
To install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules


add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc 
php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap 
php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl


Now we have to download a Processwire CMS package using this following command


root@linuxhelp1:~# wget https://github.com/processwire/processwire/archive/master.zip
--2018-05-31 17:33:01--  https://github.com/processwire/processwire/archive/master.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
.
.
HTTP request sent, awaiting response... 200 OK
Length: 12824928 (12M) \[application/zip\]
Saving to: &lsquo master.zip&rsquo 

master.zip              100%\[==============================> \]  12.23M   370KB/s    in 18s     

2018-05-31 17:33:21 (713 KB/s) - &lsquo master.zip&rsquo  saved \[12824928/12824928\]

The downloaded package is a zip file, so we need to unzip the package now


root@linuxhelp1:~# unzip master.zip 
Archive:  master.zip
341342dc5b1c58012ae7cb26cffe2c57cd915552
   creating: processwire-master/
 extracting: processwire-master/.gitattributes  
  inflating: processwire-master/.gitignore  
  inflating: processwire-master/CONTRIBUTING.md  
  inflating: processwire-master/LICENSE.TXT
.
.
extracting: processwire-master/wire/templates-admin/data-styles/images/logo.gif  
  inflating: processwire-master/wire/templates-admin/data-styles/images/topnav\_a\_bg.gif  
  inflating: processwire-master/wire/templates-admin/data-styles/inputfields.css  
  inflating: processwire-master/wire/templates-admin/data-styles/install.css  
  inflating: processwire-master/wire/templates-admin/data-styles/main.css  
  inflating: processwire-master/wire/templates-admin/data-styles/reset.css  
  inflating: processwire-master/wire/templates-admin/data-styles/ui.css  
  inflating: processwire-master/wire/templates-admin/topnav.inc

Then we have to move the extracted file into the following path


root@linuxhelp1:~# mv processwire-master /var/www/

And then switch to the following directory


root@linuxhelp1:~# cd /var/www/ 

Here to change the ownership and permission of the file


root@linuxhelp1:/var/www# chown -R www-data.www-data processwire-master
root@linuxhelp1:/var/www# chmod -R 775 processwire-master

Now we have to create a new virtualhost configuration to accessing the Processwire CMS application


root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/process.conf
< VirtualHost \*:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/processwire-master/

< Directory /var/www/processwire-master/> 
AllowOverride All
allow from all
< /Directory> 

< /VirtualHost> 

Now we have to enable the site access


root@linuxhelp1:/var/www# a2ensite process.conf
Enabling site process.
To activate the new configuration, you need to run:
  systemctl reload apache2

Now we have to disable the default 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

Now we have to enable the rewrite module


root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Then we need to restart the apache2 service


root@linuxhelp1:/var/www# systemctl restart apache2

Now we have to open a browser and type the following URL of http://local IP (or ) domain name

Here we have to click to start the installation

Here we have to choose the installation profile

Here we have to check it out the compatibility checking

Here we have to configure the database detail and site information

Here we have to configure the Admin user credential

Here it will show a completed message of installation

Now we are in a Login page of Processwire, and here we have to log in with help of using Admin user credential

Now we are in an Admin page of Processwire CMS

Here it will show a version of Processwire

Now we are in a Homepage of Processwire CMS

< ads2>

Tag : Ubuntu
FAQ
Q
What are the Features in ProcessWire?
A
Simple and Powerful CMS
Small, Medium and Big websites can use ProcessWire
Easy-to-use, jQuery-style API
Ideal for designers/developers and their clients
Accommodates unique data needs easily
Modular plugin architecture
Easy to Understand Structure
More Pages, More Features
Unlimited Templates
Q
What are the Features in ProcessWire?
A
Simple and Powerful CMS
Small, Medium and Big websites can use ProcessWire
Easy-to-use, jQuery-style API
Ideal for designers/developers and their clients
Accommodates unique data needs easily
Modular plugin architecture
Easy to Understand Structure
More Pages, More Features
Unlimited Templates
Q
Is ProcessWire Hosting and its System Requirement?
A
A Unix or Windows-based web server running Apache
PHP version 5.3.8 or newer with PDO database support (PHP 5.5+ preferable)
MySQL or MariaDB, 5.0.15 or greater (5.5+ preferable)
Apache must have mod_rewrite enabled and .htaccess supported.
PHP’s bundled GD 2 library (ImageMagick should be supported).
Q
What is ProcessWire?
A
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.
Q
What are the Prerequisites for ProcessWire?
A
To install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules