HomeLinux Server

How to set up VPSSIM (LEMP stack) on CentOS

Like Tweet Pin it Share Share Email

VPSSIM is an auto script helps you install LEMP stack (Linux, Nginx, MySQL, PHP) on CentOS without any hassle.

It is one of the most easy-to-use scripts out there. So that I highly recommend you should VPSSIM to set up the web server on CentOS.

In this post, I demonstrate how to set up VPSSIM on CentOS. You will find that installation is super easy.


To follow the guide, you need to prepare the following things:

  • A fresh VPS on which you have just deployed CentOS 6/7.
  • Connect to your VPS with root user using MobaXTerm.

How to set up VPSSIM

First, you need to update your VPS by running the following command:

Next, you install wget tool. Download and install VPSSIM with these commands:

VPSSIM require you choose the language for VPSSIM. Enter 1 to choose English

set up VPSSIM 10

Next, select Phpmyadmin port. Enter a port which is in range (100 – 65535). This port must not be in the list here.

set up VPSSIM 11

Enter your email:

set up VPSSIM 1

Choose MariaDB Version. Enter 1 to choose 10.0 version.

set up VPSSIM 2

Enter the password for root user of MySQL. Remember to save this password in the text file.

set up VPSSIM 3

VPSSIM confirms your information again. Enter 1 if you agree with your information.

set up VPSSIM 4

After installation is complete, you will see the important information as below: (The information is in the /home/VPSSIM-manage-info.txt)

set up VPSSIM 5

Reconnect to the VPS. Now enter vpssim to open VPSSIM Control Panel.

set up VPSSIM 15

We use Control Panel to install a WordPress website. But first, you need to change PHP version.

By default, VPSSIM installs PHP 5. 6. We will change PHP 5.6 to PHP 7.1

Select 26 option to go to Update System.

Next, select 6 option.

set up VPSSIM 16

Enter 1 to choose PHP 7.1

set up VPSSIM 8

After the installation is complete, you come back to the main interface of VPSSIM.

How to install WordPress website on CentOS 6/7 using VPSSIM

First, you need to point your domain to IP Address of VPS.

In the Control Panel of VPSSIM, you enter 1 to go to Add Website & Code function.


You enter 3 because we install a WordPress website. VPSSIM require you to select a cache plugin. We select W3 Total Cache.


Next, you enter the following information:

Domain: your domain without www

User for WordPress Admin: enter your username

Password for WordPress Admin: enter your password


After the installation is complete, you see the directory of source code and nginx configuration file for your website as below:


Now you can log in WordPress Admin with your information. Go to Performance, enable cache for Page Cache, Object Cache and Database Cache. Select Memcached as Cache Method. Click Save Settings & Purge Caches


Install Let’s Encrypt SSL Certificate on your website

VPSSIM allow you easily to install Let’s Encrypt SSL Certificate on your website. It takes you some minutes.

First, make sure that your domain points to your VPS. Second, you don’t use CloudFlare CDN.

At the main interface of VPSSIM, you enter 23 to go to Setup SSL function.


Next, enter 1 to start setup SSL for domain


Enter your domain. VPSSIM will check your domain if it meets the requirement.  If everything is OK, enter y to set up SSL for your website.


Next, you need to install and activate Really Simple SSL plugin.

Let’s Encrypt SSL will expire within 90 days. Therefore, you select 3 to auto-renew the certificate.


That’s all.

You know how to set up VPSSIM on CentOS. Now you have a full WordPress website with SSL certificate.

If you have any problems, let me know in the comment box. 

Disclosure: Some of the links in this website are “affiliate links.” This means if you click on the link and purchase the item, we will receive an affiliate commission (at no additional cost to you). All opinions are our own and we do not accept payments for positive reviews.

Leave a Reply

1 Comment on "How to set up VPSSIM (LEMP stack) on CentOS"

Notify of
Sort by:   newest | oldest | most voted

So admiring, Thinh! Wish all the best to your version in English!

Scroll Up