How to install CMS Made simple in Ubuntu

How to install CMS Made Simple in Ubuntu

CMS Made Simple is an open source content management system which is based on PHP and MySQL. You can create a professional web site and manage its content without any hassles of the user knowing the pure programming level to maintain the website accordingly. Before installing CMS Made simple, you need to have lamp server installed in your system.

To install CMS Made Simple

Download the installation package

root@linuxhelp:/home/user1/Desktop# wget http://s3.amazonaws.com/cmsms/downloads/12093/cmsmadesimple-1.11.11-full.tar.gz
--2017-01-03 04:07:40--  http://s3.amazonaws.com/cmsms/downloads/12093/cmsmadesimple-1.11.11-full.tar.gz
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.216.64.195
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.216.64.195|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5298027 (5.1M) [application/x-gzip]
Saving to: ‘ cmsmadesimple-1.11.11-full.tar.gz’ 
100%[===================================================================================================================================================================> ] 52,98,027    258KB/s   in 26s   
2017-01-03 04:08:07 (197 KB/s) - ‘ cmsmadesimple-1.11.11-full.tar.gz’  saved [5298027/5298027]

Now create cms made simple directory in document root directory.

root@linuxhelp:/home/user1/Desktop# mkdir /var/www/html/cms-made-simple

Now extract the package to the newly created directory

root@linuxhelp:/home/user1/Desktop# tar -xvf cmsmadesimple-1.11.11-full.tar.gz -C /var/www/html/cms-made-simple/
./lib/adodb.functions.php
./lib/.htaccess
./lib/autoloader.php
./lib/adodb_lite/
&hellip 
&hellip 
./install/images/7.gif
./install/images/2off.gif
./install/images/3.gif
./install/images/4.gif

Create database for CMS Made simple

root@linuxhelp:/home/user1/Desktop# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with   or g.
Your MySQL connection id is 48
Server version: 5.5.53-0ubuntu0.14.04.1 (Ubuntu)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.
mysql>  CREATE DATABASE cmsmsdb 
Query OK, 1 row affected (0.00 sec)
mysql>  GRANT ALL PRIVILEGES ON cmsmsdb.* TO ' cmsmsuser' @' localhost'  IDENTIFIED BY ' password'  WITH GRANT OPTION 
Query OK, 0 rows affected (0.00 sec)
mysql>  FLUSH PRIVILEGES 
Query OK, 0 rows affected (0.00 sec)
mysql>  exit

Create a new virtual host directive in Apache.

root@linuxhelp:/home/user1/Desktop# nano /etc/apache2/sites-available/cmsms.conf

Add the following lines to the file

VirtualHost *:80> 
ServerAdmin admin@your-domain.com
DocumentRoot /var/www/cms-made-simple/
ServerName linuxhelp
ServerAlias www.your-domain.com
< Directory /var/www/cms-made-simple/> 
    Options FollowSymLinks Indexes MultiViews
    AllowOverride All
< /Directory> 
    ErrorLog logs/error_log
    CustomLog logs/access_log common
< /VirtualHost> 

Create symbolic link for the configuration file.

root@linuxhelp:/home/user1/Desktop# ln -s /etc/apache2/sites-available/cmsms.conf /etc/apache2/sites-enabled/cmsms.conf

Edit the ‘ /etc/php5/apache2/php.ini’ PHP configuration file.

root@linuxhelp:/home/user1/Desktop# nano /etc/php5/apache2/php.ini

Change the values for the following options.

max_execution_time = 120
upload_max_filesize = 10M
post_max_size = 10M

Restart the apache web server.

root@linuxhelp:/home/user1/Desktop# service apache2 restart
 * Restarting web server apache2

Change ownership for the cms-made-simple directory.

root@linuxhelp:/home/user1/Desktop# chown www-data:www-data -R /var/www/html/cms-made-simple/

Open the web browser and navigate to http://[ip_address]/cms-made-simple/install/

Installation page appears.

Checking permissions and php settings.

Enter the admin information

Enter the database information

Installation completed

Admin panel

FAQ
Q
where to edit the php file to hosting the web pages?
A
use the below command to edit the php file
# nano /etc/php5/apache2/php.ini
Q
which permission need to give for newly created http config file?
A
execute the below command for permission
# chown www-data:www-data -R /var/www/html/cms-made-simple/
Q
which command to login the mysql database in ubuntu?
A
run the below command to login the mysql database
# mysql -u root -p
Q
how to download CMS made in ubuntu terminal?
A
you can download the CMS by following command
# wget http://s3.amazonaws.com/cmsms/downloads/12093/cmsmadesimple-1.11.11-full.tar.gz
Q
what is the use of install CMS Made simple in Ubuntu?
A
CMS Made Simple is an open source content management system which is based on PHP and MySQL. You can create a professional web site and manage its content without any hassles of the user knowing the pure programming level to maintain the website accordingly.