• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install Cotonti CMS – 0.9.19 on Ubuntu – 17.04

2606

To install Cotonti CMS 0.9.19 on Ubuntu 17.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. It is simple to install Cotonti CMS and in this tutorial, you will learn about the method to install Cotonti CMS on Ubuntu 17.04

Prerequisites

Cotonti CMS requires a webserver to functionally based on LAMP setup on your system and also with following required PHP modules.
apt-get install php-mysql php-curl php-json php-cgi php libapache2-mod-php php-mcrypt php-xmlrpc php-gd php-mbstring php php-common php-xmlrpc php-soap php-xml php-intl php-cli php-ldap php-zip php-readline php-imap php-tidy php-recode php-sqlite3 php-xdebug php-gettext php-dev php-pear php-memcache php-memcached php-bz2

Installing Cotonti CMS
Let' s start with updating the system repositories by making use of the following command.

root@linuxhelp1:~# apt-get update
Hit:1 http://old-releases.ubuntu.com/ubuntu zesty InRelease
Hit:2 http://old-releases.ubuntu.com/ubuntu zesty-updates InRelease
Hit:3 http://old-releases.ubuntu.com/ubuntu zesty-backports InRelease
Hit:4 http://old-releases.ubuntu.com/ubuntu zesty-security InRelease
Reading package lists... Done

Now create a Database for the Cotonti and make the following configuration in it.

root@linuxhelp1:~# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with   or g.
Your MariaDB connection id is 10
Server version: 10.1.25-MariaDB- Ubuntu 17.04

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

MariaDB [(none)]>  create database cotonti 
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]>  grant all privileges on cotonti.* to ' cotonuser' @' localhost'  identified by ' 123'  
Query OK, 0 rows affected (0.03 sec)

MariaDB [(none)]>  flush privileges 
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>  exit 
Bye

Navigate to any local Directory and download the cotonti package.

root@linuxhelp1:~# cd /tmp/

Download the package from the terminal using the wget command.

root@linuxhelp1:/tmp# wget https://github.com/Cotonti/Cotonti/archive/master.zip
--2018-04-02 05:40:48--  https://github.com/Cotonti/Cotonti/archive/master.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Cotonti/Cotonti/zip/master [following]
--2018-04-02 05:40:50--  https://codeload.github.com/Cotonti/Cotonti/zip/master
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: ‘ master.zip’ 

master.zip                  [  < =>                           ]   3.40M   617KB/s    in 13s     

2018-04-02 05:41:06 (271 KB/s) - ‘ master.zip’  saved [3568937]

After downloading unzip the package as follows.

root@linuxhelp1:/tmp# unzip master.zip 
Archive:  master.zip
cecfb7cff9d9d4ea106bf7038933b5e51ba3742a
   creating: Cotonti-master/
  inflating: Cotonti-master/.gitattributes  
  inflating: Cotonti-master/.gitignore  
 extracting: Cotonti-master/.htaccess  
  inflating: Cotonti-master/Install.txt  
  inflating: Cotonti-master/License.txt  
  inflating: Cotonti-master/README.md  
.
.
  inflating: Cotonti-master/themes/symisun-03/symisun-03.rc.php  
  inflating: Cotonti-master/themes/symisun-03/symisun-03.readme.txt  
  inflating: Cotonti-master/themes/symisun-03/symisun-03.ru.lang.php  
  inflating: Cotonti-master/themes/symisun-03/users.details.tpl  
  inflating: Cotonti-master/themes/symisun-03/users.edit.tpl  
  inflating: Cotonti-master/themes/symisun-03/users.passrecover.tpl  
  inflating: Cotonti-master/themes/symisun-03/users.profile.tpl  
  inflating: Cotonti-master/themes/symisun-03/users.register.tpl  
  inflating: Cotonti-master/themes/symisun-03/users.tpl  
  inflating: Cotonti-master/themes/symisun-03/warnings.tpl

Let' s move the extracted package to the apache root directory in the following manner.

root@linuxhelp1:/tmp# mv Cotonti-master /var/www/cotonti

Now switch to apache root directory

root@linuxhelp1:/tmp# cd /var/www/

And change the ownership and permission of the files by using the following commands.

root@linuxhelp1:/var/www# chown -R www-data.www-data contonti
root@linuxhelp1:/var/www# chmod -R 775 contonti

After assigning the permissions, we are going to create a virtual host configuration

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/cotonti.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/cotonti/

< Directory /var/www/cotonti/> 
AllowOverride All
allow from all
< /Directory>  

< /VirtualHost> 

Save and quit the virtual host file and enable the site as follows.

root@linuxhelp1:/var/www# a2ensite cotonti.conf
Enabling site cotonti.
To activate the new configuration, you need to run:
  systemctl reload apache2

After that enable the rewrite module in the following manner.

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Now disable the default site access of apache.

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Finally, restart the apache2 service to make the changes effect

root@linuxhelp1:/var/www# systemctl restart apache2

Continue the post-installation procedure through the browser. open the browser and navigate the following URL : http://< ip-address> or domain name.
browser

You can start the installation by choosing the installation Langauge and click Next.
select_language

Now verify the web server configuration and make the changes based on your preference.
webserver_info

After web server configuration make the database configuration and click on Next.
database_configure

