How to Install Kajona CMS on Linuxmint 19
How To Install Kajona CMS On Linuxmint 19
Requirements for Kajona CMS:
Apache
Mysql
Php and Its modules
Installation procedure
Check the Linuxmint version by using the following command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.26-0ubuntu0.18.04.1 (Ubuntu)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database kajonadb;
Query OK, 1 row affected (0.00 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.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> exit
Bye
Download the Kajona cms package by using wget command
root@linuxhelp:~# wget https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
--2019-08-02 11:38:45-- 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=c1cda 100%[=========================================>] 9.83M 205KB/s in 50s
2019-08-02 11:39:37 (203 KB/s) - ‘download.php?systemid=c1cda54593861f48d589’ saved [10308631/10308631]
After download is completed extract the download package using 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/image.php
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
Move the Kajona cms directory to apache root directory
root@linuxhelp:~# mv kajona /var/www/
Set the ownership and permission for the Kajona cms
root@linuxhelp:~# chown -R www-data.www-data /var/www/kajona
root@linuxhelp:~# chmod -R 755 /var/www/kajona
Create a new virtual host configuration for accessing the Kajona cms
root@linuxhelp:~# vim /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>
Disable default site access
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the site access for Kajona cms
root@linuxhelp:~# a2ensite kajona.conf
Enabling site kajona.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
After completing all the step restart the apache service by using the following command
root@linuxhelp:~# systemctl restart apache2
Once the above step is completed switch to browser and enter your domain name
WordPress
Craft CMS
Drupal
HubSpot Website Platform
etc...
Install PHP 7.2 And Related Modules
#vim /etc/hosts