rss

iTs mE

iTs mE

WeLcOmE

WeLcOmE

About Me

Foto saya
ANISSA || simpel dan ga ribet :)

Jumat, 13 Februari 2009

PhP

Pada utorial ini mari kita belajar bersama menginstall web server dan database server di komputer kita. Hal ini sangat berguna untuk belajar dan mencoba script kita. Bayangkan apabila belajar PHP saja harus bolak-balik upload lewat FTP. Sungguh tidak menyenangkan tentunya.

Di bagian ini kita akan mempersiapkan hal-hal yang dibutuhkan untuk belajar PHP. Lihat daftar berikut:

  1. Installer Server: AppServ, Xampp, dan lain-lain
    AppServ adalah paket installer untuk Windows yang membundel program opensource yang terdiri dari:

  2. Text editor: Notepad atau lainnya (Scite, Ultra Edit, Notepad++, dan lain-lain)
    PHP adalah berupa script yang tidak perlu dikompilasi. Dengan menggunakan Notepad pun kita sudah bisa, akan tetapi apabila ingin lebih mudah kita bisa memanfaatkan software text editor yang memang didesain untuk itu. fasilitas yang biasanya ada adalah syntax hiliter dan line numbering.

  3. Browser: Internet Explorer atau lainnya (Mozilla Firefox, Opera, dan lain-lain)
    Browser digunakan untuk menampilkan script yang telah kita buat.

Yang harus Anda lakukan adalah mendapatkan paket installer. Untuk tutorial kali ini digunakan Appserv. Kita bisa memperolehnya di http://www.AppServNetwork.com dengan ukuran sekitar 14kb untuk AppServ versi 2.5.8. Sekarang mari kita install.

  1. Klik ganda file yang telah kita peroleh tadi
    instalasi appserv langkah 1

  2. Klik agree untuk melanjutkan installasi
    instalasi appserv langkah 2

  3. Klik next atau ganti "Destination Folder" apabila Anda ingin menginstallnya di tempat lain
    instalasi appserv langkah 3

  4. Karena semua paket instalasi dibutuhkan, maka langkah selanjutnya adalah klik next
    instalasi appserv langkah 4

  5. Isikan "Server Name" misalnya localhost, dan email Anda misalnya eko@imut.com, selanjutnya klik next
    instalasi appserv langkah 5

  6. Isi password Anda dua kali dan klik install
    instalasi appserv langkah 6

  7. Proses instalasi akan berjalan dan tunggu hingga selesai. Klik Finish
    instalasi appserv langkah 7

    instalasi appserv langkah 8

  8. Buka browser Anda misalnya Internet Explore dan ketikkan localhost di address bar, kemudian tekan enter. Apabila muncul tampilan seperti gambar di bawah ini berarti proses instalasi sudah berhasil.
    tampilan localhost dari appserv

  9. Selanjutnya klik tulisan phpMyAdmin Database Manager atau ketik localhost/phpmyadmin di address bar kemudian tekan enter.

  10. Kemudian Anda diminta mengisikan username dan password.
    Username : root
    Password : sesuai yang Anda isikan waktu instalasi
    password di phpmyadmin

  11. Klik OK, kemudian akan muncul tampilan seperti ini:
    phpmyadmin screenshot

  12. Proses installasi webserver dan database server selesai dan berfungsi sebagaimana mestinya. Selanjutnya kita bisa melanjutkan ke tahap selanjutnya


Selasa, 10 Februari 2009

Membuat dan Konfigurasi Situs FTP pada Windows Server 2003

untuk membuat situs FTP di Windows Server 2003 menggunakan Internet Services Manager dan script. The tutorial will also will explain how to perform common administration tasks involving FTP sites and also how to implement FTP User Isolation, a new feature of Windows Server 2003 enables users to have their own separate FTP home directories. Tutorial juga akan menjelaskan bagaimana untuk melakukan tugas-tugas administrasi umum melibatkan situs FTP dan juga cara menerapkan FTP Pengguna Isolasi, fitur baru dari Windows Server 2003 memungkinkan pengguna untuk memiliki rumah direktori FTP terpisah.

pErAnAn sErVeR

