{"id":4184,"date":"2018-05-28T20:33:57","date_gmt":"2018-05-28T16:33:57","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/ubuntu-cms-made-simple\/"},"modified":"2018-05-28T20:33:57","modified_gmt":"2018-05-28T16:33:57","slug":"how-to-install-cms-made-simple-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Install CMS Made Simple on Ubuntu 18.04 LTS"},"content":{"rendered":"<p>CMS Made Simple is a free and open source content management system written in PHP and uses MySQL to store their data. CMS Made Simple is a popular and high performance content management system to manage your websites or blogs. CMS Made Simple provides beautiful and easy to use admin section for theme, template, and stylesheet development. You can easily maintain and update your site quickly and easily from anywhere with a web connection. If you are looking for WordPress alternative, then CMS Made Simple is best choice for you.<\/p>\n<p>In this tutorial, we will learn how to install CMS Made Simple on Ubuntu 18.04.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>A server running Ubuntu 18.04.<\/li>\n<li>A non-root user with sudo privileges.<\/li>\n<\/ul>\n<h2 id=\"install-lamp-server\">Install LAMP Server<\/h2>\n<p>CMS Made Simple is runs on web server, written in PHP and uses MySQL as a database, so you will need to install LAMP server to your server. First, install Apache and MariaDB server by running the following command:<\/p>\n<p class=\"command\">sudo apt-get install apache2 mariadb-server -y<\/p>\n<p>By default, the latest version of the PHP is not available in Ubuntu 18.04, so you will need to add the repository for that. You can add it with the following command:&lt;?p&gt;<\/p>\n<p class=\"command\">sudo apt-get install python-software-properties -y<br \/>sudo add-apt-repository -y ppa:ondrej\/php<\/p>\n<p>Once the repository is updated, you can install PHP and other libraries with the following command:<\/p>\n<p class=\"command\">sudo apt-get install apache2 mariadb-server libapache2-mod-php7.1 php7.1-common php7.1-mbstring php7.1-xmlrpc php7.1-soap php7.1-gd php7.1-xml php7.1-intl php7.1-mysql php7.1-cli php7.1-mcrypt php7.1-zip php7.1-curl -y<\/p>\n<p>Once all the packages are installed, start Apache and MariaDB service and enable them to start on boot with the following command:<\/p>\n<p class=\"command\">sudo systemctl start apache2<br \/>sudo systemctl start mysql<br \/>sudo systemctl enable apache2<br \/>sudo systemctl enable mysql<\/p>\n<p>Next, you will need to make some changes in php.ini file. You can do this with the following command:<\/p>\n<p class=\"command\">sudo nano \/etc\/php\/7.1\/apache2\/php.ini<\/p>\n<p>Make the following changes:<\/p>\n<pre>max_execution_time = 180&#13;\nmemory_limit = 256M&#13;\npost_max_size = 25M&#13;\nupload_max_file_size = 150M&#13;\n<\/pre>\n<p>Save and close the file, when you are finished.<\/p>\n<h2 id=\"configure-database\">Configure Database<\/h2>\n<p>By default, MariaDB installation is not secured. So you will need to secure it first. You can do this by running the mysql_secure_installation script.<\/p>\n<p class=\"command\">sudo mysql_secure_installation<\/p>\n<p>Answer all the questions as shown below:<\/p>\n<pre>Enter current password for root (enter for none): Enter&#13;\nSet root password? [Y\/n]: Y&#13;\nNew password: <your-password>&#13;\nRe-enter new password: <your-password>&#13;\nRemove anonymous users? [Y\/n]: Y&#13;\nDisallow root login remotely? [Y\/n]: Y&#13;\nRemove test database and access to it? [Y\/n]: Y&#13;\nReload privilege tables now? [Y\/n]: Y&#13;\n<\/your-password><\/your-password><\/pre>\n<p>Next, log into MariaDB shell with the following command:<\/p>\n<p class=\"command\">mysql -u root -p<\/p>\n<p>Enter your root password, then create a database and user for CMSMS:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; CREATE DATABASE cmsms_db;<br \/>MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON cmsms_db.* TO &#8216;cmsms&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;password&#8217;;<\/p>\n<p>Next, flush the privileges with the following command:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; FLUSH PRIVILEGES;<\/p>\n<p>Finally, exit from the MariaDB shell:<\/p>\n<p class=\"command\">MariaDB [(none)]&gt; exit;<\/p>\n<h2 id=\"install-cmsms\">Install CMSMS<\/h2>\n<p>Next, you will need to download the latest version of the CMSMS from their official website. You can also download it with the following command:<\/p>\n<p class=\"command\">wget http:\/\/s3.amazonaws.com\/cmsms\/downloads\/14144\/cmsms-2.2.7-install.zip<\/p>\n<p>Once the download is completed, extract the downloaded file to the Apache root directory:<\/p>\n<p class=\"command\">sudo unzip cmsms-2.2.7-install.zip -d \/var\/www\/html\/cmsms<\/p>\n<p>Next, give proper permission to the cmsms directory:<\/p>\n<p class=\"command\">sudo chown -R www-data:www-data \/var\/www\/html\/cmsms\/<br \/>sudo chmod -R 755 \/var\/www\/html\/cmsms\/<\/p>\n<p>Next, create an apache virtual host directive for CMSMS:<\/p>\n<p class=\"command\">sudo nano \/etc\/apache2\/sites-available\/cmsms.conf<\/p>\n<p>Add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;&#13; ServerAdmin <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"83e2e7eeeaedc3faecf6f1e7eceee2eaedade0ecee\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13; DocumentRoot \/var\/www\/html\/cmsms&#13; ServerName yourdomain.com&#13; &lt;Directory \/var\/www\/html\/cmsms\/&gt;&#13;\nOptions +FollowSymLinks&#13;\nAllowOverride All&#13;\nOrder allow,deny&#13;\nallow from all&#13; &lt;\/Directory&gt;&#13; ErrorLog \/var\/log\/apache2\/cmsms-error_log&#13; CustomLog \/var\/log\/apache2\/cmsms-access_log common&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Save and close the file, then enable virtual host file and apache rewrite module with the following command:<\/p>\n<p class=\"command\">sudo a2ensite cmsms<br \/>sudo a2enmod rewrite<\/p>\n<p>Finally, restart apache service to apply all the changes:<\/p>\n<p class=\"command\">systemctl restart apache2<\/p>\n<h2 id=\"access-cmsms\">Access CMSMS<\/h2>\n<p>Open your web browser and type the URL <strong>http:\/\/yourdomain.com\/cmsms-2.2.7-install.php<\/strong>, you will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts.png\" alt=\"Access CMS made simple\" width=\"550\" height=\"299\" title=\"\"><\/a><\/p>\n<p>Now, choose the English language and click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-1.png\" alt=\"Check system requirements\" width=\"550\" height=\"290\" title=\"\"><\/a><\/p>\n<p>Here, analyze destination directory to find existing software, then click on the <strong>Install<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-2.png\" alt=\"Create a new website\" width=\"550\" height=\"301\" title=\"\"><\/a><\/p>\n<p>Here, provide your database details, select your Timezone and click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-3.png\" alt=\"Create admin account\" width=\"550\" height=\"299\" title=\"\"><\/a><\/p>\n<p>Here, provide your admin account credential and click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p5\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-4.png\" alt=\"Site settings\" width=\"550\" height=\"298\" title=\"\"><\/a><\/p>\n<p>Here, provide your website name, add additional language and click on the <strong>Next<\/strong> button, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-5.png\" alt=\"Install application files\" width=\"550\" height=\"292\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>Next<\/strong> button to install the application file, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p7\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-6.png\" alt=\"Installing the database\" width=\"550\" height=\"316\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>Next<\/strong> button to create and update the database schema, set initial events, user accounts, stylesheets and content, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p8\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p8.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-7.png\" alt=\"Installation finished\" width=\"550\" height=\"301\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>CMSMS admin panel<\/strong>, you should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-p9\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p9.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-8.png\" alt=\"Login to CMSMS\" width=\"550\" height=\"277\" title=\"\"><\/a><\/p>\n<p>Here, provide your admin username and password, then click on the <strong>Submit<\/strong> button, you should see the CMSMS dashboard in the following image:<\/p>\n<p><a class=\"fancybox\" id=\"img-p10\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_cms_made_simple_on_ubuntu_1604\/big\/p10.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-9.png\" alt=\"CMS Made Simple Dashboard\" width=\"550\" height=\"285\" title=\"\"><\/a><\/p>\n<p>Congratulations! you have successfully installed CMS Made Simple on Ubuntu 18.04 server.<\/p>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-cms-made-simple%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-10.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-cms-made-simple%2F&amp;text=How+to+Install+CMS+Made+Simple+on+Ubuntu+18.04+LTS&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-11.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-12.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-cms-made-simple%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-cms-made-simple-on-ubuntu-18-04-lts-13.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CMS Made Simple is a free and open source content management system written in PHP and uses MySQL to store their data. CMS Made Simple is a popular and high performance content management system to manage your websites or blogs. CMS Made Simple provides beautiful and easy to use admin section for theme, template, and &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-4184","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/4184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=4184"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/4184\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=4184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=4184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=4184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}