Tag: Ubuntu 18.04

Installing MySQL on Ubuntu 18.04

Installing MySQL Server on Ubuntu 18.04

In this guide we will install and configure MySQL on Ubuntu Server 18.04 (Bionic Beaver). MySQL is the world’s most popular open source database, enabling the cost-effective delivery of reliable, high-performance and scalable Web-based database applications.

Video Tutorial

Prerequisites You should use a non-root user account as explained in the Ubuntu 18.04 Initial Server Setup. 1. Install MySQL Let’s begin by updating the package lists and installing MySQL on Ubuntu 18.04. Below we have two commands separated by &&. The first command will update the package lists to ensure you get the latest version and…

Continue reading Installing MySQL Server on Ubuntu 18.04

Ubuntu 18.04 Initial Server Setup

Ubuntu 18.04 / 18.10 Initial Server Setup

In this guide we will configure your new Ubuntu 18.04 / 18.10 server and implement some best practices.

Prerequisites If you are accessing Ubuntu Server 18.04 remotely and 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 User with Superuser Privileges If…

Continue reading Ubuntu 18.04 / 18.10 Initial Server Setup

Installing Apache on Ubuntu 18.04 Server with Virtual Hosts

Installing Apache on Ubuntu 18.04 with Multiple Domains

Apache is the most widely-used web server in the world with approximately 45 percent of active sites running on it.  In this guide we will install and configure the Apache2 HTTP web server on Ubuntu 18.04 Server (Bionic Beaver). You can use this guide for a single domain website or multiple domains using Virtual Hosts.

Prerequisites You should use a non-root user account with sudo privileges. Please see the Initial server setup for Ubuntu 18.04 guide for more details. 1. Install Apache Let’s begin by updating the repositories and installing Apache. Press y and ENTER if prompted to install. sudo apt update && sudo apt install apache2 Installation may take a few minutes.…

Continue reading Installing Apache on Ubuntu 18.04 with Multiple Domains

Installing PHP for Apache on Ubuntu 18.04 Server

Installing PHP for Apache on Ubuntu 18.04 Server

In this guide we will install PHP 7 and configure it to work with the Apache web server on Ubuntu Server 18.04 (Bionic Beaver). The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic and interactive Web pages. As of 2018, PHP was used as the server-side programming language on 85% of 10 million most popular websites!

Video Tutorial

Prerequisites You should use a non-root user account as explained in the Ubuntu 18.04 Initial Server Setup. You should also have Apache already installed and be able to access a test web page in your browser as explained in our guide Installing Apache on Ubuntu 18.04 Server with Virtual Hosts. 1. Install PHP Let’s begin by…

Continue reading Installing PHP for Apache on Ubuntu 18.04 Server