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
First, update the system.
:~$ sudo apt update && sudo apt upgrade
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
Now enable Apache to boot into the system.
:~$ sudo systemctl enable apache2 :~$ sudo systemctl start apache2
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
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
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
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
Next, create a database for PageKit. In addition, create a new user for this.
:~$ sudo systemctl enable mariadb :~$ sudo systemctl start mariadb
:~$ sudo mysql -u root -p CREATE DATABASE pagedb; GRANT ALL PRIVILEGES ON pagedb.* TO 'pagedbuser'@'localhost' IDENTIFIED BY 'pagepss'; FLUSH PRIVILEGES; exit;
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
When the download is finished, unzip it in the Apache folder.
:~$ sudo unzip pagekit.zip -d /var/www/html/pagekit
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/
Next, enable the rewrite module on Apache.
:~$ sudo a2enmod rewrite :~$ sudo systemctl restart apache2
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
Next, choose the language.
The next step is to configure the databases parameters.
Now, set the admin account.
Then, the installer will complete the installation. After that, you will see the login screen.
Log in and you will see the 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.