How to Install Cotonti CMS on OpenSUSE Leap 42.3

Written by Santosh Prasad

Cotonti combines the flexibility of a web framework with the rapid deploy-ability and feature-set of a content management system. Despite having features such as user accounts, content creation, file management and community tools out of the box, it can be easily extended using modules or plugins.

In this tutorial I will show you how to install Cotonti CMS on OpenSUSE Leap 42.3.


  • LAMP Stack –  Install LAMP Stack
  • PHP Extension – php-mysql php-gd php-mbstring

Cotonti CMS Installation

First of all you have to download the latest stable version using wget command. Follow the below command to download Cotonti CMS.

# wget https://github.com/Cotonti/Cotonti/archive/master.zip
--2017-11-04 09:51:00-- https://github.com/Cotonti/Cotonti/archive/master.zip
Resolving github.com (github.com)...,
Connecting to github.com (github.com)||:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Cotonti/Cotonti/zip/master [following]
--2017-11-04 09:51:02-- https://codeload.github.com/Cotonti/Cotonti/zip/master
Resolving codeload.github.com (codeload.github.com)...,
Connecting to codeload.github.com (codeload.github.com)||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

[ <=> ] 3,555,810 787KB/s in 6.1s

2017-11-04 09:51:09 (571 KB/s) - ‘master.zip’ saved [3555810]

After downloaded now extract the download package in your Apache document root directory and unzip it.

# unzip master.zip -d /srv/www/htdocs/
Archive: master.zip
creating: /srv/www/htdocs/Cotonti-master/
inflating: /srv/www/htdocs/Cotonti-master/.gitattributes
inflating: /srv/www/htdocs/Cotonti-master/.gitignore
extracting: /srv/www/htdocs/Cotonti-master/.htaccess
inflating: /srv/www/htdocs/Cotonti-master/Install.txt
inflating: /srv/www/htdocs/Cotonti-master/License.txt
inflating: /srv/www/htdocs/Cotonti-master/README.md
inflating: /srv/www/htdocs/Cotonti-master/admin.php
extracting: /srv/www/htdocs/Cotonti-master/apple-touch-icon.png
creating: /srv/www/htdocs/Cotonti-master/datas/
inflating: /srv/www/htdocs/Cotonti-master/datas/.htaccess
inflating: /srv/www/htdocs/Cotonti-master/themes/symisun-03/symisun-03.ru.lang.php
inflating: /srv/www/htdocs/Cotonti-master/themes/symisun-03/users.details.tpl
inflating: /srv/www/htdocs/Cotonti-master/themes/symisun-03/users.edit.tpl
inflating: /srv/www/htdocs/Cotonti-master/themes/symisun-03/users.passrecover.tpl
inflating: /srv/www/htdocs/Cotonti-master/themes/symisun-03/users.profile.tpl
inflating: /srv/www/htdocs/Cotonti-master/themes/symisun-03/users.register.tpl
inflating: /srv/www/htdocs/Cotonti-master/themes/symisun-03/users.tpl
inflating: /srv/www/htdocs/Cotonti-master/themes/symisun-03/warnings.tpl

Now go to Apache document root directory with cd command and list the files.

# cd /srv/www/htdocs/
# ll
total 16
drwxr-xr-x 12 root root 4096 Aug 28 15:53 Cotonti-master
drwxrwxrwx 2 wwwrun www 4096 Oct 9 23:15 gif
-rwxrwxrwx 1 wwwrun www 2356 Mar 18 2017 info2html.css

Set the appropriate owner permission and file execution permission using below command.

# chown -R wwwrun:www /srv/www/htdocs/
# chmod -R 775 /srv/www/htdocs/

Now create an Apache configuration file named “vhost.conf” and add the following content in this file.

# vim /etc/apache2/conf.d/vhost.conf

<VirtualHost *:80>
DocumentRoot "/srv/www/htdocs"
ServerName cotonti.looklinux.com
<Directory "/srv/www/htdocs/">
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted

Note : I have create a subdomain to access Cotonti CMS. You can also use your main domain to access it like below :

# vim /etc/apache2/conf.d/vhost.conf

<VirtualHost *:80>
DocumentRoot "/srv/www/htdocs"
ServerName www.your_domain.com
<Directory "/srv/www/htdocs/">
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted

Restart Apache service.

#systemctl restart apache

Now go to your web browser and enter the below URL. In my case my URL is:


You will get installation wizard of Cotonti apears on the screen.


Select Language and click on “Next“.

Next screen will show you the summary of the configuration setting along with file and permission.


To create database enter the required details and click Next.


Next enter the required details for miscellaneous settings and administrator accounts. Click the Install option to begin with the installation procedure.


Now it will list all modules that will be install along with Cotonti CMS.


Installation has been completed now click on “View the site“.


The Cotonti CMS admin page is now displayed on the screen. The CMS prompts the user to remove the installation folder from the system.


Run the below command to remove the installation folder of Cotonti CMS.

# rm –rf install.php

Cotonti CMS Dashboard


Cotonti CMS Modules List


Thank you! for visiting Look Linux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author


Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment