How to install Cotonti CMS on Linux mint 18.03

To install Cotonti CMS on Linux mint 18.03

Cotonti is open source Content Management System and Content Management Framework built based on PHP and MySQL. It is the flexibility of the 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 Linux mint-18.03.

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-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 by using wget command.

linuxhelp ~ # wget https://codeload.github.com/Cotonti/Cotonti/zip/0.9.19
\--2018-08-29 14:41:37--  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’
0.9.19                        \[                    <=>              \]   3.38M   928KB/s    in 4.7s    
2018-08-29 14:41:43 (741 KB/s) - ‘0.9.19’ saved \[3548667\]

After Downloading extract the downloaded package

linuxhelp ~ # 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/admin.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

Change ownership and permission of the as Cotonti follows

linuxhelp ~ # ls
0.9.19  Cotonti-0.9.19
linuxhelp ~ # chown -R www-data:www-data Cotonti-0.9.19
linuxhelp ~ # chmod -R 775 Cotonti-0.9.19/

Move the extracted file into the HTML directory

linuxhelp ~ # mv Cotonti-0.9.19/ /var/www/html/

Create a new virtual host configuration for accessing the Cotonti

linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim cotonti.conf
 ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/Cotonti-0.9.19/
 AllowOverride All
Allow from all 

Enable site access

linuxhelp sites-available # a2ensite cotonti.conf 
Enabling site cotonti.
To activate the new configuration, you need to run:
  service apache2 reload

Entry to the host file.

linuxhelp sites-available #vim /etc/hosts

Restart the apache service to make the changes effect

linuxhelp sites-available # systemctl restart apache2

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://

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

You will see the Homepage of Cotonti as 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

With this, the method to install Cotonti CMS 0.9 on Linux mint 18.03 comes to an end.

FAQ
Q
What are the extensions available in Contonti CMS?
A
Visit https://www.cotonti.com/extensions/ to view the extensions enabled in Contonti CMS.
Q
Is there any option for formatting date and timezone in Contonti CMS?
A
Yes, in short you can change the format of Date and Timezone for more details visit https://www.cotonti.com/docs/help/dateformatting
Q
How can I debug in Contonti CMS?
A
For more info about the debugging level of Contonti CMS visit https://www.cotonti.com/docs/devel/debugging
Q
Does this Contonti CMS support Live stream play?
A
Contonti CMS does provide Live stream play for files and media for more details visit https://www.cotonti.com/extensions/files-media/live-stream--jw-player
Q
What is Cotonti CMS?
A
Cotonti is an open source Content Management System and Content Management Framework built based on PHP and MySQL. It is the flexibility of the web development framework and also the feature set of a content manager with more focus on security, speed, and flexibility.