Connect with us

Hi, what are you looking for?

Shell Script

Bash Script to Install WordPress with LEMP Stack on Ubuntu 16.04

How to install WordPress LEMP Stack using Script for Ubuntu / Linux Mint and all Ubuntu based distros. LEMP Stack contains Linux, Ngnix, MySQL, PHP . LEMP stack works effectively with the WordPress Install through famous 1 minute installation using bash scripts the most used for fast installation of WordPress. The script install following packages on respective Ubuntu based distros including NGNIX , MySQL, PHP and most important it installs WordPress CMS. Most important thing is this scripts installs this complicated tasks in minutes so thanks to the developer of this Script for wonderful bash scripts.

Pre Required Dependencies

  1. Need an internet connection.
  2. Updated Linux Distro based on Ubuntu and its derivative.

For updating your Ubuntu and its derivative you need to run following command to do the task

# apt-get upgrade -y

How to install WordPress LEMP Stack?

Step-I (Install the GIT)
# apt-get install git -y
Step-2 (Clone and run the script)
# git clone && bash ubuntu-wp-install/
# git clone && sh ubuntu-wp-install/
Step-3 (Restart the session)

You need to restart the session in order to successful installation of WordPress.

Step-4 (Check the default IP Address of localhost)
# ifconfig
Step-5 (Open the Web Browser for setup the WordPress)

Open web browser like Mozilla Firefox and access the default localhost address.
Fill the required information and hit on Install WordPress
If Success message has come After that hit on Log in
Login with your desired Login and Passwords and finally hit on Log in
After that you will see the Admin panel of WordPress

Step-6 (Access your Default WordPress sites)


Final Result

Now you have installed the WordPress on LEMP stack using very easy WordPress installation methods. Sit behind take a cup of tea and enjoy the automated install of WordPress using LEMP stack. If you have any queries regarding the WordPress installations you may use the comment section below.

Advertisement. Scroll to continue reading.

You May Also Like


How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...


Internet is the most important public network for connecting to the WEB. For internet connection requirement the ISP is required as well as it...


How to download and install the Mobile Intel 4 Series Express Chipset Graphics Drivers for Windows 10.  Windows 10 is the one of the...


How to Install and Configure PCSX2 on Windows 10. The Windows 10 is the most recommended operating system for the Games. In stream platform...