WordPress virtual private ubuntu server

Installing WordPress + Nginx on virtual private Ubuntu Server


Many sites grow up and, to be honest, I believe that everyone who reads this article wants to grow his site as if it were his own house. Many sites are stored in large storage alongside other sites on the same server. This is a helpful way to host a lot of files and allows the creators to “sleep easy”. But what happens the site increases in size and you have more visitors from either direct content or users who are simply surfing the web? What happens when the cost of running the site and the resources required by your users have expanded? If you have a great site, higher levels of traffic might slow it down and discourage visitors, so we need to find a more effective and efficient way to construct our “house”.

But what happens the site increases in size and you have more visitors from either direct content or users who are simply surfing the web? What happens when the cost of running the site and the resources required by your users have expanded? If you have a great site, higher levels of traffic might slow it down and discourage visitors, so we need to find a more effective and efficient way to construct our “house”.

This is where we begin by installing WordPress onto our Linux server, Ubuntu. It is a relatively easy process but it can be a little time consuming so please make sure that you allow for some flexibility in your schedule before you begin.

First, select one of the companies that provide Virtual Private Servers – or VPS – These are actually “virtual thoughts”.
We encourage you to buy the service from Digital Ocean which is a link to reliable servers. Please note that the process of buying will take some time, and may not demand identification through an identity card.
We will begin construction of our work environment, in fact, we need a simple program called PuTTY that can be downloaded for free here.
This is how we form the “foundation” of our house.

Putty session for wordpress installation.

Putty session for WordPress installation.

This gracefully transforms software that we use once we enter some data –
1) server address (IP address)
2) Port – No need to change at this point.

Connection type should remain SSH.

After we knocked in the IP, the black window should be opened.

We need to put the username here (probably root) and then we are asked to pay for a Password.
If you are contacting you should get a screen like this –

 

Ubuntu server ssh session

Ubuntu server ssh session

 

Come and we will update the system using the following command

Install the Debian development group packages –
sudo apt-get install build-essential

After completing the update, restart the system and we’ll start to install the required software.

The Nginx server the most popular web servers that allow some of the largest and busiest sites on the internet. It has been gaining tremendous momentum in recent years.

To run WordPress, we simply correct the server PHP you can read more about the server here PHP-FPM Now it is time to install PHP as well as Extensions needed by WordPress.

You can read more about the server here – http://php-fpm.org/ Now it is time to install PHP as well as Extensions needed by WordPress.

The next thing we need is to install a MySQL database – you can read more about it at the following MySQL website 049hzfe. After all, is installed, our server is ready to install the new Nginx virtual server with few simple commands:

First, we create the Nginx configuration file.

<!– Crayon Syntax Highlighter v_2 sertraline hcl 50 mg tablet.7.2_beta –>

you will need to change the virtual server domain name

and the

Then paste this code in your configuration file:

Please restart Nginx and Php-fpm:

Let’s create new website user and directory:

Now, it’s time to download WordPress to our new directory:

Now let’s create a MySQL database to our fresh WordPress installation change ‘password’ to choose a great password that will provide security, please consider using this password generator as we have found it very helpful.

It’s that simple. Now, let’s go to our website address.

If you receive any stack overflow errors or any other such difficulty, please restart your system as a first-step troubleshooter as this will help most first-time user issues.