Ketentuan
Server:
IP ADDRESS 192.168.30.1
NETMSK 255.255.255.0 (/24)
GATEWAY 192.168.30.254
Client:
IP ADDRESS 192.168.30.10
NETMASK 255.255.255.0 (/24)
GATEWAY 192.168.30.254
DNS 192.168.30.1
- Siapkan PC yang sudah terinstall system operasi Debian Woody
- Pastikan DNS Server sudah siap digunakan
- Setting file resolv.conf
# nano /etc/resolv.conf
search zulmi.net
nameserver 192.168.30.1
- install paket apache,php4
# apt-get install apache
- konfigurasi httpd.conf
# nano /etc/apache/httpd.conf
DirectoryIndex index.php index.html index.htm index.shtml index.cgi
DocumentRoot /home/zulmi/public_html
ServerName www.zulmi.net
- buat file index.php pada directory /home/zulmi/public_html
# vi /home/zulmi/public_html
<?
Phpinfo();
?>
- hidupkan service httpd
# /etc/init.d/apache restart
- cek pada client
- jika muncul tampilan php info seperti gambar diatas maka web server sudah bisa digunakan
Tidak ada komentar:
Posting Komentar