Configure admin account settings and enter details and proceed to install.
admin_account

And then, choose and install the necessary modules of your preference.
show_modules


show_mod

After the installation completes, a message will display along with security warnings and risk if any arises.
security_warning

The post-installation requires the removal of PHP file and few permission changes for security purposes. So make sure you remove them.

root@linuxhelp1:/var/www/cotonti# rm -rf install.php

Switch to the directory and change permission.

root@linuxhelp1:/var/www/cotonti# cd datas/
root@linuxhelp1:/var/www/cotonti/datas# chmod 644 config.php

Finally, restart the apache to make the changes effect.

root@linuxhelp1:/var/www/cotonti/datas # systemctl restart apache2

And then open the Cotonti site now.
coctonti_site

For admin login navigate to the bottom and click login.
login

Log in with the Admin credentials.
admin_login

If you want to open an Administration page and click Administration panel.
admin_panel

This is the admin panel area where you can make changes as an admin.
admin_panel_open

With this, the method to install Cotonti CMS &ndash 0.9.19 on Ubuntu &ndash 17.04 comes to an end.

Tags:
owen
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

Where I have to download the extension for the Cotonti CMS?

A

Use the following link to get download the extension for the Cotonti CMS as follow "https://www.cotonti.com/extensions/"

Q

how to create error and access log in Cotonti CMS virtual host configuration?

A

Add the following line into the Cotonti CMS virtualhost configuration file as follow,
"Errorlog /var/log/linuxhelp/error_log
"customlog /var/log/linuxhelp/access_log"

Q

Which PHP version will support the Cotonti CMS?

A

the php 5.3 to 7.2 version will support the Cotonti CMS.

Q

What is the alternative tool for the Cotonti CMS?

A

The following tool is alternative for Cotonti CMS is given below,
SilverStripe,
Wordpress,
Joomla,
etc.,

Q

If its possible to install Cotonti CMS on Windows?

A

Yes, the Cotonti CMS application is can also installed on Windows.

Related Tutorials in How to install Cotonti CMS – 0.9.19 on Ubuntu – 17.04

Related Tutorials in How to install Cotonti CMS – 0.9.19 on Ubuntu – 17.04

How to install Meld tool in Ubuntu
How to install Meld tool in Ubuntu
Feb 25, 2017
How to install Dconf-Editor on Ubuntu 18.04
How to install Dconf-Editor on Ubuntu 18.04
Jul 14, 2018
How to install and update OpenSSL on Ubuntu 16.04
How to install and update OpenSSL on Ubuntu 16.04
Mar 9, 2017
How to install GLib 2.0 on Ubuntu 17.04
How to install GLib 2.0 on Ubuntu 17.04
May 22, 2017
How to Install Android Emulator on Ubuntu 20.4.1
How to Install Android Emulator on Ubuntu 20.4.1
Jul 13, 2021
How To Install AnyDesk on Ubuntu 16.04
How To Install AnyDesk on Ubuntu 16.04
Apr 4, 2018
How to install Genymotion 2.12.1 on Ubuntu 18.04
How to install Genymotion 2.12.1 on Ubuntu 18.04
Jul 9, 2018
How to install Timeshift 18.4 on Ubuntu 18.04
How to install Timeshift 18.4 on Ubuntu 18.04
Jul 6, 2018

Related Forums in How to install Cotonti CMS – 0.9.19 on Ubuntu – 17.04

Related Forums in How to install Cotonti CMS – 0.9.19 on Ubuntu – 17.04

Ubuntu
matthew class=
Failed to enable unit: Refusing to operate on linked unit file sshd.service
Apr 15, 2019
Ubuntu
mason class=
Passwd: You may not view or modify password information for root On Ubuntu 19.04
May 27, 2019
Ubuntu
isaac class=
/etc/apt/sources.list Permission denied
May 18, 2017
Ubuntu
yousuf class=
lsb_release command not working : Debian
Jan 18, 2018
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Ubuntu
mason class=
"E: Package 'php-mcrypt' has no installation candidate" error on Ubuntu 20.4.1
Mar 15, 2021
NFS
luke class=
clnt_create: RPC: Program not registered
Apr 25, 2017
Apache
isaac class=
How to disable apache welcome page on Ubuntu
Dec 15, 2018

Related News in How to install Cotonti CMS – 0.9.19 on Ubuntu – 17.04

Related News in How to install Cotonti CMS – 0.9.19 on Ubuntu – 17.04

How To Install Mixxx on Ubuntu 16.04
How To Install Mixxx on Ubuntu 16.04
Oct 11, 2017
Ubuntu 17.04 released with greater expectations
Ubuntu 17.04 released with greater expectations
Apr 15, 2017
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Mar 1, 2017
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Sep 2, 2017
Ubuntu Unity is no more: One Linux dream has been axed
Ubuntu Unity is no more: One Linux dream has been axed
Apr 7, 2017
What’s next for Ubuntu Linux Desktop?
What’s next for Ubuntu Linux Desktop?
Apr 11, 2017
Say Hi to Ubuntu's new mascot
Say Hi to Ubuntu's new mascot
Mar 22, 2019
KDE Connect App was removed from Google Play Store and brought back in 24 hours
KDE Connect App was removed from Google Play Store and brought back in 24 hours
Mar 22, 2019
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.