Posts in Category: ubuntu linux tutorials and howtos

Setup EasyEngine on Debian/Ubuntu

EasyEngine (ee) is a Linux shell-script to install and manage wordpress-nginx websites in one go. Using EasyEngine, you can install Nginx, PHP, MySQL, Postfix, phpMyAdmin and their dependencies in one shot easily without the help of a System administrator. It makes very easy to install and manage wordpress-nginx websites, and you don’t have to manually install each packages and memorize all commands. Everything will be done automatically on the background. EasyEngine will work on Ubuntu LTS versions such as Ubuntu 12.04/14.04, and Debian 6/7 version. Unfortunately, there is no support for RPM based systems like CentOS, and there is no future plan to make it work on RPM based systems right now.


The following are the notable features of EasyEngine:

  • Install Nginx, php, mysql, phpmyadmin and all its dependencies in

    Read More

Set Up a Remote Database to Optimize Performance with MySQL on Ubuntu 16.04


As your application or website grows, you may come to a point where you’ve outgrown your current server setup. If you are hosting your web server and database backend on the same machine, it may be a good idea to separate these two functions so that each can operate on its own hardware and share the load of responding to your visitors’ requests.

In this guide, we’ll discuss how to configure a remote MySQL database server that your web application can connect to. We will be using WordPress as an example so that we have something to work with, but the technique is widely applicable to any MySQL-backed application.


Before beginning this tutorial, you will need:

  • Two Ubuntu 16.04 servers, with a non-root sudo-enabled user, and UFW firewall enabled
  • On one

    Read More

Setup a Ghost Blog on Ubuntu 16.04


Ghost blog is a very popular, fast and open source blogging and publishing platform,  written in JavaScript, using the Node.js framework. As stated on the their website, “the inventors of JavaScript, Android and StackOverflow all use Ghost for their blogs”.

So let’s install and configure Ghost on an Ubuntu 16.04

Getting started – Install Node.js

It is possible to install Node.js using NodeSource binary distributions repository. To accomplish this task, execute the following commands:

$ curl -sL | sudo -E bash -
$ sudo apt-get install -y nodejs

Install build tools, required for building and installing npm, with apt:

# apt-get -y install build-essential

Install Ghost

If it doesn’t already exist, create the directory /var/www/:

# mkdir -p /var/www/

There, download Ghost, grabbing the latest

Read More