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.
LAMP Stack (Use the following link, to know about the installation of LAMP. https://www.linuxhelp.com/how-to-install-and-configure-lamp-in-open-suse-leap/)
- PHP 7
Install PHP along with the dependencies by executing the following command.
zypper in php php-mysql php-gd php-mbstring php-common
To proceed with the installation procedure, download the latest stable version using wget command followed by the download link.
linuxhelp:~ # 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)... 18.104.22.168, 22.214.171.124 Connecting to github.com (github.com)|126.96.36.199|: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)... 188.8.131.52, 184.108.40.206 Connecting to codeload.github.com (codeload.github.com)|220.127.116.11|: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 
Extract the downloaded package in Apache document root by running the unzip command.
linuxhelp:~ # unzip master.zip -d /srv/www/htdocs/ Archive: master.zip 9ac62ca287b41306103eb28c12a59a29fc5d07d4 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
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" ServerName www.linuxhelp1.com <Directory "/srv/www/htdocs/"> DirectoryIndex index.php Options FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>
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.
Enter the required details to create a database and click Next.
Next enter the required details for miscellaneous settings and administrator accounts. Click the Install option to begin with the installation procedure.
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.
The Cotonti CMS admin page is now displayed on the screen. The CMS prompts the user to remove the installation folder from the system.
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
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.