Connect with us

Hi, what are you looking for?

Shell Scripting

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 https://github.com/erming/ubuntu-wp-install && bash ubuntu-wp-install/install.sh
OR
# git clone https://github.com/erming/ubuntu-wp-install && sh ubuntu-wp-install/install.sh
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
1
If Success message has come After that hit on Log in
2
Login with your desired Login and Passwords and finally hit on Log in
3
After that you will see the Admin panel of WordPress
4

Step-6 (Access your Default WordPress sites)

5

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.

Comments
Advertisement
Advertisement

Linux

DNF stands Dandified YUM and this is the default package manager for RHEL 8 / CentOS 8.  This tutorial explains you how to create...

Linux

If you forget a root password of your RHEL 8 and CentOS 8 and want to reset the password so that the RHEL 8...

Windows

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

Linux

How to Upgrade WordPress Server from Ubuntu 16.04 to Ubuntu 18.04. Right now, Ubuntu 18.04 has been released with tons of new features. Upgrading...

Linux

How to Enable TLS 1.3 on Nginx Web Server. Nginx is a ultra fast web server optimized for modern web applications and servers. TLS...

Advertisement

You May Also Like

Windows

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

Linux

DNF stands Dandified YUM and this is the default package manager for RHEL 8 / CentOS 8.  This tutorial explains you how to create...

Windows

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

Windows

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