Kang Mas Marom’s Weblog

“AKU ADALAH AKU, AKU BUKAN DIA DAN AKU JUGA BUKAN MEREKA”

Configure FTP server Linux

Posted by maromfive on November 17, 2008

Making FTp server on LInux Debian 4

function: serving the client for upload and download the files

making step:

1. Set ip addrss as interface for Ftp server

# vim /etc/network/interfaces

……………………………………….

address 192.168.1.1

network 192.168.1.0

netmask 255.255.255.0

broadcast 192.168.1.255

…………………………………

2. Install Vsftpd packet

# apt-get install vsftpd

3. configure Vsftp file

# vim /etc/vsftpd.conf

…………………………………………..

anonymou enable = NO (disable anonymous user)

locla_enable = YES (enable local user for FTp server)

write enable = YES (enable upload for local user)

local_umask = 022

dirmessage_enable = YES

xferlog_enable = YES

connect_from_port_21 = YES

chown_username = whoever

xferlog_file = /var/log/vsftpd.log

idle_session_timeout = 600 (time foe iddle timeout)

data_connection_timeout = 200

……………………………………….

4. Running vsftpd daemon

# /etc/init.d/vsftpd start

or if vsftpd is running you can restart it with

# /etc/init.d/vsftpd restart

5. testing Ftp server local

# telnet localhost 21

or

# ftp localhost

6. Try to upload or download the file

login to ftp server

# telnet localhost 21

then insert your user and password

to see the directoru you can type

#ls

to upload

# put filename

to download

# get filename

……

location of File in server FTP in directory of user /home/user

for anonymous user in /home/ftp

ok.. good luck for build FTP server….

shinichi_ozy

One Response to “Configure FTP server Linux”

  1. Rozim said

    Nice tips bro, I will wait your next tiips and trick :)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>