How to install Kajona CMS On Linux Mint 20.2
To Install Kojana CMS On Linux Mint 20.2
Introduction :
Kajona is a PHP based content management framework, released and developed as an open source project using the lgpl-licence. The system requires a relational database system such as mysql, postgresql or sqlite.
Installation Procedure :
Step 1: Check the OS version by using the below command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20.2
Release: 20.2
Codename: uma
Step 2: Configure the MySQL database. Log into MySQL as a root user and make the necessary settings by using the below command
root@linuxhelp:~# mysql -u root –p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.28-0ubuntu0.20.04.3 (Ubuntu)
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
mysql> create database kajonadb;
Query OK, 1 row affected (0.01 sec)
mysql> create user 'kajonauser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.00 sec)
mysql> grant all privileges on kajonadb.* to 'kajonauser'@localhost;
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> exit
Bye
Step 3: Download the Kajona CMS as shown in the below image
Step 4: Download the Kajona CMS package by using wget command
root@linuxhelp:~# wget https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
--2022-03-09 03:17:36-- https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
Resolving www.kajona.de (www.kajona.de)... 5.175.14.121, 2a01:488:42:1000:50ed:8279:cf:5a32
Connecting to www.kajona.de (www.kajona.de)|5.175.14.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10308631 (9.8M) [application/octet-stream]
Saving to: ‘download.php?systemid=c1cda54593861f48d589’
download.php?systemid=c1cda5 100%[============================================>] 9.83M 4.88MB/s in 2.0s
2022-03-09 03:17:39 (4.88 MB/s) - ‘download.php?systemid=c1cda54593861f48d589’ saved [10308631/10308631]
Step 5: List the file by using the below command
root@linuxhelp:~# ls -la
total 84160
drwx------ 7 root root 4096 Mar 9 03:17 .
drwxr-xr-x 19 root root 4096 Mar 6 21:46 ..
-rw------- 1 root root 1902 Mar 9 03:13 .bash_history
-rw-r--r-- 1 root root 3106 Dec 5 2019 .bashrc
drwx------ 3 root root 4096 Jul 3 2021 .cache
drwx------ 3 root root 4096 Mar 6 22:29 .dbus
-rw-r--r-- 1 root root 10308631 Mar 9 03:17 'download.php?systemid=c1cda54593861f48d589'
drwxr-xr-x 3 root root 4096 Mar 7 05:17 .local
-rw------- 1 root root 250 Mar 9 03:16 .mysql_history
-rw-r--r-- 1 root root 161 Dec 5 2019 .profile
drwxr-xr-x 5 3434 3434 4096 Mar 8 02:03 prometheus-2.33.4.linux-amd64
-rw-r--r-- 1 root root 75820407 Feb 22 22:37 prometheus-2.33.4.linux-amd64.tar.gz
drwxr-xr-x 2 root root 4096 Mar 7 12:49 .rpmdb
-rw-r--r-- 1 root root 165 Mar 8 02:01 .wget-hsts
Step 6: Extract the kajona file by using the unzip command
root@linuxhelp:~# 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/
inflating: kajona/project/lang_readme.txt
inflating: kajona/templates/.htaccess
inflating: kajona/templates/readme.txt
inflating: kajona/xml.php
Step 7: List the file by using the below command
root@linuxhelp:~# ls -la
total 84164
drwx------ 8 root root 4096 Mar 9 03:18 .
drwxr-xr-x 19 root root 4096 Mar 6 21:46 ..
-rw------- 1 root root 1902 Mar 9 03:13 .bash_history
-rw-r--r-- 1 root root 3106 Dec 5 2019 .bashrc
drwx------ 3 root root 4096 Jul 3 2021 .cache
drwx------ 3 root root 4096 Mar 6 22:29 .dbus
-rw-r--r-- 1 root root 10308631 Mar 9 03:17 'download.php?systemid=c1cda54593861f48d589'
drwxr-xr-x 7 root root 4096 Aug 10 2018 kajona
drwxr-xr-x 3 root root 4096 Mar 7 05:17 .local
-rw------- 1 root root 250 Mar 9 03:16 .mysql_history
-rw-r--r-- 1 root root 161 Dec 5 2019 .profile
drwxr-xr-x 5 3434 3434 4096 Mar 8 02:03 prometheus-2.33.4.linux-amd64
-rw-r--r-- 1 root root 75820407 Feb 22 22:37 prometheus-2.33.4.linux-amd64.tar.gz
drwxr-xr-x 2 root root 4096 Mar 7 12:49 .rpmdb
-rw-r--r-- 1 root root 165 Mar 8 02:01 .wget-hsts
Step 8 : Move the kajona file by using the below command
root@linuxhelp:~# mv kajona /var/www/
Step 9 : Change the ownership by using the below command
root@linuxhelp:~# chown -R www-data.www-data /var/www/kajona/
Step 10 : change the permission by using the below command
root@linuxhelp:~# chmod -R 755 /var/www/kajona/
Step 11 : Edit the virtualhost in the apache2 home directory by using the below command
root@linuxhelp:~# nano /etc/apache2/sites-available/kajona.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/kajona
<directory /var/www/kajona>
allowoverride all
allow from all
</directory>
</virtualhost>
Step 12 : Disable the default site by using the below command
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 13 : Enable the virtual host file by using the below command
root@linuxhelp:~# a2ensite kajona.conf
Enabling site kajona.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 14 : Enable the rewrite module by using the below command
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Step 15 : After finishing all the configuration restart apache2 web server by using the below command
root@linuxhelp:~# systemctl restart apache2
Step 16 : Open the browser and type localhost as shown in the below image
Step 17 : Give next in the PHP configuration as shown in the below image
Step 18 : Enter the databases and username as shown in the below image
Step 19 : creating the admin access as shown in the below image
Step 20 : Install and finalize the configuration to see the welcome page of kajona CMS
Step 21 : Hereby we can see the welcome page of Kajona CMS
With this the process of installing Kajona CMS on Linux Mint 20.2 has come to an end…!!!
WordPress
Craft CMS
Drupal
HubSpot Website Platform
etc...
Install PHP 7.2 And Related Modules.