How to Install Cotonti 0.9.19 on Ubuntu 18.10
- 00:43 lsb_release -a
- 00:59 mysql -u root -p
- 02:16 wget https://github.com/Cotonti/Cotonti/archive/master.zip
- 02:35 unzip master.zip
- 02:45 mv Cotonti-master /var/www/cotonti
- 02:58 chown -R www-data.www-data /var/www/cotonti
- 03:13 chmod -R 755 /var/www/cotonti
- 03:28 vim /etc/apache2/sites-available/cotonti.conf
- 04:20 a2dissite 000-default.conf
- 04:34 a2ensite cotonti.conf
- 04:45 a2enmod rewrite
- 04:55 systemctl restart apache2
How to install cotonti cms 0.9.19 on Ubuntu 18.10
Requirements for cotonti cms:
Apache
Mysql
Php 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 zimplit CMS If you dont have the Lamp setup Refer Here
Check the Ubuntu version by using the following commad
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
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 2
Server version: 5.7.25-0ubuntu0.18.10.2 (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 cotonti;
Query OK, 1 row affected (0.05 sec)
mysql> create user 'cotontiuser'@localhost identified by '123456';
Query OK, 0 rows affected (0.42 sec)
mysql> grant all privileges on cotonti.* to 'cotontiuser'@localhost;
Query OK, 0 rows affected (0.02 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.13 sec)
mysql> exit
Bye
Once the database configuration is done, you shall download the cotonti cms with the help of the following command.
root@linuxhelp:~# wget https://github.com/Cotonti/Cotonti/archive/master.zip
--2019-04-25 18:36:07-- https://github.com/Cotonti/Cotonti/archive/master.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Cotonti/Cotonti/zip/master [following]
--2019-04-25 18:36:08-- https://codeload.github.com/Cotonti/Cotonti/zip/master
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: ‘master.zip’
master.zip [ <=> ] 3.40M 914KB/s in 4.3s
2019-04-25 18:36:14 (806 KB/s) - ‘master.zip’ saved [3569245]
Once the download is completed extract the download package using unzip command
root@linuxhelp:~# unzip master.zip
Archive: master.zip
32c83d42f1f937d0c253e8b8a2119fcba515003f
creating: Cotonti-master/
inflating: Cotonti-master/.gitattributes
inflating: Cotonti-master/.gitignore
extracting: Cotonti-master/.htaccess
inflating: Cotonti-master/Install.txt
inflating: Cotonti-master/License.txt
inflating: Cotonti-master/README.md
.
.
.
inflating: Cotonti-master/themes/symisun-03/users.details.tpl
inflating: Cotonti-master/themes/symisun-03/users.edit.tpl
inflating: Cotonti-master/themes/symisun-03/users.passrecover.tpl
inflating: Cotonti-master/themes/symisun-03/users.profile.tpl
inflating: Cotonti-master/themes/symisun-03/users.register.tpl
inflating: Cotonti-master/themes/symisun-03/users.tpl
inflating: Cotonti-master/themes/symisun-03/warnings.tpl
Move the cotonti cms directory to apache root directory
root@linuxhelp:~# mv Cotonti-master /var/www/cotonti
Set the ownership and permission for cotonti cms by using the following command
root@linuxhelp:~# chown -R www-data.www-data /var/www/cotonti
root@linuxhelp:~# chmod -R 755 /var/www/cotonti
Configure the virtualhost for accesing the cotonti cms
root@linuxhelp:~# vim /etc/apache2/sites-available/cotonti.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
documentroot /var/www/cotonti
</Virtualhost>
Disable the 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 cotonti cms
root@linuxhelp:~# a2ensite cotonti.conf
Enabling site cotonti.
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
Restart the apache service by using the following command
root@linuxhelp:~# systemctl restart apache2
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 Ubuntu 18.10 comes to an end.
Comments ( 0 )
No comments available