CentOS下架设ftp服务器
来源:互联网 发布:log4j数据存进mongodb 编辑:程序博客网 时间:2024/05/01 22:32
1.安装vsftpd
yum install vsftpd -y
2.配置文件
配置文件位于/etc/vsftpd/vsftpd.conf
默认是允许匿名用户登录的,修改为需要用户登录的步骤为:
vi /etc/vsftpd/vsftpd.conf
修改下面几个参数:
anonymous_enable=NO #把匿名登录关掉
chroot_local_user=YES#是否将所有用户锁定在主目录,YES为启用 NO禁用.(包括注释掉也为禁用)
local_root=ftp目录
chroot_list_enable=NO#是否启动限制用户的名单 YES为启用 NO禁用(包括注释掉也为禁用)
新增用户:
#adduser -d /opt/btgup -g ftp -s /sbin/nologin 用户名
#passwd 用户名
3.启动服务
service vsftpd start
4.连接ftp服务器
打开我的电脑,在地址栏输入ftp://ip
0 0
- CentOS下架设ftp服务器
- centos下安装vsfptd架设ftp服务器
- centos架设FTP服务器
- Ubuntu下架设FTP服务器
- Ubuntu下架设FTP服务器
- centos FTP服务器的架设和配置
- centos FTP服务器的架设和配置
- Centos FTP服务器的架设和配置
- centos FTP服务器的架设和配置
- centos FTP 服务器的架设和配置
- centos FTP 服务器的架设和配置
- centos FTP服务器的架设和配置
- centos FTP服务器的架设和配置
- centos FTP服务器的架设和配置
- centos FTP服务器的架设和配置
- centos FTP服务器的架设和配置
- centos FTP服务器的架设和配置
- centos FTP服务器的架设和配置
- 红外 HS0038接收与发送 (转载自新浪某博客)
- mysql: Commands out of sync; you can't run this command now
- Oracle学习之:回收站
- MVC 基于 AuthorizeAttribute 实现的登陆权限控制
- TensorFlow学习_02_CNN卷积神经网络_Mnist手写数字识别
- CentOS下架设ftp服务器
- 趣谈js中的原型(prototype)
- 页面自动弹出加qq对话框
- 点击跳转到页面指定位置
- js变量提升,scope作用域
- android AES-256-CBC加密
- Spring依赖注入properties,Map,List
- node安装遇到的问题。
- AndroidStudio代码达到指定字符长度时自动换行