,

A handy guideline WP installation on LEMP Stack

Those who aren’t aware LEMP software stack, let me explain you- it’s basically a group of software that can be used to render dynamic web pages and web applications. It includes any distribution of Linux, Apache, and PHP as a model and MySQL.

Today, in this tutorial I am going to talk about the process of installing WordPress on a Linode LEMP stack. Your chosen server will take care of the first requirement. I will describe how to get started with the rest of the components to get your website up and running.

Domain Name and Configuring DNS

Before you go through the process, make sure your domain name is ready for installing WordPress. I am choosing Namecheap as my domain name, however, you can opt for anyone after analyzing your needs. After this follow the steps mentioned below in your service provider’s dashboard.

  1. Click on “Your Domains/Products” from the sidebar which reads “More Links” in your dashboard.
  1. Now, you’ll be providing with a list of all the available domain names. Select for the domain name which you’d like to link with your Linode VPS.
  1. Click on the “Transfer DNS to Webhost” link from the sidebar.
  1. Once the link has been opened, hit the button which reads ‘Specify Custom DNS Servers”.

Once clicked, you’ll be provided with 5 text fields. Wherein you need to fill the below mentioned values.

  • linode.com
  • linode.com
  • linode.com
  • linode.com
  • linode.com

Now, save the changes.

screenshot1

Congrats! You have successfully associate your domain name with the Linode name servers.

Please note: the process can take up to 24 hours for completion. Though, there are many instances wherein the process take only couple of hours. So, be patient.

Installing Linode VPS

screenshot2

To know about Linode VPS, it is basically a cloud-based VPS provider which deals with providing scalable and reliable hosting solutions. In order to install it, the below mentioned steps should be followed.

screenshot3

  • To begin with, sign up with your Linode account
  • After this, you’ll be navigated to the “Linodes” page, where you need to click on the “Add a Linode” link.
  • Now, look for the hosting plan that suits your needs best
  • After selecting the plan, select “Add this Linode” option.
  • From the “Linodes” page, click on the Linode you have created recently.
  • Select “Deploy an Image” option
  • For image, select “Debian 7.7” option only.
  • It’s up to you whether you want to modify “Deployment Disk Size” and “Swap Size”. However, I would recommend you to stay with the default values as they are most suitable.
  • Now, you can see a “Root Password” field, prompting you to enter a strong password.
  • Click on the “Deploy” button.
  • Now, wait for some moments till the completion of image building process.
  • Select the “Boot” option to enable your recently created Linode.
  • Now, you’ll be navigated to a screen, wherein you need to select the “Remote Access” tab.
  • After this, you’ll be required to use certain terminals such as Linux, Mac or PuTTY, SSH, within the server with the help of “SSH Access” details.
  • The terminal might ask you to confirm the authentication of your host by asking certain series of questions based on it you can continue the step further.
  • Once completed, you will be navigated to a window asking you to enter your “Root” password. Enter it, and you can see that you have logged into your newly created Linode VPS.

screenshot4

Next, you can proceed to set up LEMP Stack. For beginners the process might be tricky, so go through it carefully.

To avoid any errors, there is a shell-script called EasyEngine developed by rtCamp, you can use to go through the installation process of LEMP Stack. To begin this, the below mentioned code should be added to your terminal.

wget -qO ee rt.cx/ee && sudo bash ee

You’ll be asked to provide certain details such as your name, email address etc. at the end of the process.

Using EasyEngine you can leverage the benefits provided by some of its exceptionally reliable tools that allow you to manage your WordPress installations on your server. So, insert the following command to kick start the process of installing WordPress. You can replace “example.com” with the name of your domain.

ee site create example.com –wpfc

The command above will allow you to install LEMP stack and then using it you can move on to build a new WordPress site based on Nginx’s FastCGI cache enabled for the website.

Once you are done with the installation process, you can view the complete structure of your WordPress site along with all the administration related tools and HTTP authentication credentials. Note all these credentials as you’ll be requiring them later.

screenshot5

Getting Started with DNS Records

In this section of the tutorial, I will discuss with you the entire process of installing DNS to create a link between domain name and Linode server, which we have created recently.

Setting up the DNS server requires you to go to your Linode dashboard wherein you need to follow the steps mentioned below.

screenshot6

  • Go to Linode dashboard and click on the tab which reads “DNS Manager”
  • Select “Add a domain zone” link
  • Here you’ll be asked to enter the name of your name into the “Domain” field.
  • Start entering your email address in the provided “SOA Email” field.
  • Here, make sure you only select “Yes, insert a few records to get me started, using this Linode” option and then move on to correct Linode instance.
  • Now, select the “Add a Master Zone” option.

Since we are perform some changes within the DNS, the process might take some time to get completed. While doing so, you can visit your website and see the default WordPress installation.

Configuring the Required Plugins

screenshot7

Using EasyEngine means you are providing with two installed by default within your WordPress. They are W3 Total Cache and Nginx plugins. Follow the instructions provided to configure the plugins.

  • Login to your WordPress site
  • Start entering the administration credentials which you have noted above.
  • Select the “Performance” parent menu item
  • Go to “General Settings” within the child menu
  • Under the “Database Cache” click on “Enable checkbox”. Here you are required to edit the “Database Cache Method” to “Memcached”.
  • Go to the section called “Object Cache” and select the “Enable” checkbox. Here again you need to change the “Database Cache Method” to “Memcached”.
  • Save all the changes
  • Now go to the “Settings” within the parent menu item and click in “Ngix Helper” child menu item.

screenshot8

  • Select the checkbox “Enable Cache Purge”
  • You’ll be provided with some “Purging” options, so carefully select the checkbox excepting these.
  • Purge Archives – when a comment is approved/published.
  • Purge Archives –when a comment is unapproved/deleted.

Save the changes.

screenshot9

Integrating the Reverse DNS

Go to your Linode dashboard and perform the below mentioned steps:

screenshot10

  • Within the Linode dashboard select “Remote Access” tab
  • Then click on “Reverse DNS” link
  • Start entering your domain name within the “Hostname” field
  • Click on “Look Up” button and select “yes” for the first match found
  • Repeat the steps 4 and 6 for each match. Make sure you have total 2 matches. One match belonging to IPv4 and the other one for IPv6.

Wrapping Up

Congrats! You have successfully configured VPS and your website is all set to run.

So, this is the entire process, you need to follow to install WordPress on a Linode LEMP stack. Bookmark it for the future reference.

About the Author:

If you need to hire php developer then simply get in touch with Amanda Cline. she has also written interesting and informative articles on Custom Software Development, Web Application Development etc. Leaders in the software development service domain,  Xicom Technologies Ltd operates on the fuel of true transformational levels and penetrative processes.

What do you think?

0 points
Upvote Downvote

Total votes: 0

Upvotes: 0

Upvotes percentage: 0.000000%

Downvotes: 0

Downvotes percentage: 0.000000%

mobile-typography-2

A Simple Guide to Create a Breathtaking Mobile Typography

The Wearable market can't be ignored

10 Superlative Mobile App UX/UI Trends To Watch In 2015