How to Install WordPress On Ubuntu 16.04 with LAMP Stack

Before going forward with the procedure of installing WordPress 4.7 on Ubuntu 16.10/16.04 using LAMP Stack you need to know about some basic concepts first. So read this article carefully How to Install WordPress On Ubuntu and make it live. These are: –

What is WordPress?

WordPress is one of the best open source online website creation tools which enable you to design and develop various wonderful and unique websites at just matter of few clicks. It is one of the easiest tools which enable you to do powerful blogging and web Content Management System in a very creative and motivated way.

What is WordPress

It includes various plugins and templates embedded with a very user-friendly and flexible interface which provides you the best results you ever had. WordPress helps in the reduction of costs of creating websites and deployment time. It is wonderfully web hosting and domain which provides you the wonderful facilities in just a few bugs. There are more than 73 millions of websites already present in the market design and developed on WordPress and the number is still growing on with the passing time.

It is well known for its blogging capabilities but as you know that it is a CMS also, it enables you to do multitasking operations within the website so that you could able to extract the best results from it.

Read More – Best Smartwatch Under $100

Read More – Best Gaming Headset Under $100

What is Ubuntu?

What is Ubuntu

Ubuntu is a complete operating system based on Linux which provides you free accessibility for both professional as well as community support. It is mostly used in tablets, smartphones along with Ubuntu Touch edition. This wonderful software is absolutely free of cost and includes a large number of embedded tools inside it. It includes best translators and accessibility infrastructure. It can be easily used in both desktop and server use and is compatible with the various operating system and especially Linux.

 

What is LAMP Stack?

What is LAMP Stack

LAMP Stack is actually one of the most popular open sources web platforms which are commonly used for running various wonderful websites and servers in a very easy way. It is an archetypal model of various web services stacks used in a very impressive way. It includes Linux, Apache, MySQL, and much more platforms on which it can run extraordinarily. It is a wonderful software which enables you to develop various high-performance web applications along with a very strong, stable and reliable foundation.

Read More – How to Host WordPress Website on AWS EC2 and S3

Read More –  How to Fix Msvcp100.dll is Missing in Windows 10

Additional features in WordPress

Before going further with the installation process you should first need to know about the additional features of WordPress 4.7 which makes it a latest and advanced version to go through.

  • It includes additional 27 new themes which you should easily use in the creation of various business websites.
  • Its starter content supports various embedded themes.
  • WordPress 4.7 also provides you Video header support so as to provide its customers best results.
  • It enables you to go through various PDF previews.
  • WordPress 4.7 includes custom CSS in customizer which enhances your experience of working with it to the next level.
  • It enables you to work on user-specific language settings.
  • It also includes various other developer features along with the improvements of the previous WordPress editor.

Is WordPress a Free Website Creation and Blogging Tool?

It is the most common question that the people usually ask. What is free in this universe nowadays? If you are going to use any website creation tool, the amount you are going to pay is actually for web hosting and domain. In case of WordPress, it needs to pay a very small amount of money as charges. WordPress costs about $3.95 per month for beginners and enables them to get best by paying a very less amount.

How to Install WordPress On Ubuntu with LAMP Stack

WordPress is a wonderful website developing tool which enables you to create various blogs and websites within the matter of just a few clicks. Here in this tutorial How to Install WordPress On Ubuntu, we are going to provide you the step by step procedure of installing WordPress 4.7 On Ubuntu 16.10/16.04 Using LAMP Stack which will surely help you a lot. While going further with the procedure we first need to install LAMP stack on Ubuntu 16.10/16.04.

How to Install WordPress On Ubuntu with LAMP Stack

How to Install WordPress On Ubuntu with LAMP Stack

Install Apache Web Server on your Operating System

  • The first thing you need to do before going forward with the procedure is that to install Apache Web server on your device by using the command:

$ sudo apt-get install apache2 apache2-utils

  • Once done it successfully, the next thing you need to do is to enable Apache2 web server to get it start at the booting time of the computer system. For this you need to make the commands given below on your command prompt:

$ sudo systemct1 enable apache2

$sudo systemmct1 start apache 2

  • Once you have gone through the process successfully the next thing you need to do is to check the enabled apache whether it is working or not. You can easily go through by just going to your web browser and entering the http://server-address here.

Apache-Default-Page-Under-Ubuntu-16.04

  • If the Apache2 server has been successfully installed on your server then you will find an Apache2 default index page on your homepage if not repeat the above procedure carefully to avail it on your web browser.
  • On the successful installation of Apache2 onto your web browser all the web files of yours will automatically get stored into the by default root directory of Apache i.e. /var/www/html.

Read More – How to Make Bootable Pendrive

Read More – Bluestacks Alternatives

Install MySQL Database Server

Once you have successfully launched Apache2 server on your operating system the next you have to go with the installation of MySQL Database Server. Just follow the steps given below for installing it easily on your device: –

  • Type the command given below on your command prompt and allow it to run.

