How to install Cotonti CMS 0.9 on Ubuntu 18.04
To install Cotonti CMS 0.9 on Ubuntu 18.04
Cotonti is open source Content Management System and Content Management Framework built based on PHP and MySQL. It possesses both the flexibility of web development framework and also the feature set of a content manager with more focus on security, speed, and flexibility. In this tutorial, we will cover the installation of Cotonti CMS on Ubuntu 18.04.
Prerequisites
Install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )
Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc
php7.0-gd php7.0-mbstring php7.0 php7.0-common php7.0-xmlrpc php7.0-soap php7.0-xml php7.0-intl php7.0-cli php7.0-ldap
php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl
Installation
Download a Cotonti package using the following URL
root@linuxhelp1:~# wget https://codeload.github.com/Cotonti/Cotonti/zip/0.9.19
--2018-08-29 02:10:54-- https://codeload.github.com/Cotonti/Cotonti/zip/0.9.19
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘;0.9.19’;
0.9.19 [ <=> ] 3.38M 910KB/s in 4.3s
2018-08-29 00:44:00 (805 KB/s) - ‘;0.9.19’; saved [3548667]
After Downloading extract the downloaded package
root@linuxhelp1:~# unzip 0.9.19
Archive: 0.9.19
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/themes/symisun-03/symisun-03.rc.php
inflating: Cotonti-0.9.19/themes/symisun-03/symisun-03.readme.txt
inflating: Cotonti-0.9.19/themes/symisun-03/symisun-03.ru.lang.php
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 extracted file into the HTML directory
root@linuxhelp1:~# mv Cotonti-0.9.19 /var/www/
Navigate to the apache document root directory
root@linuxhelp1:~# cd /var/www/
Change ownership and permission of the as Cotonti follows
root@linuxhelp1:/var/www# chown -R www-data.www-data Cotonti-0.9.19/
root@linuxhelp1:/var/www# chmod -R 775 Cotonti-0.9.19
Create a new virtual host configuration for accessing the Cotonti
root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/cotonti.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/Cotonti-0.9.19/
<Directory /var/www/Cotonti-0.9.19/>
AllowOverride All
Allow from all
</Directory>
</VirtualHost>
Enable site access
root@linuxhelp1:/var/www# a2ensite cotonti.conf
Enabling site cotonti.
To activate the new configuration, you need to run:
systemctl reload apache2
Disable default access
root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable rewrite module
root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the apache service to make the changes effect
root@linuxhelp1:/var/www# systemctl restart apache2
Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name
Choose the language for using Cotonti as shown below
Verify the compatibility for installing Cotonti
Configure the Database setup as follows
Configure the Admin user setup as follow
Choose the Modules, Plugins and other Utilities
After the configuration, you will see the following page as shown below
Access the Home page from the options shown below
You will see the Homepage of Cotonti as shown below
Access the login page from the options shown below
You can log in using the admin user credentials
After the Successful login, you will see the Admin dashboard of Cotonti as shown below
Access the Administration panel from the options shown below
You will see the version of Cotonti
With this, the method to install Cotonti CMS 0.9 on Ubuntu 18.04 comes to an end.
Comments ( 0 )
No comments available