Dalam hal ini kita menggunakan domain yang sudah kita daftarkan di file DNS, yatu menggunakan domain www.wagiono.com
Langkah-langkah:
Install paket apache2 yang sudah tersedia di SUSE 11.1 dengan perintah:
# yast -i apache2
Install paket lainnya: apache2-example-pages, apache2-mod-php5, php5-mysql, dan mysql.
Edit file http.conf: # vi /etc/apache2/http.conf
Cari file “Directory Index”, lalu tambahkan kata “index.php” di sampingnya.
ServerName www.wagiono.com
Pindah ke directory Vhost.d: # cd /etc/apache2/vhost.d
kopi file vhost.template menjadi vhost.conf : # cp vhost.template vhost.conf, lalu edit dan tambahkan script: # vi vhost.conf
5. Start Apache: # rcapache2 start
6. Restart Apache: #rcapache2 restart
7. Cek di client
2 komentar: on "Web Server Dengan Apache2 (Linux SUSE 11.1)"
This truly is a very important blog. Thanks for sharing this valuable information with us.
thanks infonya
Post a Comment
Terima kasih atas komentar anda!