Rabu, 16 Januari 2008

server APA PUN aDa!!!


FTP server
FTP SERVERInstall dg printah#Apt-get install vsftpdTrus konfigurasi dengan perintah mcedit /etc/vsftpd.confEdit seperti di bawah ini/yang bergaris bawah(hanya menghilangkan tanda comment/# aj)# Allow anonymous FTP? (Beware - allowed by default if you comment this out).anonymous_enable=YES## Uncomment this to allow local users to log in.local_enable=YES## Uncomment this to enable any form of FTP write command.write_enable=YES## Uncomment this if you want the anonymous FTP user to be able to create# new directories.anon_mkdir_write_enable=YES## Activate directory messages - messages given to remote users when they# go into a certain directory.dirmessage_enable=YES## Activate logging of uploads/downloads.xferlog_enable=YES## Make sure PORT transfer connections originate from port 20 (ftp-data).connect_from_port_20=YES## If you want, you can arrange for uploaded anonymous files to be owned by# a different user. Note! Using "root" for uploaded files is not# recommended!#chown_uploads=YES#chown_username=whoever## You may override where the log file goes if you like. The default is shown# below.#xferlog_file=/var/log/vsftpd.log## If you want, you can have your log file in standard ftpd xferlog format#xferlog_std_format=YES## You may change the default value for timing out an idle session.#idle_session_timeout=600## You may change the default value for timing out a data connection.#data_connection_timeout=120## It is recommended that you define on your system a unique user which the# ftp server can use as a totally isolated and unprivileged user.#nopriv_user=ftpsecureKet : yang di perlu d edit hanya yang bergaris bawah J aj lainnya biarin ajSetelah itu restart dengan perintah /etc/init.d/vsftpd restartkemudian cek pada client windows, masuk windows explorer trus ketikkan ftp: ip yang anda pakai
Diposting oleh welcome to my blog di 19:13 0 komentar
Label:

DHCP server
DHCP SERVERInstall dengan perintah Apt-get install dhcp3-serverKonfigurasi dengan perintah mcedit /etc/dhcp3/dhcpd.confEdit seperti di bawah ini# A slightly different configuration for an internal subnet.subnet 192.168.10.0 netmask 255.255.255.0 {range 192.168.10.2 192.168.10.6;option domain-name-servers tkj.com;# option domain-name "internal.example.org";option routers 192.168.10.1;option broadcast-address 192.168.10.254;default-lease-time 600;max-lease-time 7200;}Ket: lainnya kasih tanda comment (#)
Diposting oleh welcome to my blog di 19:10 0 komentar
Label:

DNS server
Pertama install dengan perintah#Apt-get install bind9Konfigurasi named.confdengan perintah mcedit /etc/bind/named.confKemudian tambahkanzone "tkj.com" { =====è tergantung nama server yang andatype master; pakai file "/var/cache/bind/db.tkj"; =è letak zone file};zone "192.in-addr.arpa" { =====è ip yang anda gunakantype master;file "/var/cache/bind/db.192";};Konfigurasi zone fileBuatlah file dengan perintah touch db.tkj atau anda copy dari /etc/bind/db.localKemudian edit file db.tkj;; BIND data file for local loopback interface;$TTL 604800@ IN SOA tkj.com. root.tkj.com. (1 ; Serial604800 ; Refresh86400 ; Retry2419200 ; Expire604800 ) ; Negative Cache TTL;@ IN NS tkj.com.@ IN A 192.168.10.1www IN A 192.168.10.1Buatlah juga file db.192 dengan perintah touch db.192 atau anda copy dari /etc/bind/db.127Kemudian edit file db.192;; BIND reverse data file for local loopback interface;$TTL 604800@ IN SOA tkj.com. root.tkj.com. (1 ; Serial604800 ; Refresh86400 ; Retry2419200 ; Expire604800 ) ; Negative Cache TTL;@ IN NS tkj.com.1.10.168 IN PTR tkj.com.1.10.168 IN PTR www.tkj.com.
Diposting oleh welcome to my blog di 19:07 0 komentar
Label:

seting IP
File konfigurasi d debian terletak di /etc/network/interfaceEdit dengan perintah# mcedit /etc/network/interface atau#vi /etc/network/interfaceMasukkan konfigurasi ip seperti berikutauto loiface lo inet loopbackallow-hotplug eth0iface eth0 inet staticaddress 192.168.0.111 =====> ip yang akan anda gunakannetmask 255.255.255.0 =====>netmask dari ip yg anda pakaigateway 192.168.0.1 =====> gateway ip anda(biasanya ip paling awal)Untuk address dan netnask diisi dengan ip dan netmask jaringan anda.Setelah selesai simpan file tersebut dan kemudian restart jaringan# /etc/init.d/networking restartSelesai dech...