Berikut Langkah-langkahnya :
Dan tambahkan script dibawah pada zone forward dns :
ftp A 192.168.21.1 (ip FTP anda)
Restart DNS
# service named restart
Stopping named: [ OK ]
Starting named: [ OK ]
Stopping named: [ OK ]
Starting named: [ OK ]
Cek Domain FTP yang tadi dibuat :
# nslookup
> ftp.zainul.com
Server: 192.168.21.1
Address: 192.168.21.1#53
Name: ftp.zainul.com
Address: 192.168.21.1
> exit
> ftp.zainul.com
Server: 192.168.21.1
Address: 192.168.21.1#53
Name: ftp.zainul.com
Address: 192.168.21.1
> exit
3. Install Paket vsftpd dengan perintah :
# yum -y install vsftpd
4. Setting FTP
# vi /etc/vsftpd/vsftpd.conf
# vi /etc/vsftpd/vsftpd.conf
atau
# vim /etc/vsftpd/vsftpd.conf
Setting seperti dibawah :
anonymous_enable=NO (jika yes berarti langsung masuk atau tidak pakek authentifikasi)
local_enable=YES
write_enable=YES
local_umask=022
local_enable=YES
write_enable=YES
local_umask=022
Kemudian Simpan dengan tekan ESC ketik :wq Enter.
5. Restart FTP
# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
6. Buat user jika belum ada.
# useradd -m zainul
# passwd zainul
New UNIX password:
Retype new UNIX password:
# useradd -m zainul
# passwd zainul
New UNIX password:
Retype new UNIX password:
7. Cek FTP di browser. Misal : ftp.zainul.com
Masukkan User dan Password.
Akan Tampil Seperti gambar dibawah.
8. Mengisi file FTP agar bisa di dowload misal : software, game, OS dll.
Masuk Explorer pada Windows lewat client. Buka di address bar alamat ftp misal : ftp.zainul.com
9. Copy file ke folder FTP.
10. Coba cek di browser dan Download File nya.
No comments:
Post a Comment