How to Install Kajona CMS 6.2 Version Using LEMP on CentOS 7.6
Installation of kajona CMS 6.2v On CentOS 7.6 Using LEMP
irements:
LEMP Stack
Nginx 1.17.0
MariaDB 10.3
PHP 7.2
Note :
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
Installation Procedure:
Change the directory to Nginx Docuemnt root directory [root@linuxhelp ~]# cd /usr/share/nginx/html
Download the kajona cms using wget as follows
[root@linuxhelp html]# wget https://www.kajona.de/download.php?systemid=c1cda54593861f48d589
--2019-06-25 18:58:45-- 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 131KB/s in 68s
2019-06-25 18:59:56 (147 KB/s) - ‘download.php?systemid=c1cda54593861f48d589’ saved [10308631/10308631]
View the downloaded file of kajona cms
[root@linuxhelp html]# ll
total 10080
-rw-r--r-- 1 root root 494 May 21 20:27 50x.html
-rw-r--r-- 1 root root 10308631 Jun 25 18:58 download.php?systemid=c1cda54593861f48d589
-rw-r--r-- 1 root root 612 May 21 20:27 index.html
-rw-r--r-- 1 root root 20 Jun 14 23:47 info.php
Extract the zip file of kajona cms
[root@linuxhelp html]# 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/
.
.
.
.
.
.
.
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
List the contents to view the extarcted directory of Kajona cms
[root@linuxhelp html]# ll
total 10080
-rw-r--r-- 1 root root 494 May 21 20:27 50x.html
-rw-r--r-- 1 root root 10308631 Jun 25 18:58 download.php?systemid=c1cda54593861f48d589
-rw-r--r-- 1 root root 612 May 21 20:27 index.html
-rw-r--r-- 1 root root 20 Jun 14 23:47 info.php
drwxr-xr-x 7 root root 202 Aug 10 2018 kajona
Assign ownership and Writable permissions to the kajona directory
[root@linuxhelp html]# chown -R nginx. kajona/
[root@linuxhelp html]# chmod -R 775 kajona/
Change the directory to kajona
[root@linuxhelp html]# cd kajona
Verify the permissions assigned to the kajona directory
[root@linuxhelp kajona]# ll
total 28
drwxrwxr-x 2 nginx nginx 24 Aug 10 2018 admin
drwxrwxr-x 2 nginx nginx 4096 Aug 10 2018 core
-rwxrwxr-x 1 nginx nginx 1080 Aug 10 2018 download.php
-rwxrwxr-x 1 nginx nginx 2238 Aug 10 2018 favicon.ico
drwxrwxr-x 7 nginx nginx 96 Aug 10 2018 files
-rwxrwxr-x 1 nginx nginx 897 Aug 10 2018 image.php
-rwxrwxr-x 1 nginx nginx 897 Aug 10 2018 index.php
-rwxrwxr-x 1 nginx nginx 964 Aug 10 2018 installer.php
drwxrwxr-x 6 nginx nginx 105 Aug 10 2018 project
drwxrwxr-x 2 nginx nginx 41 Aug 10 2018 templates
-rwxrwxr-x 1 nginx nginx 780 Aug 10 2018 xml.php
Change the directory to Nginx configuration file
[root@linuxhelp kajona]# cd /etc/nginx/conf.d/
Create a virtual host for kajona cms
[root@linuxhelp conf.d]# vim kajona.conf
server {
listen 80;
server_name www.linuxhelp1.com
root /usr/share/nginx/html/kajona/;
index index.php index.html;
location ~* \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
}
Log in to the MariaDB database using the root password to configure for kajona cms
[root@linuxhelp conf.d]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 19
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]> grant all on kajona.* to kuser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.06 sec)
MariaDB [kajona]> flush privileges;
Query OK, 0 rows affected (0.02 sec)
MariaDB [kajona]> exit
Bye
Restart the service of php-fpm
[root@linuxhelp conf.d]# systemctl restart php-fpm
Test the configuration file of nginx
[root@linuxhelp conf.d]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Restart the service of Kajona
root@linuxhelp conf.d]# systemctl restart nginx
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
Click on the frontend link to view the portal
Website Linuxhelp1.com appears on the browser
Thus,Installation Of Kajona CMS 6.2v On CentOS 7.6 Using LEMP Stack comes to end here
Comments ( 0 )
No comments available