centos 6.5 搭建ftp服务器
来源:互联网 发布:淘宝商品代理 编辑:程序博客网 时间:2024/05/26 09:56
搭建ftp服务器
126上:
centos 6.5 64
mysql主从
安装步骤
1.通过yum来安装vsftpd
[root@localhost ~]# yum -y install vsftpd
2.设置为开机启动
[root@localhost ~]# chkconfig vsftpd on
3.修改 vim /etc/vsftpd/vsftpd.conf 配置参数 没有的自己添加 注释了的把它开放,让其配置生效:
local_enable=YES
write_enable=YES
local_umask=022
chroot_local_user=YES
pam_service_name=vsftpd
userlist_enable=YES
4.配置保存后重启vsftpd服务:
[root@localhost ~]# service vsftpd restart
添加用户及额外配置
1.设置vsftp的帐号。
[root@localhost ~]# useradd -d /home/htdocs -s /sbin/nologin 用户名
2.为添加的账号设置密码
[root@localhost ~]# passwd 用户名
登录验证:
win7
1、ftp服务器的连接
G:\testftp>ftp -或者直接:ftp IP/主机名连接
> ftp 192.168.199.126
ftp> open 192.168.199.126
连接到 192.168.199.126。
220 (vsFTPd 2.0.5)
用户(192.168.1.200:(none)): root --默认不能使用root用户
530 Permission denied.
登录失败。
ftp> open 192.168.1.200
已经连接到了 192.168.1.200,请首先使用断开连接。
ftp> disconnect 断开连接
221 Goodbye.
ftp> open 192.168.1.200
连接到 192.168.1.200。
请多指教!
- centos 6.5 搭建ftp服务器
- CentOS 6.5 搭建ftp服务器
- centos 搭建 ftp服务器
- Centos 搭建ftp服务器
- Centos 搭建ftp服务器
- CentOS搭建FTP服务器
- centos 搭建ftp服务器
- centos 搭建ftp服务器
- CentOS搭建ftp服务器
- centos 6.5下快速搭建ftp服务器
- CentOS 6.5下快速搭建ftp服务器
- CentOS上搭建FTP服务器
- centOS 6.2 搭建 ftp 服务器
- CentOS上搭建FTP服务器
- centos 如何搭建ftp服务器
- centos FTP ,HTTP 服务器搭建
- centos web、ftp服务器搭建
- CentOS 下搭建FTP服务器
- POJ2456 二分
- HTTPS原理
- NSURLConnection与NSURLSession大比拼
- LeetCode Algorithms #21 <Merge Two Sorted Lists>
- 原码补码反码
- centos 6.5 搭建ftp服务器
- 自动化测试如何开展
- bower 安装其他包出错的解决方法
- GDKOI2016总结——被虐之旅
- [bzoj3110]K大数查询
- PHP魔术方法之__call重载方法
- Masonry 到底有多美?(上)
- 我们编程吧 之 Linux 学习手册0.41
- hadoop面试题