Tuesday, 18 August 2015

Langkah - Langkah Setting FTP Di Debian


Pastikan anda sudah menginstal Sistem Operasi Debian

1.nano/etc/network/interfaces

auto eth0
iface eth0 inet static
address 192.168.10.2
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
gateway 192.168.10.1
dns-nameserver 192.168.10.2
2./etc/init.d/networking restart
3.ifconfig

4.apt-get install bind9
aktifkan dvd 1 di device
kemudian

5.nano /etc/bind/named.conf.options

6.nano /etc/bind/named.conf.local
zone "taufik.com" {
type master;
file "/etc/bind/db.taufik.zone";
};
zone "10.168.192.in addr-arpa" {
type master;
file "/etc/bind/db.taufik.rev";
};

7.nano /etc/bind/db.local

@ IN SOA ns.taufik.com. admin.taufik.com.  (

@ IN NS ns.taufik.com
IN MX 10 192.168.10.2
ns IN A mail.taufik.com
www IN CNAME ns
mail IN CNAME ns
ftp IN CNAME ns
proxy IN CNAME ns

8.nano /etc/bind/db.127
9.nano db.127

@ IN SOA ns.taufik.com. admin.taufik.com.  (

;
@ IN NS ns.taufik.com.
2 IN PTR ns.taufik.com.

10.cp /etc/bind/db.local /etc/bind/db.taufik.zone
11.cp /etc/bind/db.127 /etc/bind/db.taufik.rev

12.nano /etc/hosts (ganti ip dibaris ke 2)
13.nano /etc/resolv.conf
14./etc/init.d/bind9 restart
15.ns lookup

FTP SERVER

1.mkdir /home/ftp
2.chmod 755 /home/ftp
buat user dan password
3.useradd ftp
#passwd ftp
#123456
#123456

instalasi software vsoftpd
4.apt-get install vsftpd
5.nano /etc/vsfpd/proftpd.conf

untuk keamanan tambahkan script ini
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."
kemudian delete tanda # pada bagian write_enable

simpan konfigurasi tkan ctrl+x lalu yes
restart ftp server
6./etc/init.d/vsftpd restart

No comments:

Post a Comment

Silahkan tinggalkan saran dan komentar anda