Install LAMP Stack on Ubuntu 17.04 Server

Even Ubuntu 17.04 is not LTS version, some of you might wonder if this version can be used for server purposes. I personally not recommended to use Ubuntu 17.04 for a main server in a production machine because the official support to this release is only 9 month until January 2018 (Ubuntu Wiki). Regardless the support and life span of Ubuntu 17.04, I will show you how to use Ubuntu 17.04 as a LAMP Stack. You may want to take a look at my previous post on video tutorial to install Ubuntu 17.04.

Steps to install LAMP on Ubuntu 17.04

Step 1. Update Ubuntu

It is recommended to have the most recent packages installed on your system.

Step 2. Install Apache Web server

This step will install Apache web server on Ubuntu 17.04.

Check the web server 

Open a web browser from other computer and type the server IP address. It should shows something like this

Enable Apache on boot

Step 3. Install MySQL

The following step will install MySQL Server on Ubuntu 17.04

During installation, you will be asked to enter/provide root password for MySQL server. This password can be different with the system root password.

Now start and enable MySQL Server

Step 4. Install PHP

Now we can check the PHP version

At this point our LAMP Server on Ubuntu 17.04 is ready. We can then install various web applications such as WordPress, Owncloud, Pydio and some others.

1 Comment

Leave a Reply

Your email address will not be published.


*