阿里云centos6.9使用yum安裝vsftpd啟動失敗
問題描述






請問我還要通過哪里尋找問題呢?
問題解答
回答1:要配置。
1、yum -y install vsftpd.i* 2、增加用戶組groupadd wwwroot增加用戶useradd -g wwwroot -M -d /var/www -s /sbin/nologin ftpflashgou設置密碼passwd ftpflashgou
3、創(chuàng)建文件夾:mkdir /var/www mkdir /var/www/logs
4、編輯vi /etc/vsftpd/vsftpd.conf文件,按i進行編輯,將anonymous_enable=yes改為no,并在其后增加:user_config_dir=/etc/vsftpd chroot_list_enable=YES chroot_list_file=/etc/vsftpd/chroot_list xferlog_file=/var/www/logs/vsftpd.log ftpd_banner=welcome to flashgou vsftpd. max_clients=4 max_per_ip=2 use_localtime=YES按esc,再按:wq退出。5、創(chuàng)建文件vi /etc/vsftpd/chroot_list,新增ftpflashgou用戶
6、權限,直接輸入:chown -R ftpflashgou.wwwroot /var/www chmod -R 755 /var/www
回答2:最后重啟linux就可以了,why。。。我一直以為linux不用重啟的
相關文章:
1. boot2docker無法啟動2. docker-compose中volumes的問題3. docker容器呢SSH為什么連不通呢?4. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””5. java - SSH框架中寫分頁時service層中不能注入分頁類6. docker安裝后出現Cannot connect to the Docker daemon.7. node.js - antdesign怎么集合react-redux對input控件進行初始化賦值8. 關于docker下的nginx壓力測試9. nignx - docker內nginx 80端口被占用10. 老師,按tab鍵不起作用怎么回事

網公網安備