Windows Server 2003 merupakan sistem operasi serba guna mampu menangani beragam rangkaian server peran, tergantung kebutuhan anda, baik dalam sentralisasi atau didistribusikan mode. Some of these server roles include: Beberapa server peran ini termasuk:
  • File and print server. Mencetak file dan server.
  • Web server and Web application services. Web server dan aplikasi layanan Web.
  • Mail server. Mail server.
  • Terminal server. Terminal server.
  • Remote access and virtual private network (VPN) server. Terpencil dan akses virtual private network (VPN) server.
  • Directory services, Domain Name System (DNS), Dynamic Host Configuration Protocol (DHCP) server, and Windows Internet Naming Service (WINS). Direktori layanan, Domain Name System (DNS), Dynamic Host Configuration Protocol (DHCP) server, dan Windows Internet Naming Service (wins).
  • Streaming media server. Streaming media server.

This product overview explains the basics of the Windows Server 2003 operating systems and includes links to more detailed information. Sekilas produk ini menjelaskan dasar-dasar Windows Server 2003 dengan sistem operasi dan termasuk link ke informasi yang lebih terperinci.

kEuNgGUlAn wInDoWs sErVeR 2003 SiStEm oPeRaSi

Windows Server 2003 memberikan empat manfaat utama:
Benefit Manfaat Description Keterangan
Dependable Dependable

Windows Server 2003 is the fastest, most reliable, most secure Windows server operating system ever offered by Microsoft. Windows Server 2003 yang tercepat dan paling dapat diandalkan, paling aman sistem operasi Windows server pernah ditawarkan oleh Microsoft. Windows Server 2003 delivers dependability by: Windows Server 2003 memberikan keteguhan oleh:

  • Providing an IT infrastructure that delivers fundamental value: improved reliability, better availability, and increased scalability. Menyediakan infrastruktur TI yang memberikan nilai fundamental: meningkatkan kehandalan, ketersediaan lebih baik, dan peningkatan skalabilitas.
  • Including an application platform with built-in traditional application server functionality on top of extensive operating system capabilities. Termasuk aplikasi platform dengan built-in tradisional server fungsi aplikasi di atas kemampuan sistem operasi yang luas.
  • Integrating an information worker infrastructure that helps keep business information secure and accessible. Mengintegrasikan informasi pekerja infrastruktur yang membantu menjaga informasi bisnis aman dan mudah.
Productive Produktif

Windows Server 2003 provides the tools that simplify deployment, management, and administration and maximize productivity. Windows Server 2003 menyediakan alat-alat yang mempermudah deployment, pengelolaan, dan administrasi dan memaksimalkan produktivitas.
Windows Server 2003 does this by: Windows Server 2003 ini oleh:

  • Providing flexible tools that help match your design and deployment to your organizational and network needs. Fleksibel memberikan bantuan alat-alat yang sesuai dengan desain dan penyebaran ke jaringan organisasi dan kebutuhan.
  • Helping you manage your network proactively by enforcing policy, automating tasks, and simplifying updates. Membantu Anda mengelola jaringan secara proaktif oleh menegakkan kebijakan, automating tugas, dan menyederhanakan update.
  • Helping you lower support overhead by letting users do more on their own. Membantu Anda menurunkan dukungan overhead oleh memberitahu pengguna lebih pada mereka sendiri.

Connected Terhubung

Windows Server 2003 provides an extensible application platform for quickly building solutions that keep employees, partners, systems, and customers connected. Windows Server 2003 menyediakan sebuah platform extensible aplikasi dengan cepat untuk membangun solusi yang dapat mempertahankan karyawan, mitra, sistem, dan pelanggan terhubung.

Windows Server 2003 does this by: Windows Server 2003 ini oleh:

  • Providing an integrated Web server and streaming media server that helps you quickly, easily, and securely create dynamic intranet and Internet Web sites. Menyediakan suatu web server dan streaming media server yang membantu Anda dengan cepat, mudah, aman dan dinamis membuat intranet dan internet situs-situs tersebut.
  • Providing built-in services that help you easily develop, deploy, and manage XML Web services. Built-in menyediakan layanan yang dapat membantu Anda dengan mudah mengembangkan, menyebarkan, dan mengelola layanan Web XML.
  • Providing the tools that enable you to connect XML Web services to internal applications, suppliers, and partners. Menyediakan alat-alat yang memungkinkan anda untuk menghubungkan ke layanan Web XML aplikasi internal, pemasok, dan mitra kerja.

