Instructions for installing WordPress on CentOS 6/7 with VPSSIM

Tutorials 0 lượt xem
This post is part 2 of 2 in the Using VPSSIM series

Installing WordPress on a CentOS server using VPSSIM is very simple. 

You will have a WordPress website accelerated with ZendOpcache Memcached and Google PageSpeed.​

Prepare

  • VPS server has VPSSIM installed. 
  • Login as root user using an SSH client like MobaXTerm

Install WordPress on CentOS 6/7 with VPSSIM

First, you need to point the domain name to the server’s IP . ​

In the terminal of MobaXTerm, type vpssim to open the vpssim function menu. Choose 1. ​

install wordpress vpssim 1

Choose the 3rd option to let vpssim automatically install WordPress for you. At this point vpssim asks which cache plugin you want to install. I like W3 Total Cache so choose this option: 

install wordpress vpssim 2

Next, you need to enter the following 3 pieces of information: 

Domain: the domain name of the website, enter without www

Username and password for the WordPress admin account​

install wordpress vpssim 4

After vpssim is installed, you will see the location of the website’s source code, the nginx configuration file for the website: 

install wordpress vpssim 5

Now you log into the website to optimize W3 Total Cache, turn on all caches such as Page, Object Cache (select Memcached) and Database Cache (select Memcached): 

install wordpress vpssim 6

Test again the Database Cache to see if Memcached is working properly: 

install wordpress vpssim 7

Install Let’s Encypt for the website

These days, installing SSL for websites is almost mandatory.

Fortunately, installing Let’s Encrypt certificate for websites using vpssim is also easy.

You only need the domain that pointed to the VPS server and do not use the CloudFlare CDN service.

In the function menu of vpssim select option 23: 

install wordpress vpssim 10

​Select 1 and then Enter to install the certificate: 

install wordpress vpssim 11

Enter the domain you want to install the certificate for. Vpssim will check whether the domain meets the certificate installation or not. If everything is ok, type y to install the certificate. 

install wordpress vpssim 13

Once the installation is done, you should install and activate the Really Simple SSL plugin in WordPress. 

Because the Let’s Encrypt certificate is only valid for 90 days. You choose the 3rd function to activate automatic renewal: ​

install wordpress vpssim 14

It’s done.

You have finished setting up a website on CentOS 6.7 with vpssim. Your website also has a blue SSL certificate in the browser. 

View articles in the series

Previous part: Instructions for installing VPSSIM on a Linux server

Bài viết liên quan