How to Install Cotonti 0.9.19 On CentOS 7.5
- 00:47 rpm -q centos-release
- 01:06 mysql -u root -p
- 02:23 wget https://github.com/Cotonti/Cotonti/archive/0.9.19.zip
- 02:44 unzip 0.9.19.zip
- 02:57 mv Cotonti-0.9.19 /var/www/cotonti
- 03:11 chown -R apache:apache /var/www/cotonti
- 03:26 chmod -R 755 /var/www/cotonti
- 03:40 vim /etc/httpd/conf.d/cotonti.conf
- 04:30 systemctl restart httpd
Installation Of Cotonti Cms 0.9.19 On Centos 7.5
Requirements for cotonti cms:
Apache
mariadb
PHP 5.6 and its modules
( php php-gd php-curl php-zip php-soap php-mbstring php-mcrypt php-xml php-pdo php-mysql)
Installation procedure
You need to configure the LAMP setup For the Installation of Cotonti CMS If you dont have the Lamp setup Refer Here
Check the centos version by using the following command
[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-5.1804.el7.centos.x86_64
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 MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
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 cotonti;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'cotouser'@localhost identified by '123456';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all privileges on cotonti.* to 'cotouser'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> Ctrl-C -- exit!
Aborted
Once the database configuration is done, Download the cotonti cms with the help of the following command.
[root@linuxhelp ~]# wget https://github.com/Cotonti/Cotonti/archive/0.9.19.zip
--2019-04-22 15:10:44-- https://github.com/Cotonti/Cotonti/archive/0.9.19.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Cotonti/Cotonti/zip/0.9.19 [following]
--2019-04-22 15:10:46-- https://codeload.github.com/Cotonti/Cotonti/zip/0.9.19
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘0.9.19.zip’
[ <=> ] 3,548,667 578KB/s in 7.6s
2019-04-22 15:10:54 (453 KB/s) - ‘0.9.19.zip’ saved [3548667]
Once the download is completed extract the downloaded package by using unzip command
[root@linuxhelp ~]# unzip 0.9.19.zip
Archive: 0.9.19.zip
79bf592175f89fd8e537671169fe70fd3a34fe9c
creating: Cotonti-0.9.19/
inflating: Cotonti-0.9.19/.gitattributes
inflating: Cotonti-0.9.19/.gitignore
extracting: Cotonti-0.9.19/.htaccess
inflating: Cotonti-0.9.19/Install.txt
inflating: Cotonti-0.9.19/License.txt
inflating: Cotonti-0.9.19/README.md
inflating: Cotonti-0.9.19/admin.php
extracting: Cotonti-0.9.19/apple-touch-icon.png
creating: Cotonti-0.9.19/datas/
.
.
.
inflating: Cotonti-0.9.19/themes/symisun-03/users.details.tpl
inflating: Cotonti-0.9.19/themes/symisun-03/users.edit.tpl
inflating: Cotonti-0.9.19/themes/symisun-03/users.passrecover.tpl
inflating: Cotonti-0.9.19/themes/symisun-03/users.profile.tpl
inflating: Cotonti-0.9.19/themes/symisun-03/users.register.tpl
inflating: Cotonti-0.9.19/themes/symisun-03/users.tpl
inflating: Cotonti-0.9.19/themes/symisun-03/warnings.tpl
Move the cotonti cms directory to apache root directory
[root@linuxhelp ~]# mv Cotonti-0.9.19 /var/www/cotonti
Set the ownership and permission for cotonti cms by using the following command
[root@linuxhelp ~]# chown -R apache:apache /var/www/cotonti
[root@linuxhelp ~]# chmod -R 755 /var/www/cotonti
Configure the virtualhost for accesing the cotonti cms
[root@linuxhelp ~]# vim /etc/httpd/conf.d/cotonti.conf
Restart the apache service by using the following command
[root@linuxhelp ~]# systemctl restart httpd
Switch to your browser and enter the domain name
The Cotonti Web Installer appears on your screen. select the required language
Check the configuration file and click next
Enter the database information in the appropriate fields. Click Next once it is done.
Enter the administrative account information and click Next.
Select the Modules and Plugins that you need and click Finish.
The installation is now completed. Click the view to site
Click login at the bottom and enter the login details.
This is the cotonti cms Administration Panel.
With this, the installation of Cotonti CMS 0.9.19 on centos 7.5 comes to an end.
Comments ( 0 )
No comments available