How to install Pagekit CMS on Ubuntu 18.04
To install Pagekit CMS on Ubuntu 18.04
Pagekit is a free and open source content management system. It is written in PHP and uses MySQL or SQLite database for storing the data. Pagekit provides easy to use drag and drop control panel to manage the pages, menus, and widgets. It has a configurable dashboard which shows all the statistics related to your site at one place. It also provides an inbuilt blog feature so that you can share the blog posts right away. In this tutorial, we will cover the installation of page kit 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 Pagekit CMS package using the following URL.
root@linuxhelp1:~# wget http://pagekit.com/api/download/latest -O pagekit.zip
--2018-08-16 04:17:07-- http://pagekit.com/api/download/latest
Resolving pagekit.com (pagekit.com)... 213.160.72.26, 2a00:17d8:100::191
Connecting to pagekit.com (pagekit.com)|213.160.72.26|:80... connected.
.
.
.
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.16.232|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8309263 (7.9M) [application/octet-stream]
Saving to: ‘;pagekit.zip’;
pagekit.zip 100%[============================>] 7.92M 1.13MB/s in 8.4s
2018-08-16 04:17:20 (963 KB/s) - ‘;pagekit.zip’; saved [8309263/8309263]
After Downloading extract the downloaded package
root@linuxhelp1:~# unzip pagekit.zip
Archive: pagekit.zip
inflating: app/assets/codemirror/codemirror.css
inflating: app/assets/codemirror/codemirror.js
inflating: app/assets/codemirror/hint.css
inflating: app/assets/jquery/bower.json
inflating: app/assets/jquery/dist/jquery.min.js
inflating: app/assets/jquery/MIT-LICENSE.txt
.
.
.
creating: tmp/
creating: tmp/cache/
creating: tmp/temp/
creating: tmp/logs/
creating: tmp/sessions/
creating: tmp/packages/
Change ownership and permission of the as page kit CMS follows
root@linuxhelp1:~# ls pagekit pagekit.zip root@linuxhelp1:~# chown -R www-data.www-data pagekit root@linuxhelp1:~# chmod -R 775 pagekit
Move the extracted file into the HTML directory
root@linuxhelp1:~# mv pagekit /var/www/html/
Create a new virtual host configuration for accessing the page kit CMS
root@linuxhelp1:~# cd /etc/apache2/sites-available/
root@linuxhelp1:/etc/apache2/sites-available# vim page.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/pagekit/
<Directory /var/www/html/pagekit/>
AllowOverride All
allow from all
</Directory>
</VirtualHost>
Enable site access
root@linuxhelp1:/etc/apache2/sites-available# a2ensite page.conf
Enabling site page.
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
<Give your ip> <Give your domain name>
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://<ipaddress or domain name /pagekit
Here show on the page kit installation so here, click on the aero mark.
Select your language and click ‘;next’;.
Configure the Database setup as follows
Configure the Site information and Admin user setup as follow
Login page of page kit cms appears now.
After the configuration, you will see the Admin dashboard of page kit CMS as shown below
With this, the method to install page kit CMS on Ubuntu 18.04 comes to an end.
Comments ( 0 )
No comments available