Best Economics Jawaban Ekonomi

When combined with products and services from the many Microsoft hardware, software, and channel partners, Windows Server 2003 provides the choices that help you get the greatest return on your infrastructure investments. Ketika dikombinasikan dengan produk dan layanan dari Microsoft banyak perangkat keras, perangkat lunak, dan saluran mitra, Windows Server 2003 menyediakan pilihan yang dapat membantu Anda mendapatkan lebih banyak laba atas investasi infrastruktur.

Windows Server 2003 does this by: Windows Server 2003 ini oleh:

  • Providing ease-of-use and prescriptive guidance for complete solutions that enable you to quickly put technology to work. Memberikan kemudahan-yang digunakan untuk pembinaan dan menentukan solusi lengkap yang memungkinkan Anda untuk cepat menempatkan teknologi untuk bekerja.
  • Helping you consolidate servers by taking advantage of the latest hardware, software, and methodologies to optimize your server deployments. Membantu Anda mengkonsolidasikan server oleh mengambil keuntungan dari terbaru hardware, software, dan metodologi untuk mengoptimalkan server deployments.
  • Lowering your total cost of ownership (TCO) to realize a fast return on investment. Mengurangi total biaya kepemilikan (TCO) untuk mewujudkan yang cepat laba atas investasi.

ApA yAnG AdA Di wInDoWs sErVeR 2003 OErAtInG SyStEm???

Windows Server 2003, termasuk produk-produk berikut:
Product Produk Description Keterangan

Windows Server 2003 R2 Standard Edition Windows Server 2003 R2 Standard Edition

Windows Server 2003 R2 Standard Edition, is designed for departmental and standard workloads and delivers the following benefits: Windows Server 2003 R2 Standard Edition, dirancang untuk departemen dan standar beban kerja dan memberikan manfaat sebagai berikut:

  • Support for file and printer sharing. Dukungan untuk berbagi file dan printer.
  • More secure Internet connectivity. Lebih aman konektivitas Internet.
  • Centralized desktop application deployment. Sentralisasi deployment aplikasi desktop.

For more information about the 32-bit version, see the Windows Server 2003 R2 Standard Edition, Overview . Untuk informasi lebih lanjut tentang versi 32-bit, lihat Windows Server 2003 R2 Standard Edition, Overview.

Windows Server 2003 R2 Standard x64 Edition Windows Server 2003 R2 Standard x64 Edition

Windows Server 2003 R2 Standard x64 Edition, is designed for departmental and standard workloads and delivers the following benefits: Windows Server 2003 R2 Standard x64 Edition, dirancang untuk departemen dan standar beban kerja dan memberikan manfaat sebagai berikut:

  • Support for file and printer sharing. Dukungan untuk berbagi file dan printer.
  • More secure Internet connectivity. Lebih aman konektivitas Internet.
  • Centralized desktop application deployment. Sentralisasi deployment aplikasi desktop.

For more information about Standard x64 Edition, see the Windows Server 2003 R2 Standard x64 Edition, Overview . Untuk informasi lebih lanjut tentang standar x64 Edition, lihat Windows Server 2003 R2 Standard x64 Edition, Overview.

Windows Server 2003 R2 Enterprise Edition Windows Server 2003 R2 Enterprise Edition

Built for mission-critical server workloads, Windows Server 2003 R2 Enterprise Edition, is the platform of choice for applications, Web services, and infrastructure. Dibangun untuk misi penting beban kerja server, Windows Server 2003 R2 Enterprise Edition, adalah platform pilihan untuk aplikasi, layanan Web, dan infrastruktur. Delivering high reliability, performance, and superior business value, Windows Server 2003 R2 Enterprise Edition, provides these benefits: Memberikan keandalan tinggi, kinerja, keunggulan dan nilai bisnis, Windows Server 2003 R2 Enterprise Edition, ini memberikan keuntungan:

  • A full-function server operating system that supports up to 8 processors. A full-fungsi sistem operasi server yang mendukung hingga 8 prosesor.
  • Enterprise-class features, such as eight-node clustering and support for up to 64 GB of memory. Perusahaan kelas fitur, seperti delapan-node clustering dan mendukung hingga 64 GB memori.

