This article contains instructions to configure a basic FTP Server.
Let us begin. Install the necessary packages.
Configure the service to start with other services after every reboot.
Let us begin. Install the necessary packages.
[root@ora ~]# yum –y install vsftp*
Open the file and edit and add as mentioned below:
[root@ora ~]# vi /etc/vsftpd/vsftpd.conf # At line 12 Anonymous_enable=no # At line 80 and 81 uncomment the following. ascii_upload_enable=YES ascii_download_enable=YES # At line 95,96 uncomment the following. chroot_local_user=YES chroot_list_enable=YES # At line 98 uncomment the following. chroot_list_file=/etc/vsftpd/chroot_list # At line 104 uncomment the following. ls_recurse_enable=YES # Add the following at the last line
local_root=public_html # use localtime Use_localtime=YES
[root@ora ~]# vi /etc/vsftpd/chroot_list
# jail users or limits users to only their home directory. donald
[root@ora ~]# service vsftpd restart
Configure the service to start with other services after every reboot.
[root@ora ~]# chkconfig vsftpd on
0 comments:
Post a Comment