Lompat ke konten Lompat ke sidebar Lompat ke footer

Ftp Server Configuration Fedora 11 And 12

FTP SERVER CONFIGURATION Fedora 11 AND 12



  • Definition of ftp server (File Transfer Protocol)

           FTP SERVER is the Internet Protocol is running in the application layer which is standard for the transferor files (File) computer inter-machine machine in a network,FTP is one of the earliest Internet protocols developedand is still used at the time of Doing It For Downloading and upload computer files between FTP-client andFTP-server, a FTP client is an application that can Remove commands FTP to anFTP server,
Using the FTP protocol Tranmision Control Protocol (TCP) for the CommunicationsServer and ClientFTP hnya Using Standard Authentication methodIe use theUsername and Password Posted in unencrypted form

  • Open a terminal prior Formerly applications> system toolsterminal

[ root@ server aldye ] $ su
passwd
[ root@ server aldye ] #
    This time we will look for files Vsftpd, typed as Below.


[ root@ server aldye ] # locate vsftpd
          It's going out a lot of files named Vsftpd but we refer to the Directory of / etc / vsftpd /vsftpd.conf, We Edit this file To Configure FTP server


Then Here's some lines that should you Edit:

  •  Line 15. Change from No to Yes
              local_enable = YES
  • line 18
              write_enable = YES
  • Lines 80, 81 Eliminate Command (#)
            ascii_upload_enable = YES
            ascii_download_enable = YES
  • line 95
           chroot_list_enable = YES
  •  line 97
            chroot_list_file = / etc / vsftpd / chroot_list
  • line 103
         ls_recurse_enable = YES


  • Then edit the following file is ftpusers

[ root@ server aldye ] # gedit /etc/vsftpd/ftpusers
            Here will register the name of the user (Client) and for example we named win7 User input in the file containing the following words


# Users that are not allowed to login via ftp
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
win7

  • Create a username and password for win 7

[ root@ server aldye ] # adduser win7
[ root@ server aldye ] # passwd win7
Changing password for user fedora.
New password:
Retype new password:
passwd: all authentication tokens updated
successfully.

  • Go to the folder windows 7 and Creating folders Ftp_Pub

[ root@ server aldye ] # cd /home/win7
[ root@ server win7 ] # mkdir pub_ftp

  • Chmod and chown the folder that the user win7 pub ftp Write access.

[root@ server win7 ]# chmod 755 pub_ftp
[root@ server win7 ]# chown win7.win7 pub_ftp

  • Run the vsftpd service

[root@server win7 ] # service vsftpd restart


                  Immediately check the Computer Client browser's URL input IN, for more rapid course in windows exploler masik typed in the URL (ftp://200.10.10.2) server's IP address,
Notice under windows there exploler means writing user = anonymous user goes without login access. So you were brought directly to the usual default folder is / var / ftp

can use this command


[root@server ]# ls -l /var/ftp
total 4
drwxr-xr-x 2 root root 4096 2009-02-26 20:9 pub
-rw-r--r-- 1 root root    0 2009-12-10 1 20:12 aldye.txt


         If you create files in the folder That Will Appear Error Messages,

Right click> Login as> input username and password, because No file then looks to Empty Folder Creating for user Please let win7 folder, it will from automatically made ​​folder 7, try to check in


[root@server ]# ls -l /home/fedora/public_ftp/
total 4
drwx------ 2 win7 win7 4096 2009-12-10 21:01 test

good luck  ....!!

Posting Komentar untuk "Ftp Server Configuration Fedora 11 And 12"