Ubuntu Apache Webserver
Installing Apache Webserver on Ubuntu
Step 1 : SSH to your instance
you@laptop:~$ ssh root@213.108.110.46
Step 2 : Install Apache Webserver
root@jbg:~# apt-get install apache2
Step 3 : Check the Webserver
Put your instance IP address (ex. 213.108.110.46) into your browser. You should see a page called "Apache2 Ubuntu Default Page".
Step 4 : Create your own homepage
root@jbg:~# cd /var/www/html
Create a backup of the default page.
root@jbg:~# mv index.html index.html.bkup
root@jbg:~# echo '<h1>Welcome 127.0.0.1!</h1>' > index.html