linux 搭建ftp server
sudo apt-get install vsftpd
sudo useradd -m ftp
sudo passwd ftp
安装完毕后,/srv下会增加一个ftp目录,需要在ftp目录下面增加一个pub目录,并且把权限设置成为777
/etc/init.d/vsftpd restar
listen=YES
file_open_mode=0777
downlad_enable=YES
anonymous_enable=YES
local_enable=YES
anon_umask=022
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
anonymous
vi清空文件
光标移到第一行 |
相关推荐
杨立峰 2020-08-18
wq0 2020-07-18
leodengzx 2020-06-14
xsg 2020-06-09
TangCuYu 2020-06-05
河的第三条岸 2020-05-31
atb 2020-05-30
饮马天涯 2020-05-20
wennuanwarm 2020-05-16
InJavaWeTrust 2020-05-04
书弋江山 2020-04-26
MichelinMessi 2020-04-16
89236831 2020-02-24
IsanaYashiro 2020-02-19
Proudoffaith 2020-02-04
秋风瑟瑟 2020-02-03
IsanaYashiro 2020-01-23
rareli 2020-01-18
大老张学编程 2020-01-08