Portal Net

  • BISNIS ONLINE
  • KOMPUTER
  • PAKAIAN ADAT PERNIKAHAN
  • RESEP MASAKAN
  • SMART PHONE
  • KESEHATAN
Beranda » Apache » Jaringan » LINUX » Mandrake » Web Server » Setting Web di Linux Mandrake 10.0

Setting Web di Linux Mandrake 10.0


Setting DNS terlebih dahulu

1. Install paket yang dibutuhkan yaitu :
# urpmi apache


2. Setting httpd2.conf dengan perintah :
# vi /etc/httpd/2.0/conf/httpd2.conf

3. Masuk pada konfigurasi httpd
Tekan tombol Insert dan tambahkan :
Seperti gambar dibawah
Server Name zainul.com (DNS Anda)
DocumentRoot /var/www/html (tempat data penyimpanan webnya)
Kemudian simpan dengan tekan tombol ESC (:wq) Enter.

4. Setting Vhost.conf dengan perintah
# vi /etc/httpd/2.0/conf/vhosts/Vhosts.conf

 

Masuk pada konfigurasi Vhosts
Setting dengan tekan tombol Insert dan tambahkan :
Seperti gambar dibawah
NameVirtualHost 192.168.21.1    (ip yang digunakan untuk DNS)
         (ip yang digunakan untuk DNS)
ServerName      zainul.com    (dns yang anda buat)
# ServerPath /domain
 DocumentRoot /var/www/html (tempat data penyimpanan webnya)
Kemudian simpan dengan tekan tombol ESC (:wq) Enter.


5. Kemudian buat web nya dengan web html atau php. Untuk ini saya menggunakan contoh menampilkan web php dan itupun bisa anda ganti dengan joomla, wordpress dll.
Untuk konfigurasi menampilkan php info dengan cara :
#vi /var/www/html/index.php  (vi kemudian tempan penyimpanan data web yang tadi di sertting di Vhosts ). Tekan Enter.

 

Kemudian isikan index.php dengan tekan tombol insert dan isi dengan :
phpinfo()
?>
Kemudian simpan dengan tekan ESC (:wq) dan Enter.
6. Restart httpd dengan perintah :
# service httpd restart
7. Kemudian cek dengan buka browser zainul.com (dns anda) dan jika berhasil akan muncul php seperti gambar dibawah.
Tweet
Setting Web di Linux Mandrake 10.0

Artikel keren lainnya:

Ditulis oleh Unknown pada tanggal
Posting Lebih Baru
Posting Lama
Beranda




Banyak Di Baca

  • HWiNFO terbaru Oktober 2017, versi 5.58 Build 3255
    HWiNFO (for DOS operating system), HWiNFO32™ and HWiNFO64™ (for both 32-bit and 64-bit Windows versions) is a collection of professional har...
  • Microsoft Security Essentials & offline update for Windows XP, Vista, 7 , 8, 8.1, 10 terbaru Desember 2016
    Microsoft Security Essentials is a free* download from Microsoft that is simple to install, easy to use, and always kept up-to-date so you c...
  • Cara Downgrade ASUS Zenfone 2 Laser 5,5" ZE550KL dari Marshmallow ke Lollipop
      File - File :     1) ADB : Setup versi 1.4.3 dan ADB Driver universal versi 2.0      3) Stock Lollipop Recovery Image ZE550KL versi 1.6.4...
  • Microsoft Windows and Office ISO Download Too terbaru September 2017, versi 5.21
    This new tool allows an easy and comfortable way to download genuine Windows 7, 8.1 and 10, as well as Office 2007, 2010, 2013 and 2016 disk...
  • Konfigurasi DNS di Fedora 7 / Setting DNS di Fedora 7
    Konfigurasi DNS di Linux Fedora 7 Pertama install fedora terlebih dahulu. Berikut langkah-langkah membuat DNS server : 1. Setting IP di Fedo...
  • .NET Framework 4.6.2 offline Installer
    Today we are excited to announce the availability of the .NET Framework 4.6.2! Many of the changes are based on your feedback, including tho...
  • Cara Setting IP di Ubuntu via Text
     Cara Setting IP di Ubuntu via Text     Berikut langkah-langkahnya : 1. Install Ubuntu terlebih dahulu atau klik disini. 2. Masuk konfiguras...
  • .NET Framework 4.7 (Offline Installer)
    Microsoft .NET Framework 4.7. Many of the changes are based on your feedback, including those submitted on UserVoice and Connect. Thanks for...
  • Daum PotPlayer terbaru Agustus 2017, versi 1.7.3344
    Daum PotPlayer is a freeware multimedia software from the author of The KMPlayer, it supports for all modern video and audio formats with a...
  • How to remove last name from facebook|TRICKS AND TIPS
    How to remove last name from facebook|TRICKS AND TIPS In this post i will teach you a trick in which you can remove you facebook last name f...

Arsip Blog

Total Tayangan Laman

Copyright © 2014 Portal Net - Powered by Blogger
Template by Mas Sugeng - Versi Seluler