How to Install Kajona CMS 6.2v on CentOS 7.6

Installation of Kajona CMS 6.2 on CentOS 7.6

Requirements:

LAMP Stack PHP Should be at least 7.0 or higher.

PHP Modules:

php php-gd php-mbstring php-xml php-zip php-openssl

Download Link

https://www.kajona.de/download.php?systemid=c1cda54593861f48d589

Installation

Before starting the installation process, configure the MariaDB for Kajona CMS 6.2v using the root password.

[root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 38
Server version: 5.5.60-MariaDB MariaDB Server

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 kajona character set utf8mb4;
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> use kajona;
Database changed
MariaDB [kajona]> create user kuser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.00 sec)

MariaDB [kajona]> grant all on kajona.* to kuser@localhost;
Query OK, 0 rows affected (0.00 sec)

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

MariaDB [kajona]> exit
Bye

And then, change the directory to Apache’s Document Root Directory.

[root@linuxhelp ~]# cd /var/www

After that, create a directory for Kajona CMS Under the Document root directory.

[root@linuxhelp www]# mkdir kajona

Now, change the directory to Kajona to download the Kajona CMS.

[root@linuxhelp www]# cd kajona

Download the Kajona CMS version 6.2 using wget with the link mentioned below.

[root@linuxhelp kajona]# wget  https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
--2019-05-03 14:34:32--  https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
Resolving www.kajona.de (www.kajona.de)... 91.250.69.82, 91.250.69.82, 2a01:488:42:1000:5bfa:4552:57:ced6
Connecting to www.kajona.de (www.kajona.de)|91.250.69.82|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10308631 (9.8M) [application/octet-stream]
Saving to: ‘download.php?systemid=c1cda54593861f48d589’

100%[===================================================================================================>] 10,308,631  1.08MB/s   in 16s    

2019-05-03 14:34:50 (616 KB/s) - ‘download.php?systemid=c1cda54593861f48d589’ saved [10308631/10308631]

After downloading, list the contents to check the downloaded file.

[root@linuxhelp kajona]# ll
total 10068
-rw-r--r-- 1 root root 10308631 May  3 14:33 download.php?systemid=c1cda54593861f48d589

Extract the downloaded file using unzip as follows

[root@linuxhelp kajona]# unzip download.php?systemid=c1cda54593861f48d589
Archive:  download.php?systemid=c1cda54593861f48d589
   creating: kajona/
   creating: kajona/admin/
   creating: kajona/core/
   creating: kajona/files/
   creating: kajona/files/cache/
   creating: kajona/files/downloads/
   creating: kajona/files/extract/
   creating: kajona/files/images/
   creating: kajona/files/images/samples/
   creating: kajona/files/images/upload/
   creating: kajona/files/public/
   creating: kajona/project/
.
.
.
.
.
.
inflating: kajona/project/lang_readme.txt  
  inflating: kajona/templates/.htaccess  
  inflating: kajona/templates/readme.txt  
  inflating: kajona/xml.php

Again list the contents to check the extracted files.

[root@linuxhelp kajona]# ll
total 10068
-rw-r--r-- 1 root root 10308631 May  3 14:33 download.php?systemid=c1cda54593861f48d589
drwxr-xr-x 7 root root      202 Aug 10  2018 kajona

Rename the newly created directory to final.

[root@linuxhelp kajona]# mv kajona/ final

Change the directory to final.

 [root@linuxhelp kajona]# cd final

List the contents in the final directory.

 [root@linuxhelp final]# ll
total 28
drwxr-xr-x 2 root root   24 Aug 10  2018 admin
drwxr-xr-x 2 root root 4096 Aug 10  2018 core
-rw-r--r-- 1 root root 1080 Aug 10  2018 download.php
-rw-r--r-- 1 root root 2238 Aug 10  2018 favicon.ico
drwxr-xr-x 7 root root   96 Aug 10  2018 files
-rw-r--r-- 1 root root  897 Aug 10  2018 image.php
-rw-r--r-- 1 root root  897 Aug 10  2018 index.php
-rw-r--r-- 1 root root  964 Aug 10  2018 installer.php
drwxr-xr-x 6 root root  105 Aug 10  2018 project
drwxr-xr-x 2 root root   41 Aug 10  2018 templates
-rw-r--r-- 1 root root  780 Aug 10  2018 xml.php

Assign Ownership permissions to the final directory.

 [root@linuxhelp final]# chown -R apache. ./

Assign Writable permissions to the Final directory.

[root@linuxhelp final]# chmod -R 775 ./

Create a customised configuration file for Kajona CMS.

 [root@linuxhelp final]# vim /etc/httpd/conf.d/k.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/kajona/final/

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

Restart the service of Apache.

[root@linuxhelp final]# systemctl restart httpd

Open the browser and enter the servername in the URL that had set inside the virtual hosting of Kajona CMS. After checking the file permissions,php and MySQL versions click next step. Enter the database details provided in the MariaDB database for Kajona CMS. Set up the admin credentials to log in to the backend office of admin’s account. Click on Start Installation to finish the process. Login to the backend office of admin’s account. Provide the login credentials that had set during the installation process. Backend office of Admin’s account on Kajona CMS has displayed. With this, the installation Of Kajona CMS 6.2v On CentOS 7.6 comes to end here.

FAQ
Q
What is the use of backend and frontend in Kajona CMS 6.2?
A
Backend is used to maintain the website and portal is used to show the contents to the website's visitors.
Q
How many ways does system usability get separate in Kajona CMS 6.2v?
A
System Usability is separated into two main areas. One is a backend and the other is frontend or portal.
Q
What does portal editor do in Kajona CMS 6.2?
A
The portal editor is shown to users with edit-permissions when browsing the website.
Q
What are for templates used in Kajona CMS?
A
In general, templates are used to separate the content from the layout without any programming knowledge about php, databases or other technical stuff.
Q
What does Template Engine Do in Kajona CMS 6.2?
A
Templates control the appearance of the website and will make the page unique