$ sudo apt-get install mysql-client mysql-server

  • You will receive a pop-up message during the installation processor asking you to set the user password for MySQL. Choose a strong and secure password for this option and then click on the OK button twice for going further with the process.
  • Once you have successfully done with the securing of the MySQL, the next you have to do is to make your database server secure. You can easily do it easily by typing the following command:

$ sudo mysql_secure_installation

  • On the successfully running of the command, you will receive a message asking you to install the ‘Validate password’ plugin. Type Y/Yes in the command prompt and then press the Enter button to go forward with the by default password. If you doesn’t want to change the root password of your password then type N/No.

MySQL Root and password

  • Once done with it, it will ask you some more questions, read the questions carefully and then answer them all as Y/Yes.

Read More – Best iOS Emulator for PC

Read More – How to Remove Shortcut Virus

Install PHP and Modules

On the successful installation of Apache web server and MySQL database server on your device the next you have to go forward is the installation process of PHP and various modules of it on your device.

  • It is one of the last installation processes which you can easily do just by adding the following command:

$ sudo apt-get install php7.0 php7.0-mysql libapache2-mod-php7.0 php7.0-cli php7.0-cgi php7.0-gd

  • Once you have done with it you need to know whether it is working properly or not. If it is working in collaboration with the web server, we need to create an info.php file inside /var/www/html.
  • Now type the following command given below to open up a var. html file on your home screen.

$ sudo vi /var/www/html/info.php

  • Now write the code given below into the opened file and press Ctrl + S for saving it and then make an exit from the opened file in order to go further with the procedure.

<?php

phpinfo();

?>

  • Go to your web browser and search for the option of http://server_address/info.php there.
  • A new PHP page will open up describing a long list of related tasks and extensions.

info.php

Read More – How to Play Android Games on PC

Read More – Google Chrome Won’t Open Error Fix

Install WordPress CMS

As soon as you have downloaded and installed PHP and its modules on your device, the next thing you need to go with is the installation process of WordPress CMS. WordPress CMS as the name indicates is the Content Management System which helps you a lot in the website creation and blogging. You can go to the following step by step procedure for installing WordPress CMS to your device.

  • Open your web browser and search for the latest version i.e. WordPress 4.7 there.
  • Now, extract this package of WordPress by typing the command given below:

$ wget –c http://wordpress.org/latest.tar.gz

$ tar –xzvf latest.tar.gz

  • Once done, now move all the files of the WordPress from the extracted folder to the Apache default root directory, /var/www/html/:
  • Just type the command given below for moving files from your extracted folder to the Apache default root directory.

$ sudo rsync –av wordpress/* /var/www/html/

  • Once done with the process, the next thing you need to do is to set a group of permissions on the Apache default root directory of the website so as to provide the owner of your WordPress files on the web server, which you can easily do by typing the command :

$ sudo chown –R www-data:www-data /var/www/html/

$ sudo chmod –R 7555 /var/www/html/

 

Read More – Ethernet Doesn’t Have a Valid IP Configuration

Creation of WordPress Database

Once you have successfully installed the latest version of WordPress on your website the next thing you need to do is to create a perfect database for your WordPress website.

  • The first thing you need to do here is to provide a password for the root user for security basis. For this type and execute the command given below:

$ sudo systemct1 enable apache2

$sudo systemmct1 start apache 2

0
  • It will open up a MySQL shell on a new page, type the commands given below, following by pressing the Enter button after each line.

$ sudo systemct1 enable apache2

$sudo systemmct1 start apache 2

1
  • While creating a database you should keep one thing in mind that try to use the username and password which are strong and secure and easy for you to remember.
  • Now, open up the Apache default root directory /var/www/html/ and rename the existing wp-config-sample.php to wp-config.php just by typing the command:

$ sudo systemct1 enable apache2

$sudo systemmct1 start apache 2

2
  • Once you have done it successfully, the next you need to do is to update all the information of this database in MySQL.

$ sudo systemct1 enable apache2

$sudo systemmct1 start apache 2

3
  • Once you have successfully entered the code given above, now restart your web browser and MySQL server to avail the best results from it. You can use the commands given below for doing it:

$ sudo systemct1 enable apache2

$sudo systemmct1 start apache 2

4
  • Now, open up your web browser and search for the option of http://server-adderess here in order to find the welcome page of your website.

WordPress-Installation-Wizard

  • Read all the instructions and features provided on the page very carefully and then click on the option of “Let’s go!”.
  • Once you have done, you will now be able to add various contents, images, and videos to your WordPress website so that maximum of the people could reach it.

Read More – This Copy of Windows is Not Genuine

Conclusion

WordPress is actually a wonderful open source content management tool which enables you to create and manage a variety of unique and best websites and blogs through it. WordPress 4.7 is the latest version which works well with Ubuntu using LAMP Stack. We have provided you above the step by step procedure for How to Install WordPress On Ubuntu with LAMP Stack. We hope you will carefully go with the procedure and could be enabled to extract best results from it.

About Nikhil Gupta

I am a self-trained guy, a part time blogger and computer experts from last four years. I am very much passionate about blogging and my main area of interests are SEO, Digital Marketing, Internet Marketing, Web Designing, Business knowledge, Linux and Cloud Computing.

Speak Your Mind

*