How to Install Processwire CMS 3.0.123v on Ubuntu 19.04

Installation Of ProcessWire CMS 3.0.123v On Ubuntu 19.04

Pre-requisites:

  • ** LAMP Stack**

Ubuntu 19.04

Apache 2.4.39

MariaDB 10.3 and

PHP 7.2

PHP Modules:

php php-gd php-mbstring php-mcrypt php-mysql php-curl php-simplexml php-zip

Download Link:

composer create-project processwire/processwire

Installation

Change the document root directory to Apache’s Document root directory.

root@linuxhelp:~# cd /var/www

Create a directory for process cms.

root@linuxhelp:/var/www# mkdir process

Change the directory to process.

root@linuxhelp:/var/www# cd process/

Download the process cms using composer as follows.

root@linuxhelp:/var/www/process#  composer create-project processwire/processwire
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Installing processwire/processwire (3.0.123)
  - Installing processwire/processwire (3.0.123): Downloading (100%)         
Created project in /var/www/process/processwire
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files

List the contents to view the downlaoded file of Processwire cms.

root@linuxhelp:/var/www/process# ll
total 12
drwxr-xr-x  3 root root 4096 May 18 20:34 ./
drwxr-xr-x  5 root root 4096 May 18 20:33 ../
drwxr-xr-x 10 root root 4096 May 18 20:34 processwire/

Rename the newly created directory to final.

root@linuxhelp:/var/www/process# mv processwire/ final

Change the directory to final.

root@linuxhelp:/var/www/process# cd final/

List the contents to view the extracted files.

root@linuxhelp:/var/www/process/final# ll
total 164
drwxr-xr-x 10 root root  4096 May 18 20:34 ./
drwxr-xr-x  3 root root  4096 May 18 20:35 ../
-rw-r--r--  1 root root   537 Dec 22 01:00 composer.json
-rw-r--r--  1 root root   589 May 18 20:34 composer.lock
-rw-r--r--  1 root root  3571 Dec 22 01:00 CONTRIBUTING.md
-rw-r--r--  1 root root    52 Dec 22 01:00 .gitattributes
-rw-r--r--  1 root root   708 Dec 22 01:00 .gitignore
-rw-r--r--  1 root root 12709 Dec 22 01:00 htaccess.txt
-rw-r--r--  1 root root  2421 Dec 22 01:00 index.php
-rw-r--r--  1 root root 53399 Dec 22 01:00 install.php
-rw-r--r--  1 root root 19125 Dec 22 01:00 LICENSE.TXT
-rw-r--r--  1 root root  6289 Dec 22 01:00 README.md
drwxr-xr-x  6 root root  4096 Dec 22 01:00 site-beginner/
drwxr-xr-x  6 root root  4096 Dec 22 01:00 site-blank/
drwxr-xr-x  6 root root  4096 Dec 22 01:00 site-classic/
drwxr-xr-x  6 root root  4096 Dec 22 01:00 site-default/
drwxr-xr-x  6 root root  4096 Dec 22 01:00 site-languages/
drwxr-xr-x  6 root root  4096 Dec 22 01:00 site-regular/
drwxr-xr-x  3 root root  4096 May 18 20:34 vendor/
drwxr-xr-x  5 root root  4096 Dec 22 01:00 wire/

Create a customised configuration file for Processwire CMS.

root@linuxhelp:/var/www/process/final# vim /etc/apache2/sites-available/process.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/process/final/

<directory /var/www/process/final/>
allowoverride all
allow from all
</directory>
</virtualhost>

Assign the ownership permissions to the final directory.

root@linuxhelp:/var/www/process/final# chown -R www-data. ./

Assign the writable permissions to the final directory.

root@linuxhelp:/var/www/process/final# chmod -R 775 ./

Disable the default site access.

root@linuxhelp:/var/www/process/final# a2dissite 000-default.conf 
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable the access for Processwire CMS site.

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

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

Configure MariaDB for Processwire CMS using the root password.

root@linuxhelp:/var/www/process/final# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 36
Server version: 10.3.13-MariaDB-2 Ubuntu 19.04

Copyright (c) 2000, 2018, 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 character set utf8mb4;
Query OK, 1 row affected (0.000 sec)

MariaDB [(none)]> use process;
Database changed

MariaDB [process]> create user puser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.026 sec)

MariaDB [process]> grant all on process.* to puser@localhost;
Query OK, 0 rows affected (0.000 sec)

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

MariaDB [process]> exit
Bye

Restart the service of Apache.

root@linuxhelp:/var/www/process/final# systemctl restart apache2

Open the browser and enter the server name that has set in the configuration file of Processwire CMS. In the welcome page of Processwire CMS, click get started to proceed further. Select Beginner edition as the installation profile and click continue After the successful requirements check, click continue to next step to proceed further.

Enter the database details that have configured in the MariaDB database for Processwire CMS Set the time-zone, check the file-permissions and HTTP Hostnames. Click Continue. Enroll the admin credentials and click continue. Click Login to Admin and enter login credentials The Admins account of processWire CMS gets opened. Therefore, the nstallation of ProcessWire CMS 3.0.123 on Ubuntu 19.04 comes to end.

FAQ
Q
What does jQuery API Documentation mean In ProcessWire CMS?
A
jQuery is a fast, small and feature-rich JAvaScript library. It makes things like HTML document traversal with an easy to use API that works across a multitude of browsers In process Wire CMS.
Q
What is WEB API IN ProcessWire CMS 3.0.123?
A
WEB API is a common type OF API, which is also known as Web Services. It provides an interface to web applications or applications that need to connect to each other via the internet to communicate.
Q
What are the official standards that SOAP API use In ProcessWire CMS?
A
HTTP and XML are the official standards that SOAP API use In Process Wire CMS 3.0.123.
Q
What is the difference between API and REST API In ProcessWire CMS?
A
REST API has no official standard at all. SOAP API has an official standard.
Q
What HTML editor does ProcessWire CMS 3.0.123v support?
A
ProcessWire CMS 3.0.123v employs CK editor for rich text editing.