首页

vsftpd-2.2.2-24.el6.x86_64&i686.rpm.zip版本下载及安装教程步骤

标签:vsftpd2.2.2,24.el6.x86_64,i686.rpm.zip,vsftpd安装教程,vsftpd自启动     发布时间:2018-09-09   
  • 云盘下载:
  • [提取码:0000]
  • 官方下载:
  • 本地下载:
       ( 需积分:2  )

一、软件简介

本下载包中提供32位(vsftpd-2.2.2-24.el6.i686.rpm)和64位(vsftpd-2.2.2-24.el6.x86_64.rpm)rpm包版本,通过命令yum   install命令安装vsftpd时因网络资源问题,通过下载rpm包进行安装,同时安装vsftpd服务后,通过关闭selinux安全防火墙服务,否则客户端连接会报"550 Create directory operation failed"权限问题。

vsftpd-2.2.2-24.el6.x86_64&i686.rpm.zip版本下载及安装教程步骤

二、安装步骤

1. 在线安装步骤如下

[root@raid2t conf]# rpm  -qa|grep  vsftpd@b@[root@raid2t conf]# yum  -y  install  vsftpd@b@已加载插件:fastestmirror, refresh-packagekit@b@设置安装进程@b@Loading mirror speeds from cached hostfile@b@ * base: mirrors.cn99.com@b@ * epel: mirrors.aliyun.com@b@ * extras: mirrors.cn99.com@b@ * updates: mirrors.aliyun.com@b@解决依赖关系@b@--> 执行事务检查@b@---> Package vsftpd.x86_64 0:2.2.2-24.el6 will be 安装@b@--> 完成依赖关系计算@b@@b@依赖关系解决@b@@b@====================================================================================================================================================================@b@ 软件包                                架构                                  版本                                         仓库                                 大小@b@====================================================================================================================================================================@b@正在安装:@b@ vsftpd                                x86_64                                2.2.2-24.el6                                 base                                156 k@b@@b@事务概要@b@====================================================================================================================================================================@b@Install       1 Package(s)@b@@b@总下载量:156 k@b@Installed size: 340 k@b@下载软件包:@b@...

2.  如上因网络等问题,卡住了,下载对于vsftpd的rpm版本进行安装

[root@raid2t soft]# rpm  -ivh  vsftpd-2.2.2-24.el6.x86_64.rpm @b@Preparing...                ########################################### [100%]@b@   1:vsftpd                 ########################################### [100%]@b@[root@raid2t soft]# rpm -qa|grep vsftpd@b@vsftpd-2.2.2-24.el6.x86_64

3. vsftpd.conf配置(anonymous_enable=YES  改为  NO不支持匿名访问)

[root@raid2t vsftpd]# vi  vsftpd.conf @b@# Example config file /etc/vsftpd/vsftpd.conf@b@#@b@# The default compiled in settings are fairly paranoid. This sample file@b@# loosens things up a bit, to make the ftp daemon more usable.@b@# Please see vsftpd.conf.5 for all compiled in defaults.@b@#@b@# READ THIS: This example file is NOT an exhaustive list of vsftpd options.@b@# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's@b@# capabilities.@b@#@b@# Allow anonymous FTP? (Beware - allowed by default if you comment this out).@b@anonymous_enable=NO

4. 增加用户及其所属路径(如/home/xwood/ftp)

[root@raid2t ftp]# useradd  -d  /home/xwood/ftp  -s  /sbin/nologin  ftpuser@b@@b@useradd:警告:此主目录已经存在。@b@不从 skel 目录里向其中复制任何文件。@b@[root@raid2t ftp]# @b@[root@raid2t ftp]# passwd  ftpuser@b@更改用户 ftpuser 的密码 。@b@新的 密码:@b@重新输入新的 密码:@b@passwd: 所有的身份验证令牌已经成功更新。

5. 设置开机启动

[root@raid2t vsftpd]# service  vsftpd  start@b@为 vsftpd 启动 vsftpd:[确定]@b@[root@raid2t vsftpd]# service  vsftpd  status@b@vsftpd (pid 5644) 正在运行...@b@[root@raid2t vsftpd]# chkconfig  vsftpd  on@b@[root@raid2t vsftpd]# chkconfig  --list  vsftpd@b@vsftpd          0:关闭  1:关闭  2:启用  3:启用  4:启用  5:启用  6:关闭

6. 关闭防火墙iptables,并关闭开机启动服务

[root@raid2t conf]# service iptables stop@b@iptables:将链设置为政策 ACCEPT:nat mangle filter [确定]@b@iptables:清除防火墙规则:[确定]@b@iptables:正在卸载模块:[确定]@b@重启:service iptables restart@b@@b@关闭防火墙:service iptables stop@b@@b@禁用防火墙重启:chkconfig iptables off

��

  • ◆ 相关内容