Tag: DigitalOcean

Free Email Forwarding Options with DigitalOcean?

It’s great moving away from shared hosting and migrating all your sites to a cloud hosting solution like DigitalOcean, but what to do about email hosting? Configuring Postfix/Dovecot can be a daunting task and also a complete nightmare to maintain. Recently I’ve started pointing my domains’ MX records to Mailgun and setting up routes and forwards to Gmail from…

Continue reading Free Email Forwarding Options with DigitalOcean?

How to Log into Linux from the DigitalOcean Control Panel

In this guide we will log into Linux using the console in DigitalOcean, Prerequisites You should already have a DigitalOcean account and a Droplet. If you haven’t created a droplet yet, please see Getting Started With Your First DigitalOcean Droplet. You should also have the root password for your Droplet. This is emailed to you when…

Continue reading How to Log into Linux from the DigitalOcean Control Panel

Getting Started With Your First DigitalOcean Droplet

In this guide we will create your first DigitalOcean Droplet and log into terminal over SSH. Droplets are virtual servers that can be added and deleted in minutes. You are billed hourly for each droplet until it reaches its monthly cap, which makes for a very affordable and flexible cloud computing solution. Prerequisites You should have already signed…

Continue reading Getting Started With Your First DigitalOcean Droplet

DigitalOcean Ubuntu 18.04 Droplet

DigitalOcean Ubuntu 18.04 droplets?

DigitalOcean Ubuntu 18.04 Droplets are now available as of 27th April 2018.

Ubuntu Server 18.04 LTS (Bionic Beaver) guides are now being prepared and will appear below.

Ubuntu Initial Server Setup (Ubuntu 18.04) Installing a LAMP stack (Apache, MySQL, PHP) (Ubuntu 18.04) Installing Apache with Virtual Hosts (Ubuntu 18.04) Installing PHP for Apache (Ubuntu 18.04) Installing MySQL (Ubuntu 18.04) Installing a LEMP stack (Nginx, MySQL, PHP) (Ubuntu 18.04) Installing Nginx with Multiple Domains (Ubuntu 18.04) Installing PHP for Nginx (Ubuntu 18.04) Installing MySQL…

Continue reading DigitalOcean Ubuntu 18.04 droplets?

Ubuntu 16.04 / 17.10 Initial Server Setup

In this guide we will configure your new Ubuntu 16.04 / 17.10 server. Prerequisites If you don’t know how to access terminal via SSH, please see one of the following guides: How to Log into Linux from Windows using PuTTY How to Log into Linux from Mac How to Log into Linux from DigitalOcean control panel 1. Create…

Continue reading Ubuntu 16.04 / 17.10 Initial Server Setup

Guide to Creating Swap Space on Ubuntu 16.04 / 17.04

First check if the system has any swap configured. swapon –show If the output is blank, there is no swap configured so we can continue with this guide. 1. Create a Swap File We will use the fallocate program to create a swap file. Best practice is to create a swap file double the amount…

Continue reading Guide to Creating Swap Space on Ubuntu 16.04 / 17.04

How to configure Postfix to use Gmail SMTP on Ubuntu 16.04 / 17.10

In this article we are going to configure Postfix to relay mail through Gmail’s SMTP server. If you want to use a SMTP server other than Gmail, please see How to configure Postfix to use an External SMTP Server. Prerequisites If your Gmail account uses 2-Step Verification, you must create an application specific password. If…

Continue reading How to configure Postfix to use Gmail SMTP on Ubuntu 16.04 / 17.10

System Restart Required

*** System Restart Required *** – Automated Linux Kernel Patches

You keep seeing this message *** System Restart Required *** when you log in to Linux. In this article we will see what updates have triggered this message and how to apply them.

This message indicates the presence of the file /var/run/reboot-required. Ubuntu packages can trigger the creation of this file in their post-installation script postinst. A restart is usually required when an update to the Linux kernel has been installed. These are often security patches that only come into effect after reboot. The file /var/run/reboot-required.pkgs lists the…

Continue reading *** System Restart Required *** – Automated Linux Kernel Patches

How to get PHP mail() working on Ubuntu 16.04 / 17.04

In this article we are going to install and configure Postfix to allow our applications to use the PHP mail() function. 1. Install Postfix Let’s update the package database first. sudo apt-get update Install mailutils, which will automatically install Postfix. sudo apt install -y mailutils On the first Postfix configuration screen, select OK by pressing TAB…

Continue reading How to get PHP mail() working on Ubuntu 16.04 / 17.04