How To Install WordPress with LAMP on Ubuntu 16.04

wordpress

Share this article

WordPress has been around since 2003 and has evolved to be the most popular open source content management systems. It powers nearly 30% of the world’s website and it can also be used to build different platforms such as E-commerce website, Blogs, Content platforms, learning management system and can be customized by experts to do certain things.

It is powered using PHP and Mysql database. WordPress installation can be seamless and almost all the website administration can be done from the website’s front end.

In this guide, we will focus on how to install a WordPress set up on Linux, Nginx, MySql, and PHP (LEMP) Stack on an Ubuntu 16 server.

Requirements

We will assume that:

  • You have installed Ubuntu 16.04 server with a root access following installing Ubuntu server with  Whogohost.
  • A domain name is registered and pointed to the server’s IP address.
  • Nginx is installed on the server.
  • You know how to use Linux editors (nano, vim).
  • You have access to the root
  • Secure your site with SSL: WordPress CMS serves dynamic contents and handles authorization and authentication of users so it’s imperative to install SSL for your domain.

When you are sure that the above is ready, we can begin with the setup.

Creating a Mysql database.

We have MySQL installed on our Ubuntu LEMP stack, but we will need to create a database and user for the WordPress installation and storage of information. You will be required to enter the password you set for Mysql database during installation.

You should run the following command to create the database. The name of the database we created is WordPress but you are free to use any name you are comfortable with.

mysql> CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

NB: You should ensure that you end your code with a semi-colon

The next thing we will do is to create a user and password in our new database.

Related Posts

HOSTAFRICA Completes Acquisition of GO54, Becoming Nigeria’s Leading Hosting Provider

HOSTAFRICA, a leading web-hosting company in Africa, is excited to announce the successful completion of the acquisition of GO54 (formerly known as WhoGoHost)...

Reseller Hosting Service in Nigeria: GO54’s Comprehensive Solutions

A reseller hosting service has emerged as a lucrative business model in Nigeria’s burgeoning digital landscape. This service empowers entrepreneurs and businesses to establish their...

SME Bundles in Nigeria: How GO54 Provides Cost-Saving Solutions to SMEs

Small and medium-sized enterprises (SMEs) are the backbone of the Nigerian economy. However, these businesses often face challenges in accessing affordable and reliable business solutions...