Fastest way to install Wordpress

Image for post
Image for post

Prerequisites

Make sure you are using Linux or Mac for installing WordPress. If you are deploying a website you might be using a virtual machine in the cloud for the same. Stay tuned for another post on how you can get 2 free VMs forever on Oracle Cloud

Image for post
Image for post

Let’s get started

Image for post
Image for post

SSH into the VM

You can use Putty / Powershell or Terminal to SSH into the VM

Install EasyEngine

Run the command

# If installing EasyEngine on Mac for Local Development brew install easyengine

To install WordPress website run the command

sudo ee site create website.com

Pointing the domain name to the server

Make sure you point your domain name to the server’s IP Address

Image for post
Image for post

Registering a SSL certificate

To get auto-renewing free SSL certificate run

sudo ee site update website.com

Some other Useful Commands

Image for post
Image for post

Installing PhPMyAdmin

Easyengine gives the option to enable PhPMyAdmin and other admin tools

Image for post
Image for post

Deleting a website

To delete a website simply run ee site delete example.com

Image for post
Image for post

Restarting Docker Containers

Sometimes due to some bug or high traffic, Nginx may crash: you can simply restart the containers by running

# Restart all containers of site $ ee site restart example.com # Restart single container of site $ ee site restart example.com

A 16 Y/o Maker and Learner || hi@vimarsh.info

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store