One of the most common uses of VPS / Server is to host websites, Well their are tons of stuff available in market which can able to host websites in a server but they maybe paid and technical to use. In this is tutorial we're going to install EasyEngine, an open-source and user-friendly script which will make this job free and easy.
The beauty of EasyEngine is that it not only sets up a WordPress blog, but automatically installs its dependencies, such as Nginx, PHP, MySQL, and others. There are a bunch of built-in features like caching and HHVM. With a single command, you can create a variety of WordPress configurations, such as WP Super Cache + Multisite, or Redis cache + single site.
In this tutorial, we’ll cover the details in installing EasyEngine and setting up a site.
- A VPS / Server running any of our OS options - Ubuntu 16.04, Debian 9, Debian 8, or CentOS 7. We will be using Ubuntu 16.04.
- A registered domain name.
Step 1: Installing EasyEngine
To install EasyEngine, simply run the command below:
$ wget -qO ee rt.cx/ee && sudo bash ee
This command will download and install EasyEngine in your server.
Step 2: Connecting your Domain
Before you begin, make sure that you have pointed your domain toward your VPS’ IP address. In this case, both
DOMAIN.TLD need to point to the server. If you bought your domain name via Hostomy, we provide the necessary DNS to establish this configuration. If you bought your domain elsewhere, consider setting up a free CloudFlare account to use their DNS tools.
Step 3: Creating a Site
To create a simple PHP site run the command below:
$ ee site create DOMAIN.TLD --php
To create a PHP site with MySQL database run the command below:
$ ee site create DOMAIN.TLD --mysql
To create a Wordpress site run the command below:
$ ee site create DOMAIN.TLD --wp
To create a Wordpress site with Let's Encrypt SSL run the command below:
$ ee site create DOMAIN.TLD --wp --letsencrypt
Root directory of your site will be located in "/var/www"
And here you are done! You will be able to access your site with blazing fast speed.