CMS or Content Management System has revolutionised the way in which websites are made. Where earlier website needed to be coded, we now have to only install a website which can be fine tuned and configured to our requirement. All this can be done without writing a single line of code. With the help of CMS, we can have a Website in Minutes
Introduction to CMS
There is a detailed article on the concept and definition of CMS
The above article is also available in the form of a presentation at the following URL
In this article we shall see how a CMS is setup in a local LAN environment and subsequently how a typical CMS package is installed. After that we shall briefly cover the basic settings to a CMS package.
Part 1 : Installation of Web Server
This part can be skipped if the web server is ready. These days due to cloud computing and apps moving to the cloud, a web server is always available in the blink of an eye.
But in a closed LAN or for the purpose of testing, one may install a Web Server. We have already covered how to setup a LAMP on Open Suse. Here is the article URL.
Once your Web Server is ready you should be able to see the test webpage of apache from any of the PCs on the LAN.
Part 2 Installation of CMS
Copy the ZIP package to the htdocs folder contained in www.
Extract the ZIP to the same location. It will extract the contents in a folder called wordpress. This means that when you access the website the URL has to be
If you do not need the suffix ‘wordpress’, you will have to extract the contents of the ZIP package in the folder of htdocs itself like shown below
As seen in the above picture, there is a php file by the name wp-config-sample.php
During installation the information for database is written in this file and a config file is automatically created. If this does not happen due to some reason, you will need to manually create the config file.
Next got to terminal and open the mariaDB interface by typing the following
mysql -u root -p
input the password
Create a database by using the following command
CREATE DATABASE WORDPRESS;
where WORDPRESS is the name of the database.
Note: This is the most simplest syntax, where you are just creating a database and giving it root access. In real life scenario this is very much not recommended. You need to create a user and then create a database. Also you need to harden the database after installation of the Web Server.
Successful creation of database will give the following prompt
Next step is the famous three step setup of WordPress.
To install WordPress access the installation folder using a Web Browser
In case of our installation the server is located at 192.168.1.1 so we type in the IP address in the address bar of the Web Browser.
One of the most common reasons for incorrect installation or installation giving error is proper permissions for the folder have not been given. In our case since we are not installing in a folder this problem may not arise.
The second step asks you to input the name of the database, name of user and password and the location of database. In our case the location is localhost, and the user is root.
Once checked, click on Submit
Once you click submit, the next interface opens where you are asked the site details and other information.
Once this information is entered and submitted, the installation of WordPress is complete.
Other CMS are also installed on more or less same lines. Here is a screenshot of the Website ready in Minutes.