Search

Friday, July 8, 2011

Ubuntu 11.04 - 01. Installations

Create Live USB

Install to Hardisk


sources :

http://www.howtogeek.com/howto/ubuntu/installing-php5-and-apache-on-ubuntu/

Ubuntu 11.04 - 03. Virtual Servers on Apache

Edit file host

Open /etc/host . Since file hosts is owned by root-like user, we need to use sudo.

# sudo hosts

Activate virtual host configuration in apache

To configure apache webserver VirtualHost in Ubuntu server is different from other linux OS like fedora/redhat/centos. In Ubuntu apache2 have separated the virtual host into sites-available and sited-enabled directory.


source : http://www.wowtutorial.org/tutorial/24.html

Edit virtual host conf


restart apache


test

Thursday, July 7, 2011

Ubuntu 11.04 - 02. Install Apache, Mysql & PHP

objectives : installing php & apache in Ubuntu 11.04 using default repository (source)


// TODO

In terminal, use commands below :
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart


sudo apt-get install mysql-server php5-mysql

sources :
http://www.howtogeek.com/howto/ubuntu/installing-php5-and-apache-on-ubuntu/