sudo apt-get install mysql-server
mysqladmin -u root password paswodnya-ach
sudo /etc/init.d/mysql restart
instal apache
apt-get install apache2 apache2-common apache2-doc apache2-mpm-prefork apache2-utils libapr0 libexpat1 ssl-cert libapache2-mod-auth-mysqlinstal php5
apt-get install autoconf automake1.4 autotools-dev libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php-pear php5-ldap php5-mhash php5-mysql php5-mysqli php5-snmp php5-sqlite php5-xmlrpc php5-xsl php5-imap php5-mcrypt php5-pspellJika muncul "Continue installing libc-client without Maildir support?" jawab "Yes"
Edit /etc/apache2/apache2.conf dan rubah "Directory Index" ke
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtmlEdit /etc/apache2/ports.conf dan tambahkan Listen 443
Listen 80Enable module apache
Listen 443
a2enmod sslKemudian restart apache anda
a2enmod rewrite
a2enmod suexec
a2enmod include
/etc/init.d/apache2 restartsilahkan akses dari browser anda http://localhost:443 untukk https/ssl dan http://localhost untuk http
source: http://ubuntuguide.org/wiki/Ubuntu_Edgy
http://www.howtoforge.com