Add to Wishlist

Install WordPress with LEMP on Ubuntu 18.04

WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing. WordPress has seen incredible adoption and is a great choice for getting a website up and running quickly. After setup, almost all administration can be done through the web frontend.

In this guide, we’ll focus on getting a WordPress instance set up on a LEMP stack (Linux, Nginx, MySQL, and PHP) on an Ubuntu 18.04 server.

Prerequisites

In order to complete this tutorial, you will need access to an Ubuntu 18.04 server.

You will need to perform the following tasks before you can start this guide:

  • Create a sudo user on your server: We will be completing the steps in this guide using a non-root user with sudo privileges. You can create a user with sudo privileges by following our Ubuntu 18.04 initial server setup guide.
  • Install a LEMP stack: WordPress will need a web server, a database, and PHP in order to correctly function. Setting up a LEMP stack (Linux, Nginx, MySQL, and PHP) fulfills all of these requirements. Follow this guide to install and configure this software.
  • Secure your site with SSL: WordPress serves dynamic content and handles user authentication and authorization. TLS/SSL is the technology that allows you to encrypt the traffic from your site so that your connection is secure. The way you set up SSL will depend on whether you have a domain name for your site.
    • If you have a domain name… the easiest way to secure your site is with Let’s Encrypt, which provides free, trusted certificates. Follow our Let’s Encrypt guide for Nginx to set this up.
    • If you do not have a domain… and you are just using this configuration for testing or personal use, you can use a self-signed certificate instead. This provides the same type of encryption, but without the domain validation. 

More info: WordPress.org, DigitalOcean

1
Prerequisites
1 min
2
Creating a MySQL database and user
5 min
3
Installing additional PHP extensions
5 min
4
Configuring Nginx
5 min
5
Downloading WordPress
5 min
6
Setting up the WordPress config file
5 min
7
Completing the installation
5 min
8
Conclusion
1 min
WordPress is a free open source blogging platform that runs on PHP.
Yes. There are also free and paid plugins and themes available for WordPress.

Be the first to add a review.

Please, login to leave a review
Install WordPress with LEMP on Ubuntu 18.04
Price:
Free