How to Install Kajona CMS 6.2v on Ubuntu 19.04
Installation of Kajona CMS 6.2v On Ubuntu 19.04
Requirements:
LAMP Stack
Apache 2.4.38
MariaDB 10.3
PHP 7.2
PHP Should be atleast 7.0
PHP Modules:
php php-gd php-mbstring php-xml php-zip php-openssl
Download Link:
https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
Installing Kajona
Configure MariaDB for Kajona CMS 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 45
Server version: 10.3.13-MariaDB-2 Ubuntu 19.04
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.000 sec)
MariaDB [(none)]> use kajona;
Database changed
MariaDB [kajona]> create user kuser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.001 sec)
MariaDB [kajona]> grant all on kajona.* to kuser@localhost;
Query OK, 0 rows affected (0.000 sec)
MariaDB [kajona]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
MariaDB [kajona]> exit
Bye
Change the directory to kajona.
root@linuxhelp:~# cd /var/www
And then create a directory for Kajona CMS.
root@linuxhelp:/var/www# mkdir kajona
Change the directory to kajona as follows.
root@linuxhelp:/var/www# cd kajona
Download the Kajona CMS using wget command followed by the below-given link.
root@linuxhelp:/var/www/kajona# wget https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
--2019-05-18 22:12:14-- https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
Resolving www.kajona.de (www.kajona.de)... 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’
download.php?systemid=c1c 100%[===================================>] 9.83M 761KB/s in 13s
2019-05-18 22:12:28 (789 KB/s) - ‘download.php?systemid=c1cda54593861f48d589’ saved [10308631/10308631]
List the contents to view the downloaded zip file of Kajona CMS.
root@linuxhelp:/var/www/kajona# ll
total 10076
drwxr-xr-x 2 root root 4096 May 18 22:12 ./
drwxr-xr-x 4 root root 4096 May 18 22:12 ../
-rw-r--r-- 1 root root 10308631 May 18 16:41 'download.php?systemid=c1cda54593861f48d589'
Extract the zip file of Kajona CMS.
root@linuxhelp:/var/www/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/
.
.
.
.
.
inflating: kajona/index.php
inflating: kajona/installer.php
inflating: kajona/project/.htaccess
inflating: kajona/project/lang_readme.txt
inflating: kajona/templates/.htaccess
inflating: kajona/templates/readme.txt
inflating: kajona/xml.php
List the contents to check the extracted files.
root@linuxhelp:/var/www/kajona# ll
total 10080
drwxr-xr-x 3 root root 4096 May 18 22:14 ./
drwxr-xr-x 4 root root 4096 May 18 22:12 ../
-rw-r--r-- 1 root root 10308631 May 18 16:41 'download.php?systemid=c1cda54593861f48d589'
drwxr-xr-x 7 root root 4096 Aug 10 2018 kajona/
Rename the newly created directory to final.
root@linuxhelp:/var/www/kajona# mv kajona/ final
Change the directory to final.
root@linuxhelp:/var/www/kajona# cd final/
List the contents in the final directory.
root@linuxhelp:/var/www/kajona/final# ll
total 64
drwxr-xr-x 7 root root 4096 Aug 10 2018 ./
drwxr-xr-x 3 root root 4096 May 18 22:14 ../
drwxr-xr-x 2 root root 4096 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 4096 Aug 10 2018 files/
-rw-r--r-- 1 root root 10319 Aug 10 2018 .htaccess
-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 4096 Aug 10 2018 project/
drwxr-xr-x 2 root root 4096 Aug 10 2018 templates/
-rw-r--r-- 1 root root 780 Aug 10 2018 xml.php
Assign the ownership permissions to the final directory.
root@linuxhelp:/var/www/kajona/final# chown -R www-data. ./
Assign writable permissions to the final directory.
root@linuxhelp:/var/www/kajona/final# chmod -R 775 ./
Customise the configuration file of Apache for Kajona CMS.
root@linuxhelp:/var/www/kajona/final# vim /etc/apache2/sites-available/kajona.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/kajona/final/
<directory /var/www/kajona/final/>
allowoverride all
allow from all
</directory>
</virtualhost>
Disable the default site access.
root@linuxhelp:/var/www/kajona/final# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the access for kajona site.
root@linuxhelp:/var/www/kajona/final# a2ensite kajona.conf
Enabling site kajona.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module.
root@linuxhelp:/var/www/kajona/final# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the service OF apache.
root@linuxhelp:/var/www/kajona/final# systemctl restart apache2
Open the browser and enter the servername in the url that had set inside the virtual hosting of Kajona CMS.