How to Install Kajona CMS 6.2v on Ubuntu 18.10
Installation of Kajona CMS 6.2v On Ubuntu 18.10
Requirements:
LAMP Stack
PHP's version 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
Start the installation process by configuring 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 58
Server version: 10.1.29-MariaDB-6ubuntu2 Ubuntu 18.10
Copyright (c) 2000, 2017, 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.07 sec)
MariaDB [(none)]> use kajona;
Database changed
MariaDB [kajona]> create user kuser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.03 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.01 sec)
MariaDB [kajona]> exit
Bye
Once it is done, change the directory to Apache’s Document Root Directory.
root@linuxhelp:~# cd /var/www
And then, create a directory for Kajona CMS Under the Document root directory
root@linuxhelp:/var/www# mkdir kajona
After that change the directory to Kajona to download the Kajona CMS
root@linuxhelp:/var/www# cd kajona
You can download the Kajona CMS 6.2v using the link that follows wget command here below.
root@linuxhelp:/var/www/kajona# wget https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
--2019-05-02 22:06:06-- 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’
download.php?systemid=c1cda54 100%[==============================================>] 9.83M 485KB/s in 25s
2019-05-02 22:06:33 (410 KB/s) - ‘download.php?systemid=c1cda54593861f48d589’ saved [10308631/10308631]
After the downlaod, list the contents to check the downloaded file.
root@linuxhelp:/var/www/kajona# ll
total 10076
drwxr-xr-x 2 root root 4096 May 2 22:06 ./
drwxr-xr-x 4 root root 4096 May 2 22:05 ../
-rw-r--r-- 1 root root 10308631 May 2 22:05 'download.php?systemid=c1cda54593861f48d589'
Extract the downloaded file using unzip as follows
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/
.
.
.
.
.
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 2 22:07 ./
drwxr-xr-x 4 root root 4096 May 2 22:05 ../
-rw-r--r-- 1 root root 10308631 May 2 22:05 'download.php?systemid=c1cda54593861f48d589'
drwxr-xr-x 7 root root 4096 Aug 10 2018 kajona/
Once it is done, rename the newly created directory. Here it is renamed as final.
root@linuxhelp:/var/www/kajona# mv kajona/ final
You should also change the directory.
root@linuxhelp:/var/www/kajona# cd final
Once it is done, assign writable permissions to the Final directory you recently created.
root@linuxhelp:/var/www/kajona/final# chmod -R 775 ./
Also, assign ownership permissions to the final directory.
root@linuxhelp:/var/www/kajona/final# chown -R www-data. ./
Create a customised configuration file for Kajona CMS.
root@linuxhelp:/var/www/kajona/final# vim /etc/apache2/sites-available/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>
After that, disable the access for default sites.
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
You should then enable the Kajona CMS site.
root@linuxhelp:/var/www/kajona/final# a2ensite k.conf
Enabling site k.
To activate the new configuration, you need to run:
systemctl reload apache2
And also 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
After that restart the service oF Apache.
root@linuxhelp:/var/www/kajona/final# systemctl restart apache2
Open the browser and enter the server name that you had configured inside the virtual hosting of Kajona CMS k.conf
After checking the permissions of some files and availability of PHP modules, proceed further.
After Setting up database details that you have configured inside the MariaDB database, Click Save to config.php
Enroll the admin credentials and click on create an account.
To start the installation of Kajona CMS, click on Start Installation.
After the Successful Installation of Kajona CMS, Click on the backend to log into the admin’s Account.
Provide the login credentials of Kajona cms for admins account and the dashboard gets opened.
With this, the installation of Kajona CMS 6.2v on Ubuntu 18.10 comes to end.
Comments ( 0 )
No comments available