For more information about the 32-bit version, see the Windows Server 2003 Enterprise Edition, Overview . Untuk informasi lebih lanjut tentang versi 32-bit, lihat Windows Server 2003 Enterprise Edition, Overview.

Windows Server 2003 R2 Enterprise x64 Edition Windows Server 2003 R2 Enterprise x64 Edition

Built for mission-critical server workloads, Windows Server 2003 R2 Enterprise x64 Edition, is the platform of choice for applications, Web services, and infrastructure. Dibangun untuk misi penting beban kerja server, Windows Server 2003 R2 Enterprise x64 Edition, adalah platform pilihan untuk aplikasi, layanan Web, dan infrastruktur. Delivering high reliability, performance, and superior business value, Windows Server 2003 R2 Enterprise x64 Edition, provides these benefits: Memberikan keandalan tinggi, kinerja, keunggulan dan nilai bisnis, Windows Server 2003 R2 Enterprise x64 Edition, ini memberikan keuntungan:

  • A full-function server operating system that supports up to 8 processors. A full-fungsi sistem operasi server yang mendukung hingga 8 prosesor.
  • Support for AMD Opteron and AMD Athlon 64 processors, or Intel Xeon or Pentium 4 processors with EM64T. Dukungan untuk AMD Opteron dan prosesor AMD Athlon 64, atau Intel Pentium 4 Xeon atau prosesor dengan EM64T.
  • Enterprise-class features, such as eight-node clustering and support for up to 1 TB of memory. Perusahaan kelas fitur, seperti delapan-node clustering dan dukungan untuk hingga 1 TB dari memori.

For more information about Enterprise x64 Edition, see Windows Server 2003 Enterprise x64 Edition Overview . Untuk informasi lebih lanjut tentang Enterprise x64 Edition, lihat Windows Server 2003 Enterprise Edition x64 Overview.

Windows Server 2003 Enterprise Edition for Itanium-based Systems Windows Server 2003 Enterprise Edition untuk Sistem berbasis Itanium

Windows Server 2003 Enterprise Edition for Itanium-based systems is intended for scale-up database and business applications requiring the highest levels of reliability, availability, and scalability. Windows Server 2003 Enterprise Edition for Itanium-sistem ini dimaksudkan untuk skala-up database dan aplikasi bisnis yang memerlukan tingkat keandalan, ketersediaan, dan skalabilitas. Benefits of Windows Server 2003 Enterprise Edition for Itanium-based systems include: Keunggulan Windows Server 2003 Enterprise Edition untuk sistem berbasis Itanium termasuk:

  • A full-function server operating system that supports up to 8 Itanium processors. A full-fungsi sistem operasi server yang mendukung hingga 8 prosesor Itanium.
  • Enterprise-class features, such as eight-node clustering and support for up to 1 TB of memory. Perusahaan kelas fitur, seperti delapan-node clustering dan dukungan untuk hingga 1 TB dari memori.
  • Increased availability through support for Machine Check Architecture (MCA). Melalui peningkatan ketersediaan dukungan untuk Mesin Periksa Architecture (MCA).

For more information about Enterprise Edition for Itanium-based Systems, see Windows Server 2003 Enterprise Edition for Itanium-based Systems . Untuk informasi lebih lanjut tentang Enterprise Edition untuk Sistem berbasis Itanium, lihat Windows Server 2003 Enterprise Edition untuk Sistem berbasis Itanium.

Windows Server 2003 R2, Datacenter Edition Windows Server 2003 R2, data Edition

Windows Server 2003 Datacenter Edition, is built for the highest levels of scalability and reliability. Windows Server 2003 data Edition, dibangun untuk tingkat skalabilitas dan kehandalan. Only this platform offers the Datacenter High Availability Program of support and services. Platform ini hanya menawarkan data tinggi Ketersediaan Program dukungan dan layanan. Benefits of Windows Server 2003 Datacenter Edition, include: Keunggulan Windows Server 2003 data Edition, termasuk:

  • The most powerful and functional server operating system Microsoft has ever offered. Yang paling kuat dan fungsional server sistem operasi Microsoft yang pernah ditawarkan.
  • Support for up to 32-way SMP and 64 GB of RAM with the 32-bit version. Untuk mendukung sampai 32-way SMP dan 64 GB RAM dengan versi 32-bit.
  • Both 8-node clustering and load balancing services as standard features. Kedua 8-node clustering load balancing dan layanan sebagai fitur standar.
  • Windows System Resource Manager to facilitate consolidation and system management. Windows System Resource Manager untuk memfasilitasi konsolidasi dan sistem manajemen.

