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/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
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
Comments ( 0 )
No comments available