How to install Cotonti CMS on OpenSUSE Leap 42.3

To install Cotonti CMS on OpenSUSE Leap 42.3

Cotonti is open source Content Management System and Content Management Framework built based on PHP and MySQL. It possesses both the flexibity of web development framework and the featureset of a content manager with more focus on security, speed and flexibility. This tutorial explains the installation procedure of Cotonti CMS on OpenSUSE Leap 42.3. 


Pre- Requisite
    LAMP Stack (Use the following link, to know about the installation of LAMP.
        - Apache 
        - MariaDB
        - PHP 7

Install PHP along with the dependencies by executing the following command. 
zypper in php php-mysql php-gd php-mbstring php-common


Installation procedure

To proceed with the installation procedure, download the latest stable version using wget command followed by the download link. 

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

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

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

Extract the downloaded package in Apache document root by running the unzip command

linuxhelp:~ # unzip -d /srv/www/htdocs/
   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/  
  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/  
  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  

Move to the Apache document root by running the cd command and list the files. 

linuxhelp:~ # cd /srv/www/htdocs/
linuxhelp:/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

Provide the appropriate owner permission and file execution permission by executing the following command.  

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

Create an Apache Configuration named zen.conf and enter the following contents in the file. Save and exit the file.  

linuxhelp:/srv/www/htdocs # vim /etc/apache2/conf.d/zen.conf

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

Restart the Apache Service. 

linuxhelp:/srv/www/htdocs #systemctl restart apache

Switch to your browser and enter the URL as http://yourdomain/contonti/install.php. The installation wizard of Contonti appears on the screen. Select the Language and click Next


This window shows the summary of the configuration settings along with the file and folder permissions. 

configuration settings

Enter the required details to create a database and click Next

database settings

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

administrator account

Before starting the installation, the modules list shows the modules that will be installed along with Cotonti CMS. 


The installation is complete and now click the view the site option. 

installation completed

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

admin page


Remove the installation folder of Cotonti CMS by running the following rm command

linuxhelp:/srv/www/htdocs/contonti #rm –rf install.php

The dashboard of Cotonti CMS is shown as below. 


The list of modules in Cotonti CMS is displayed. 

Thus we conclude the installation procedure of Cotonti CMS on OpenSUSE Leap 42.3.

Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: OpenSUSE - Leap CMS tool
user image Author :  Jacob