centos6.4安装ftp服务軟件vsftpd
2015-11-24 23:22
801 查看
centos6.4安装ftp服务軟件vsftpd
[root@hsgpc 桌面]# rpm-qa|grep vsftpd
bash: rpm-qa: command not found
[root@hsgpc 桌面]# yum -y install vsftpd*
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* epel: mirror01.idc.hinet.net
* epel-testing: mirror01.idc.hinet.net
* extras: mirrors.aliyun.com
* nux-dextop: li.nux.ro
* rpmfusion-free-updates: mirror.bjtu.edu.cn
* rpmfusion-nonfree-updates: mirror.bjtu.edu.cn
* updates: mirror.bit.edu.cn
解决依赖关系
--> 执行事务检查
---> Package vsftpd.x86_64 0:2.2.2-14.el6 will be 安装
--> 完成依赖关系计算
依赖关系解决
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
正在安装:
vsftpd x86_64 2.2.2-14.el6 base 152 k
事务概要
================================================================================
Install 1 Package(s)
总下载量:152 k
Installed size: 332 k
下载软件包:
vsftpd-2.2.2-14.el6.x86_64.rpm | 152 kB 00:00
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在安装 : vsftpd-2.2.2-14.el6.x86_64 1/1
Verifying : vsftpd-2.2.2-14.el6.x86_64 1/1
已安装:
vsftpd.x86_64 0:2.2.2-14.el6
完毕!
[root@hsgpc 桌面]# service vsftpd start
为 vsftpd 启动 vsftpd: [确定]
[root@hsgpc 桌面]# service vsftpd stop
关闭 vsftpd: [确定]
[root@hsgpc 桌面]# chkconfig vsftpd on
[root@hsgpc 桌面]# su hsg
[hsg@hsgpc 桌面]$ service vsftpd start
为 vsftpd 启动 vsftpd:500 OOPS: cannot read config file: /etc/vsftpd/vsftpd.conf
[失败]
[hsg@hsgpc 桌面]$ su root
密码:
[root@hsgpc 桌面]# servicevsftpd start
bash: servicevsftpd: command not found
[root@hsgpc 桌面]# service vsftpd start
为 vsftpd 启动 vsftpd: [确定]
[root@hsgpc 桌面]# ^C
[root@hsgpc 桌面]# telnet 127.0.0.1 21
bash: telnet: command not found
[root@hsgpc 桌面]# yum install telnet
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* epel: mirrors.opencas.cn
* epel-testing: mirrors.opencas.cn
* extras: mirrors.aliyun.com
* nux-dextop: li.nux.ro
* rpmfusion-free-updates: mirror.bjtu.edu.cn
* rpmfusion-nonfree-updates: mirror.bjtu.edu.cn
* updates: mirror.bit.edu.cn
解决依赖关系
--> 执行事务检查
---> Package telnet.x86_64 1:0.17-48.el6 will be 安装
--> 完成依赖关系计算
依赖关系解决
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
正在安装:
telnet x86_64 1:0.17-48.el6 base 58 k
事务概要
================================================================================
Install 1 Package(s)
总下载量:58 k
Installed size: 109 k
确定吗?[y/N]:y
下载软件包:
telnet-0.17-48.el6.x86_64.rpm | 58 kB 00:00
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在安装 : 1:telnet-0.17-48.el6.x86_64 1/1
Verifying : 1:telnet-0.17-48.el6.x86_64 1/1
已安装:
telnet.x86_64 1:0.17-48.el6
完毕!
[root@hsgpc 桌面]# telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 (vsFTPd 2.2.2)
^C^]
telnet> q
Connection closed.
[root@hsgpc vsftpd]# rpm -qa | grep vsftpd
vsftpd-2.2.2-14.el6.x86_64
[root@hsgpc vsftpd]#
在IE中input url :ftp://127.0.0.1:21 or ftp://ip:21 如:ftp://192.168.0.102/
pub dir
dir at /var/ftp/pub save dir location
config file: /etc/vsftpd/vsftpd.conf
[hsg@hsgpc pub]$ pwd
/var/ftp/pub
[hsg@hsgpc pub]$ ls -l
总用量 0
[hsg@hsgpc pub]$ mkdir tools
mkdir: 无法创建目录"tools": 权限不够
[hsg@hsgpc pub]$ su root
密码:
[root@hsgpc pub]# mkdir tools
[root@hsgpc pub]# ls
tools
[root@hsgpc pub]# touch 1.txt //create null file
[root@hsgpc pub]# gedit 1.txt //pop window edit file 1.txt
[root@hsgpc pub]# vi 1.txt
[root@hsgpc pub]#
[root@hsgpc 桌面]# rpm-qa|grep vsftpd
bash: rpm-qa: command not found
[root@hsgpc 桌面]# yum -y install vsftpd*
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* epel: mirror01.idc.hinet.net
* epel-testing: mirror01.idc.hinet.net
* extras: mirrors.aliyun.com
* nux-dextop: li.nux.ro
* rpmfusion-free-updates: mirror.bjtu.edu.cn
* rpmfusion-nonfree-updates: mirror.bjtu.edu.cn
* updates: mirror.bit.edu.cn
解决依赖关系
--> 执行事务检查
---> Package vsftpd.x86_64 0:2.2.2-14.el6 will be 安装
--> 完成依赖关系计算
依赖关系解决
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
正在安装:
vsftpd x86_64 2.2.2-14.el6 base 152 k
事务概要
================================================================================
Install 1 Package(s)
总下载量:152 k
Installed size: 332 k
下载软件包:
vsftpd-2.2.2-14.el6.x86_64.rpm | 152 kB 00:00
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在安装 : vsftpd-2.2.2-14.el6.x86_64 1/1
Verifying : vsftpd-2.2.2-14.el6.x86_64 1/1
已安装:
vsftpd.x86_64 0:2.2.2-14.el6
完毕!
[root@hsgpc 桌面]# service vsftpd start
为 vsftpd 启动 vsftpd: [确定]
[root@hsgpc 桌面]# service vsftpd stop
关闭 vsftpd: [确定]
[root@hsgpc 桌面]# chkconfig vsftpd on
[root@hsgpc 桌面]# su hsg
[hsg@hsgpc 桌面]$ service vsftpd start
为 vsftpd 启动 vsftpd:500 OOPS: cannot read config file: /etc/vsftpd/vsftpd.conf
[失败]
[hsg@hsgpc 桌面]$ su root
密码:
[root@hsgpc 桌面]# servicevsftpd start
bash: servicevsftpd: command not found
[root@hsgpc 桌面]# service vsftpd start
为 vsftpd 启动 vsftpd: [确定]
[root@hsgpc 桌面]# ^C
[root@hsgpc 桌面]# telnet 127.0.0.1 21
bash: telnet: command not found
[root@hsgpc 桌面]# yum install telnet
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* epel: mirrors.opencas.cn
* epel-testing: mirrors.opencas.cn
* extras: mirrors.aliyun.com
* nux-dextop: li.nux.ro
* rpmfusion-free-updates: mirror.bjtu.edu.cn
* rpmfusion-nonfree-updates: mirror.bjtu.edu.cn
* updates: mirror.bit.edu.cn
解决依赖关系
--> 执行事务检查
---> Package telnet.x86_64 1:0.17-48.el6 will be 安装
--> 完成依赖关系计算
依赖关系解决
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
正在安装:
telnet x86_64 1:0.17-48.el6 base 58 k
事务概要
================================================================================
Install 1 Package(s)
总下载量:58 k
Installed size: 109 k
确定吗?[y/N]:y
下载软件包:
telnet-0.17-48.el6.x86_64.rpm | 58 kB 00:00
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在安装 : 1:telnet-0.17-48.el6.x86_64 1/1
Verifying : 1:telnet-0.17-48.el6.x86_64 1/1
已安装:
telnet.x86_64 1:0.17-48.el6
完毕!
[root@hsgpc 桌面]# telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 (vsFTPd 2.2.2)
^C^]
telnet> q
Connection closed.
[root@hsgpc vsftpd]# rpm -qa | grep vsftpd
vsftpd-2.2.2-14.el6.x86_64
[root@hsgpc vsftpd]#
在IE中input url :ftp://127.0.0.1:21 or ftp://ip:21 如:ftp://192.168.0.102/
pub dir
dir at /var/ftp/pub save dir location
config file: /etc/vsftpd/vsftpd.conf
[hsg@hsgpc pub]$ pwd
/var/ftp/pub
[hsg@hsgpc pub]$ ls -l
总用量 0
[hsg@hsgpc pub]$ mkdir tools
mkdir: 无法创建目录"tools": 权限不够
[hsg@hsgpc pub]$ su root
密码:
[root@hsgpc pub]# mkdir tools
[root@hsgpc pub]# ls
tools
[root@hsgpc pub]# touch 1.txt //create null file
[root@hsgpc pub]# gedit 1.txt //pop window edit file 1.txt
[root@hsgpc pub]# vi 1.txt
[root@hsgpc pub]#
相关文章推荐
- Linux正则表达式语法
- DOS/WINDOW/LINUX都用什么编写各种语言工具又是用什么开
- linux学习之路-前言
- Linux磁盘管理之逻辑结构主引导扇区02
- Centos6安装Git
- 《coredump问题原理探究》Linux x86版7.11节string对象
- linux 下solr
- Linux 下源码安装大杂烩
- Linux Advance--打印标准IO流缓冲状态信息
- 在centos6.6上安装guacamole 0.9.8
- Linux socat命令
- 中午游泳很海皮-linux&php
- Linux下安装g++编译器心得
- [Linux] Enable ssh key authentication from one user on client to multiple users on server
- Linux 非缓冲I/O与缓冲I/O
- Centos的管理工具---Security_FX 中文乱码处理
- awk学习
- CentOS Linux 监控安装之cacti
- linux文件按最新时间排序
- linux下用rpm 安装jdk