How to: Install an Ubuntu-based Web Server on the Cloud

We teach you how to create a web server on the Ubuntu virtual machine on cloud

ubuntu-wordpress-server

Installing Wordpress on the Ubuntu Web Server

byod-tools

21 Hand-Picked Tools to Manage Mobile Devices on your Network

cloud

Creating New VMs and Adding Images

ubuntu-14-04-lts-trusty-tahr-beta-2

Ubuntu 14.04 Beta version 2 released!!

ubuntu-cloud

First create an Ubuntu image on your cloud. We have already discussed this in our article "Adding OS Images to the Cloud". Here we install it with the name DebTest and to configure web server on it, we need to install the LAMP stack which is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the virtual Machine is already running Ubuntu, the Linux part is taken care of. Now we discuss how to install the rest.
First login to Ubuntu virtual machine and get root access by default. The Ubuntu root user is locked so to get access use the following command and after that you will able to login as root.

Step 1-Install Apache
Apache is a free and open source software which runs mostly all Linux web servers. To install apache type in these commands :


To check whether Apache is up, direct your browser to your Ubuntu server IP. To check server IP, type ifconfig eth0.

Step 2-Install MySQL 5
To install MySQL, type the following command and you will be asked to provide a password for the MySQL root user - this password is valid for the user root@localhost as well as root@server1.example.com.

 

Previous 1 3
  • Follow PCQuest on
  • become a fan on
  • Stay updated via
  • RSS

LEAVE A REPLY

Notify me of follow-up comments via e-mail address

Post Comment

Survey Box

Now that Microsoft has finally discontinued support for Windows XP, which OS are you likely to upgrade to?

Send this article by email

X