Pengen Punya WebSite instan kualitas intan ?

Wednesday, January 12, 2011

Install Apache, PHP, MySql pada Ubuntu 9.04 (Jaunty Jackalope)

hallo...berikut catatan intallasi LAMP (Linux Apache MySQL PHP) pada Ubuntu 9.04 menggunakan apt-get :

install apache2

desktop1@desktop1-desktop:~$ sudo apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2-suexec libexpat1 ssl-cert

install PHP

desktop1@desktop1-desktop:~$ sudo apt-get install libapache2-mod-php5 libapache2-mod-ruby libapache2-mod-python php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

install MySql

desktop1@desktop1-desktop:~$ sudo apt-get install mysql-server mysql-client libmysqlclient15-dev

sedikit konfigurasi pada webser, Edit file /etc/apache2/sites-enabled/000-default . Ubah bagian :

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

menjadi :

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

Aktifkan module rewrite :

desktop1@desktop1-desktop:~$ sudo a2enmod rewrite

restart webserver :

root@desktop1-desktop:/home/desktop1# /etc/init.d/apache2 restart
 * Restarting web server apache2                                                apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
                                                                         [ OK ]

0 comments:

Post a Comment