Selasa, 30 Juli 2013

How to Install and Configure FTP Server

The installation steps is:

Insert your installation DVD. First we will mengsintall package vsftpd ftp server ie
# Apt-get install vsftpd

After that, you will receive a confirmation message. Just hit enter to continue.
And the installation process will take place shortly.
After the installation is complete. Then we go to the configuration stage.

First we go to the etc directory
# Cd / etc /

Then we will edit the vsftpd.conf file that is in that directory.
# Vim vstpd.conf

Find words that named
anonymous_enable = YES

Replace YES with NO.

After that look again
# local_enable = YES

Remove the fence in front of him.

After that look again
# write_enable = YES

Remove the fence in front of him.

After that look again
# anon_upload_enable = YES

Remove the fence in front of him.

Then save your edits lah.
And then restart vsftpd
# / Etc / init.d / vsftpd restart

Once you've finished configuring, then the next step is to add a subdomain ftp to your domain record. First make sure you have installed and configure DNS servers.

Login to bind directory
# Cd / etc/bind9

Db file and then edit your domain
# Vim db.ujian

After that add
ftp IN CNAME ns1

If you have added records for ns1. Or if you get confused just use

ftp IN A 192.168.0.1

replace 192.168.0.1 with your server IP.

Then save and restart your bind9.
# / Etc/init.d/bind9 restart

Then you can access your ftp server with the domain ftp.domainanda.com. To log in, use the user accounts that exist on your server. If not there you can add a user with the command

# Adduser USERNAME

0 komentar:

Posting Komentar