20.1 C
Texas
angeloma
Senior Writer and partner

How to install PageKit CMS on Ubuntu 18.04?

On the Internet, there are many blogs on the Internet. It is true that WordPress leads the way when it comes to CMS, but it is not the only one on the market. Recently we talked about October CMS but today it’s PageKit’s turn. That’s why I’ll show you how to install PageKit CMS on Ubuntu 18.04.

PageKit is a new CMS (Content Manager System) open source, flexible that has first-class components for its creation. For example, its interface is made with Vue.js which is perhaps the best Javascript framework.

PageKit allows you to quickly create beautiful websites, with a unified control center that will make you have control of everything in a single interface. In addition, it has internal tools to continue building plugins or features to your website.

Let’s install PageKit CMS on Ubuntu 18.04 LTS.

1. Upgrade the system

- Advertisement -

First, update the system.

:~$ sudo apt update && sudo apt upgrade

1.- Upgrade the system
1.- Upgrade the system

This step is essential to have the latest security patches installed in the system. And thus have a more stable and secure server.

2. Install Apache Web Server

This type of application requires the installation of a LAMP server. The first step is to install Apache web server. This to have a web server running on our Ubuntu.

:~$ sudo apt install apache2

2.- Install Apache web server
2.- Install Apache web server

Now enable Apache to boot into the system.

:~$ sudo systemctl enable apache2
:~$ sudo systemctl start apache2

3.- Enabling the Apache service
3.- Enabling the Apache service

So, Apache is installed.

3. Install PHP

The next step is to install PHP. PageKit is an application built with PHP and some of its components are built with Symphony PHP.

:~$ sudo apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-sqlite php7.2-curl php7.2-intl php7.2-mbstring php7.2-xmlrpc php7.2-mysql php7.2-gd php7.2-xml php7.2-cli php7.2-zip

4.- Install PHP
4.- Install PHP

After that, it is necessary to change some PHP settings. Open your configuration file and make the following changes.

:~$ sudo nano /etc/php/7.2/apache2/php.ini
memory_limit = 300M
allow_url_fopen = On
upload_max_filesize = 200M
max_execution_time = 400
date.timezone = Your_timezone

5.- Editing the PHP configuratioin file
5.- Editing the PHP configuration file

4. Install and configure MariaDB

Now it is necessary to install a database manager, in this case, I will use MariaDB.

:~$ sudo apt install mariadb-server

6.- Installing Mariadb-server
6.- Installing Mariadb-server

Then, you have to configure a root key for MariaDB. To do this use the mysql_secure_installation script.

:~$ sudo mysql_secure_installation

After setting the root password, you will have to answer a series of questions related to the configuration of MariaDB. I answered like this.

Remove anonymous users? [Y/n]: Y
Disallow root login remotely? [Y/n]: n
Remove test database and access to it? [Y/n]:  Y
Reload privilege tables now? [Y/n]:  Y

7.- Configuring MariaDB
7.- Configuring MariaDB

Next, create a database for PageKit. In addition, create a new user for this.

:~$ sudo systemctl enable mariadb
:~$ sudo systemctl start mariadb

8.- Starting MariaDB service
8.- Starting MariaDB service

:~$ sudo mysql -u root -p
CREATE DATABASE pagedb;
GRANT ALL PRIVILEGES ON pagedb.* TO 'pagedbuser'@'localhost' IDENTIFIED BY 'pagepss';
FLUSH PRIVILEGES;
exit;

9.- Creating the database and user for PageKit
9.- Creating the database and user for PageKit

We are done with MariaDB.

5. Download and install PageKit

Now is the time to download and install PageKit CMS. To do this, type the following command.

:~$ wget https://pagekit.com/api/download/latest -O pagekit.zip

10.- Download and install PageKit
10.- Download and install PageKit

When the download is finished, unzip it in the Apache folder.

:~$ sudo unzip pagekit.zip -d /var/www/html/pagekit

11.- Unzipping the file
11.- Unzipping the file

Assign the correct permissions to the PageKit folder.

:~$ sudo chown -R www-data:www-data /var/www/html/pagekit/
:~$ sudo chmod -R 777 /var/www/html/pagekit/

12.- Setting the permission to the folder
12.- Setting the permission to the folder

Next, enable the rewrite module on Apache.

:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2

 

13.- Enabling the mod rewrite module
13.- Enabling the mod rewrite module

And that’s it.

 

6. Complete the installation

Now you have to open your favorite web browser and access it from the web interface to complete the installation. Go to http://IP_SERVER/pagekit

14.- PageKit welcome screen
14.- PageKit welcome screen

Next, choose the language.

15.- Choosing the language
15.- Choosing the language

The next step is to configure the databases parameters.

16.- Databases parameters
16.- Databases parameters

Now, set the admin account.

17.- Configuring the admin account
17.- Configuring the admin account

Then, the installer will complete the installation. After that, you will see the login screen.

18.- Log in screen
18.- Login screen

Log in and you will see the dashboard.

19.- PageKit Dashboard
19.- PageKit Dashboard

And that’s it.

Conclusion

This new CMS is an interesting project. PageKit is simple to install but powerful in its features.

Please share this post with your friends.

 

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article