For more information about the 32-bit version, see the Windows Server 2003 Datacenter Edition, Overview . Untuk informasi lebih lanjut tentang versi 32-bit, lihat Windows Server 2003 data Edition, Overview.

Windows Server 2003 Datacenter x64 Edition Windows Server 2003 data x64 Edition

Windows Server 2003 Datacenter x64 Edition, is built for the highest levels of scalability and reliability. Windows Server 2003 data x64 Edition, dibangun untuk tingkat skalabilitas dan kehandalan. Only this platform offers the Datacenter High Availability Program of support and services. Platform ini hanya menawarkan data tinggi Ketersediaan Program dukungan dan layanan. Benefits of Windows Server 2003 Datacenter x64 Edition, include: Keunggulan Windows Server 2003 data x64 Edition, termasuk:

  • The most powerful and functional server operating system Microsoft has ever offered. Yang paling kuat dan fungsional server sistem operasi Microsoft yang pernah ditawarkan.
  • Support for up to 128-way machines with individual partitions of up to 64 processors and 1 TB of RAM with the 64-bit versions . Untuk mendukung sampai 128-mesin dengan cara partisi dari individu sampai dengan 64 prosesor dan 1 TB RAM dengan versi 64-bit.
  • Both 8-node clustering and load balancing services as standard features. Kedua 8-node clustering load balancing dan layanan sebagai fitur standar.
  • Windows System Resource Manager to facilitate consolidation and system management. Windows System Resource Manager untuk memfasilitasi konsolidasi dan sistem manajemen.

For more information about Datacenter x64 Edition, see Windows Server 2003 R2, Datacenter x64 Edition . Untuk informasi lebih lanjut tentang data x64 Edition, lihat Windows Server 2003 R2, data x64 Edition.

Windows Server 2003 Datacenter Edition for Itanium-based Systems Windows Server 2003 data Edition untuk Sistem berbasis Itanium

Windows Server 2003 Datacenter Edition for Itanium-based systems, is built for the highest levels of scalability and reliability. Windows Server 2003 Edisi data untuk sistem berbasis Itanium, dibangun untuk tingkat skalabilitas dan kehandalan. Only this platform offers the Datacenter High Availability Program of support and services. Platform ini hanya menawarkan data tinggi Ketersediaan Program dukungan dan layanan. Benefits of Windows Server 2003 Datacenter Edition for Itanium-based systems, include: Keunggulan Windows Server 2003 Edisi data untuk sistem berbasis Itanium, termasuk:

  • The most powerful and functional server operating system Microsoft has ever offered. Yang paling kuat dan fungsional server sistem operasi Microsoft yang pernah ditawarkan.
  • Support for up to 128-way machines with individual partitions of up to 64 processors and 1 TB of RAM. Untuk mendukung sampai 128-mesin dengan cara partisi dari individu sampai dengan 64 prosesor dan 1 TB RAM.
  • Both 8-node clustering and load balancing services as standard features. Kedua 8-node clustering load balancing dan layanan sebagai fitur standar.

For more information about Datacenter Edition for Itanium-based Systems, see Windows Server 2003 Datacenter Edition for Itanium-based systems . Untuk informasi lebih lanjut tentang data Edition untuk Sistem berbasis Itanium, lihat Windows Server 2003 Edisi data untuk sistem berbasis Itanium.

Windows Server 2003 Web Edition Windows Server 2003 Web Edition

A new product within the Windows operating systems, Windows Server 2003 Web Edition, offers dedicated Web serving and hosting as well as the following benefits: Produk baru di dalam sistem operasi Windows, Windows Server 2003 Web Edition, menawarkan berdedikasi dan melayani Web hosting serta manfaat sebagai berikut:

  • A platform for building and hosting Web applications, Web pages, and XML Web Services. Sebuah platform untuk membangun aplikasi dan web hosting, halaman Web, Web Services dan XML.
  • A design intended for use primarily as an IIS 6.0 Web server. J desain terutama untuk digunakan sebagai server web IIS 6,0.
  • A platform for rapidly developing and deploying XML Web services and applications that use ASP.NET technology, a key part of the .NET Framework. J platform untuk berkembang pesat dan deploying XML Web layanan dan aplikasi yang menggunakan teknologi ASP.NET, tombol bagian. NET Framework.
  • Ease of deployment and management. Kemudahan deployment dan manajemen.

