How to install PivotX CMS on Ubuntu 18.04
To install PivotX CMS on Ubuntu 18.04
PivotX is a free and open source blog software content management system. It’s written in PHP using either flat files or a database to store content. It uses the Smarty web template system. In this tutorial, we will cover the installation of pivotx on Ubuntu 18.04.
Prerequisites
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
Installation
Download a PivotX CMS package using the following command.
root@linuxhelp1:~# wget http://pivotx.net/files/pivotx\_latest.zip
--2018-08-16 03:44:23-- http://pivotx.net/files/pivotx\_latest.zip
Resolving pivotx.net (pivotx.net)... 104.28.1.56, 104.28.0.56, 2400:cb00:2048:1::681c:138, ...
Connecting to pivotx.net (pivotx.net)|104.28.1.56|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3228558 (3.1M) \[application/zip\]
Saving to: ‘pivotx\_latest.zip’
pivotx\_latest.zip 100%\[=============================>\] 3.08M 11.1MB/s in 0.3s
2018-08-16 03:44:28 (11.1 MB/s) - ‘pivotx\_latest.zip’ saved \[3228558/3228558\]
After Downloading extract and rename the downloaded package
root@linuxhelp1:~# unzip pivotx\_latest.zip -d pivotx
Archive: pivotx\_latest.zip
inflating: pivotx/LICENSE.txt
inflating: pivotx/README.txt
inflating: pivotx/example.htaccess
inflating: pivotx/example.web.config
creating: pivotx/images/
inflating: pivotx/images/icon\_pivotx.jpg
.
.
.
inflating: pivotx/pivotx/templates\_internal/window\_fileupload.tpl
inflating: pivotx/pivotx/templates\_internal/window\_insert\_download.tpl
inflating: pivotx/pivotx/templates\_internal/window\_insert\_image.tpl
inflating: pivotx/pivotx/templates\_internal/window\_insert\_popup.tpl
inflating: pivotx/pivotx/templates\_internal/window\_insert\_tag.tpl
inflating: pivotx/pivotx/templates\_internal/window\_upload.tpl
extracting: pivotx/robots.txt
Change ownership and permission of the as PivotX CMS follows
root@linuxhelp1:~# ls
pivotx pivotx\_latest.zip
root@linuxhelp1:~# chown -R www-data.www-data pivotx
root@linuxhelp1:~# chmod -R 775 pivotx
Move the extracted file into the HTML directory
root@linuxhelp1:~# mv pivotx /var/www/html/
Create a new virtual host configuration for accessing the PivotX CMS
root@linuxhelp1:~# cd /etc/apache2/sites-available/
root@linuxhelp1:/etc/apache2/sites-available# vim pivotx.conf
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/pivotx/
AllowOverride All
allow from all
Enable site access
root@linuxhelp1:/etc/apache2/sites-available# a2ensite pivotx.conf
Enabling site pivotx.
To activate the new configuration, you need to run:
systemctl reload apache2
Entry to the host file.
root@linuxhelp1:/etc/apache2/sites-available# vim /etc/hosts
Restart the apache service to make the changes effect
root@linuxhelp1:/etc/apache2/sites-available# systemctl restart apache2
Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://pivotx
Configure the Admin user setup as follow
Login page of pivotx CMS appears now.
After the configuration, you will see the Admin dashboard of pivotx CMS as shown below
With this, the method to install pivotx cms on Ubuntu 18.04 comes to an end.
Comments ( 0 )
No comments available