Just another ubuntu user

Wednesday, November 22, 2006

Web support ready on Edgy

instal mysql server
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-mysql
instal 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-pspell
Jika 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.xhtml
Edit /etc/apache2/ports.conf dan tambahkan Listen 443
Listen 80
Listen 443
Enable module apache
a2enmod ssl
a2enmod rewrite
a2enmod suexec
a2enmod include
Kemudian restart apache anda
/etc/init.d/apache2 restart
silahkan 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

No comments: