ftp安装

1.安装vsftpd

yum install vsftpd

2.修改配置文件

cd /etc/vsftpd/

vim vsftpd.conf

----------------------------------------

anonymous_enable=NO
local_enable=YES
local_root=/home/ftp01
write_enable=YES
local_umask=022
file_open_mode=0755

pam_service_name=vsftpd

ascii_upload_enable=YES
ascii_download_enable=YES

chroot_list_enable=yes
chroot_local_user=yes
chroot_list_file=/etc/vsftpd/chroot_list

-----------------------------------------------

3.新增配置

[root@001 vsftpd]# cat chroot_list
ftp01
[root@001 vsftpd]#

4.新建账户

useradd ftp01

passwd ftp01

5.启动服务

systemctl start vsftpd

systemctl status vsftpd

systemctl enable vsftpd

上一篇:最强 Android Studio 使用小技巧和快捷键


下一篇:TIA Portal V12不能添加新的CPU