membangun ftp server vsftpd ubuntu 10.10

:: Konfigurasi ip untuk server
Buka terminal ctrl+alt+t

/etc/network/interfaces

–awal file interface–
auto eth0
iface eth0 inet static
address 192.168.1.4
gateway 192.168.1.1
netmask 255.255.255.0
–akhir file interface–

:: Restart network
/etc/init.d/networking restart

dengan berhasilnya restart network maka resmi  ip_server_ftp menjadi 192.168.1.4  🙂

:: Instal vsftpd

sudo apt-get install vsftpd

setelah selesai edit file config ftp pada /etc/vsftpd.conf

Untuk edit menggunakan nano

nano /etc/vsftpd.conf

— awal file vsftpd.conf
listen=YES
anonymous_enable=YES
local_enable=YES
anon_upload_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
— akhir file vsftpd.conf

:: Buat direktori test pada /srv/ftp untuk pengetesan, setelah instalasi sebuah folder ftp akan otomatis terbentuk pada /srv

mkdir /srv/ftp/test

buat sebut file text di folder test

nano /srv/ftp/test/test.txt

:: Restart service FTP
/etc/init.d/vsftpd restart

:: Pengetesan

buka internet browser ,,

ftp://192.168.1.4/

:: Selesai

Published by

saifiahmada

Begin a big Process with a bit trying

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s