How to install ProcessWire 3.0.98 on Linuxmint-18.03

To install ProcessWire 3.0.98 on Linuxmint-18.03
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.
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

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


linuxhelp ~ # wget https://github.com/processwire/processwire/archive/master.zip
--2018-06-06 18:47:29--  https://github.com/processwire/processwire/archive/master.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/processwire/processwire/zip/master \[following\]
--2018-06-06 18:47:30--  https://codeload.github.com/processwire/processwire/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12824928 (12M) \[application/zip\]
Saving to: &lsquo master.zip.1&rsquo 

master.zip.1               100%\[========================================> \]  12.23M  1.04MB/s    in 13s     

2018-06-06 18:47:44 (992 KB/s) - &lsquo master.zip.1&rsquo  saved \[12824928/12824928\]

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


linuxhelp ~ # 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  
  inflating: processwire-master/README.md  
  inflating: processwire-master/composer.json  
  inflating: processwire-master/htaccess.txt  
  inflating: processwire-master/index.php  
  inflating: processwire-master/install.php  
.
.
.
  inflating: processwire-master/wire/templates-admin/data-styles/images/bg\_content.gif  
 extracting: processwire-master/wire/templates-admin/data-styles/images/btn-search.png  
  inflating: processwire-master/wire/templates-admin/data-styles/images/bullet\_breadcrumb.gif  
 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  

we have to rename the extracted directory


linuxhelp ~ # ls master.zip  processwire-master linuxhelp ~ # mv processwire-master/ processwire

Here to change the ownership and permission of the file


linuxhelp ~ # chown -R www-data:www-data processwire/
linuxhelp ~ # chmod -R 775 processwire/

we have to move the processwire directory into the /html location


linuxhelp ~ # mv processwire/ /var/www/html/

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


linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim process.conf
< VirtualHost \*:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/processwire/
< Directory /var/www/html/processwire/> 
AllowOverride All
allow from all
< /Directory> 
< /VirtualHost> 

Now we have to enable the site access


linuxhelp sites-available # a2ensite process.conf 
Enabling site process.
To activate the new configuration, you need to run:
  service apache2 reload
we have to entry to the host file:
linuxhelp sites-available # vim /etc/hosts
Then we need to restart the apache2 service
linuxhelp sites-available # systemctl restart apache2.service   

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 and if you want login your admin page click login to admin

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

< ads2>

Tag : Linux Mint
FAQ
Q
How to extract the downloaded package?
A
Run the following command,
# unzip master.zip
Q
What are the ProcessWire Features?
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
Q
What are the ProcessWire Hosting and its System Requirements?
A
A Unix or a 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
How to download a Processwire CMS package?
A
Use the following link:
# wget https://github.com/processwire/processwire/archive/master.zip
Q
What is ProcessWire 3.0.98 on Linuxmint?
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.