For more information, see the Windows Server 2003 Web Edition, Overview . Untuk informasi lebih lanjut, lihat Windows Server 2003 Web Edition, Overview.

Windows Small Business Server 2003 Windows Small Business Server 2003

Windows Small Business Server 2003 provides a complete business server solution for small businesses. Windows Small Business Server 2003 memberikan solusi lengkap server untuk bisnis usaha kecil. The integrated suite of server products enables companies to share information and resources safely and securely. Yang terpadu suite dari server produk memungkinkan perusahaan untuk berbagi informasi dan sumber daya aman dan aman.

  • Standard Edition includes Windows Server 2003 Standard Edition, Microsoft Windows SharePoint Services, Microsoft Exchange Server 2003, and Microsoft Shared Fax Service. Edisi Standar mencakup Windows Server 2003 Standard Edition, Microsoft Windows SharePoint Services, Microsoft Exchange Server 2003, dan Microsoft Shared Fax Service.
  • Premium Edition includes Windows Server 2003 Standard Edition, Microsoft Windows SharePoint Services, Microsoft Exchange Server 2003, Microsoft Office Outlook 2003, Microsoft Shared Fax Service, Microsoft Internet Security and Acceleration (ISA) Server, Microsoft SQL Server 2000, and Microsoft Office FrontPage 2003. Premium Edition termasuk Windows Server 2003 Standard Edition, Microsoft Windows SharePoint Services, Microsoft Exchange Server 2003, Microsoft Office Outlook 2003, Microsoft Shared Fax Service, Microsoft Internet Security dan Akselerasi (ISA) Server, Microsoft SQL Server 2000, dan Microsoft Office FrontPage 2003.

For more information, see the Windows Small Business Server 2003 Web site . Untuk informasi lebih lanjut, lihat Windows Small Business Server 2003 Web site.

Senin, 09 Februari 2009

bElAjAr dAn mEnGeNaL DhCp wINd sErVEr 2003

DHCP (Dynamic Host Configuration Protocol) menyederhanakan pengurusan dan pengelolaan alamat-alamat IP pada
sebuah jaringan TCP/IP dengan mengotomatiskan konfigurasi alamat untuk client-client jaringan. DHCP server
ditentukan sebagai komputer apa saja yang mengoperasikan

layanan DHCP. Windows Server 2003 menyediakan layanan DHCP Server, yang memungkinkan sebuah komputer
berfungsi sebagai DHCP server dan mengonfigurasi komputer-kompuer client yang diaktifkan DHCP pada jaringan
Anda.


Keterangan DHCP (Dymanic Host Configuration Protocol) Server di Microsoft Windows 2003 Server menyediakan
beberapa fasilitas, antara lain:



- Integrasi dengan DNS dan layanan direktori Microsoft Active Directory



- Pelaporan statistik dan pemantauan yang sudah ditingkatkan



- Dukungan kelas-pemakai dan pilihan-pilihan vendor spesifik



- Deteksi DHCP server tunggal



Masing-masing komputer pada sebuah jaringan yang berbasis TCP/IP harus mempunyai sebuah alamat IP yang unik
agar dapat mengakses jaringan dan sumber dayanya. Tanpa DHCP, konfigurasi IP harus dikerjakan secara manual bagi
komputer-komputer yang baru, komputer-komputer yang dipindahkan dari satu sub jaringan ke sub jaringan lainnya, dan
komputer-komputer yang

dipindahkan dari jaringan. Dengan mengembangkan DHCP di sebuah jaringan, seluruh proses ini diotomatiskan dan
dikelola secara sentral.

Implementasi DHCP dihubungkan sangat dekat dengan WINS (Windows Internet Name Service) dan DNS yang akan
dimanfaatkan oleh administrator jaringan untuk menggabungkan ketiganya ketika merencanakan penyebaran. Jika Anda
memakai DHCP Server untuk client jaringan Microsoft Windows, maka Anda harus memakai suatu layanan resolusi
nama.Jaringan Microsoft Windows 2003 Server memakai layanan DNS untuk mendukung Active Directory selain
resolusi nama yang umum. Jaringan yang mendukung client Windows 2000 dan sebelumnya mesti memakai WINS
server. Jaringan yang mendukung suatu kombinasi client Microsoft Windows 2003 Server dan Microsoft Windows 2000
harus mengimplementasikan baik WINS maupun DNS.





