:: LasT_CoFFiN Was Here ::

Gw orangnya aga gemuk, item (tau manis tau ga neh..!! hehe), disinilah Tempat Gw mencurahkan perasaan dan saling berbagi..!!

Tuesday, June 20, 2006

XAMPP for Linux

XAMPP adalah paket distribusi apache yang sangat mudah sekali di install di Linux, Solaris, Windows and Mac OS X. paket yang terdapat pada xampp adalah Apache web server, MySQL, PHP, Perl, a FTP server dan phpMyAdmin.

ikuti instruksi simpel untuk install XAMPP di Linux seperti ini :

1. login to root, then goto /opt directory

zae@LasT_CoFFiN:/opt$ su -
Password:
root@LasT_CoFFiN:~# cd /opt/


2. download sourcecodenya :

root@LasT_CoFFiN:/opt# wget http://jaist.dl.sourceforge.net/sourceforge/xampp/xampp-linux-1.5.1.tar.gz


3. ekstrax sourcecodenya :

tar -xvzf xampp-linux-1.5.1.tar.gz

(langkah tersebut akan membuat direktori lampp)
root@LasT_CoFFiN:/opt# ls -al
total 50508
drwxr-xr-x 20 root root 4096 2005-12-15 04:58 lampp
-rw-r--r-- 1 root root 6407320 2006-04-22 19:04 xampp-linux-1.5.1.tar.gz
root@LasT_CoFFiN:/opt# cd lampp/
root@LasT_CoFFiN:/opt/lampp#


4. jalankan aplikasinya (Apache, MySQL, PHP, FTP )

root@LasT_CoFFiN:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.5.0...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.


5. check MySQL dan Apache :

root@LasT_CoFFiN:~# /opt/lampp/bin/mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.0.15

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


atau dapat juga dengan eksport /opt/lampp/bin/mysql ke /usr/bin/mysql jadi dapat dilakukan pada direktori tersebut untuk menjalankannya.

untuk mengecek apakah apache sudah jalan atau belum, buka browser:
http://localhost
http://localhost/phpmyadmin/


mudah kan?? :P

0 Comments:

Post a Comment

<< Home