Want to host a wordpress site the easiest and optimize way? Let me introduce you to Lempzy! 

Lempzy is a Simple All In One script to install LEMP Server Stack (Linux eNginx Mysql PHP) with just a single command line.

Here is how you can set up on your server…

1 Get Your VPS Ready

Pick you favorite Cloud Servers Providers, get a clean VPS built

Make sure you choose the OS between:

  • OS: DEBIAN (10, 11) OR UBUNTU (18.04, 20.04, 22.04, 22.10)

2 SSH To Your VPS

Once your VPS has been built, get the credentials and log in to your VPS

Here I use Bitvise app on windows, you can ssh directly on terminal if you running on mac os, here is the code

ssh root@VPS_IP

On Bitvise, pretty much straight forward

Just fill the Host, Port, Username and Password

Then click on Login

3 Install Lempzy

Once you connect to your VPS, on the terminal, you can paste the script installation code

make sure you login as root

you can check by using command

whoami

You should get <root> as the response, then you can proceed

Copy the code below and paste in the terminal

sudo apt-get install git -y && apt-get install dos2unix -y && git clone --branch v1.3 https://github.com/MiguelEmmara-ai/Lempzy.git && cd Lempzy && chmod +x lempzy-setup.sh && sudo ./lempzy-setup.sh
 

Let the script run for 3 – 4 minutes

The script will Install Lempzy, it will install a LEMP stack that is optimize

LEMP refers to a collection of open-source software that is commonly used together to serve web applications. The term LEMP is an acronym that represents the configuration of a Linux operating system with an nginx (pronounced engine-x, hence the E in the acronym) web server, with site data stored in a MySQL database and dynamic content processed by PHP.

The LEMP stack represents one way to configure a web server, and is used in a number of highly-scaled applications across the web.

Congratulations, you now have installed Lempzy!

Once everything is set up, run this command below in /root directory to open the Menu Options

cd to go to your /root directory

cd
./lempzy.sh

4 Add Domain And Install WordPress

Here is the main menu after you run the above command

To install domain and wordpress, Go to 

1) DOMAIN MENU >

2) ADD DOMAIN / SUB-DOMAIN + INSTALL WORDPRESS

Then you will get some prompt to answer, it’s pretty straight forward

In this examples case, we will try to install wordpress on our domain called

test.com

You can change it to your domain name

Click enter and wait until its done

If no error occurs during the process, you will get something like this

You can save your credentials

5 WordPress Installation Wizards

Open your domain <test.com> on your browser

It will run the wordpress installation wizard, fill up your detail 

And voilaaaa, wordpress installation is done!

6 Setup Plugins

After WordPress has been installed, it is recommend to setup some plugin needed to run in this server

Go to Plugins > 

Check Really Simple SSL and Nginx Cache

And activate those 2 plugins

7 Really Simple SSL

After activating the plugins above, you will get prompt to setup the SSL plugin

Check on Overide SSL detection

Activate SSL

Relogin on your wordpress site

8 Nginx Cache

To setup Nginx cache, go to

Tools > Nginx cache

Click save changes and all good to go!

9 The Hard Part

Congratulations, you have now successfully host WordPress on your VPS

Now for the hard part

Is to create a high traffic site, big enough to crash Lempzy! 😎