Sabtu, 13 Desember 2008

gAtEwAy & nAmEsErVeR

Nah dibagian - bagian awal ada ini :

option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;

Dua baris pertama adalah setting gateway, baris atas adalah domain-search, sedangkan dibawahnya adalah namaservernya. Silahkan di edit sesuai dengan kebutuhan
Untuk konfigurasi yang saya gunakan :

option domain-name "domainku.com";
option domain-name-servers 192.168.1.254;

Baris kedua harus diisikan dengan ip atau nameserver yang valid, atau Client DHCP kita tidak bisa mengakses public domain. Berhubung saya sudah membuat sebuah DNS Server pada ip 192.168.1.254 maka itu yang saya gunakan.

Kita juga diharuskan untuk menambahkan baris berikut sesuai aturan dari Internet Systems Consortium. Kalau tidak percaya beri tanda # untuk menjadikannya komentar dan dijamin dhcp servernya tidak mau start.

ddns-update-style ad-hoc;

Lease-Time
Selanjutnya bisa ditebak, opsi untuk menentukan waktu dari DHCP Server untuk melakukan pemberian IP dan pengecekan kembali dari Host apakah masih aktif atau tidak.

default-lease-time 600;
max-lease-time 7200;

Biarkan saja seperti itu, better keep it default. :D
Masih ada beberapa opsi lagi, seperti log dan autorisasi. Namun seperti opsi diatas better keep it default.

Range IP / Subnet
Berikutnya adalah penentuan range ip atau yang dikenal dengan subnet. Pada contoh dhcpd.conf kita terdapat beberapa subnet contoh, dan bisa digunakan sebagai acuan.

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option routers 192.168.1.254;
}

Pada konfigurasi subnet diatas, kita membuat DHCP Server pada network 192.168.1.0 dengan netmask 255.255.255.0 dengan range IP DHCP adalah 192.168.1.100 - sampai dengan 192.168.1.200.

Pada bagian ini juga ada option routers yang berarti ip gateway dari IP DHCP. Opsi routers juga bisa ditempatkan diluar (Global) sehingga secara default akan memasukkan option routers pada subnet kecuali disebutkan secara eksplisit.

Kita juga bisa memberikan ip tertentu pada suatu host tertentu misalnya :

host pegasus {
hardware ethernet 00:16:EC:4B:98:B6;
fixed-address 192.168.10.99;
}

Dengan konfig tersebut setiap kali komputer dengan mac-address 00:16:EC:4B:98:B6 terhubung dan meminta IP pada DHCP Server maka akan di berikan ip 192.168.10.99. Opsi - opsi yang lain juga masih banyak silahkan mempelajari file dhcpd.conf example tersebut, atau bisa baca manual / dokumentasi yang lebih lengkap mengenai DHCP Server. Namun dengan konfigurasi diatas kita sudah bisa mempunya sebuah DHPC Server.

Konfigurasi Lengkap ;)
Berikut adalah config lengkap dari dhpcd.conf yang saya gunakan :

option domain-name "domainku.com";
option domain-name-servers 192.168.1.254;
ddns-update-style ad-hoc;

default-lease-time 600;
max-lease-time 7200;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option routers 192.168.1.254;
}

host pegasus {
hardware ethernet 00:16:EC:4B:98:B6;
fixed-address 192.168.10.99;
}

Mengaktifkan DHCP Server
Selanjutnya tentu saja mengaktifkan dhpcd servernya :

/usr/sbin/dhpcd

Supaya aktif tiap kali boot, tinggal masukkan di rc.local.

echo "/usr/sbin/dhpcd" >> /etc/rc.d/rc.local

Untuk menggunakannya, pilih Obtain IP Address Automatically di windows atau ketikkan perintah dhcpcd -d eth0 sebagai root di konsole Linux

# dhcpcd -d eth0

Jika yang akan di berikan ip address adalah eth0. Jika sudah periksa dengan perintah ifconfig dilinux atau ipconfig command prompt windows