FTP服务器的安装与配置
查看是否安装ftp:
rpm -qa |grep vsftpd
1、安装vsftp
1.1、安装vsftp,测试安装的vsftpd的版本是:vsftpd.x86_64 0:3.0.2-11.el7_2
yum -y install vsftpd
在linux中添加ftp用户,并设置相应的权限,操作步骤如下:
1、环境:ftp为vsftp。被限制用户名为ftpuser。被限制路径为/home/ftpuser
2、建用户,命令行状态下,在root用户下:
运行命令:“useradd -d /home/ftpuser ftpuser” //增加用户ftpuser,并制定ftpuser用户的主目录为/home/ftpuser
运行命令:“passwd ftpuser” //为ftpuser设置密码,运行后输入两次相同密码
1.2、修改配置文件
vi /etc/vsftpd/vsftpd.conf
(1)取消匿名登录
把第一行的 anonymous_enable=YES ,改为NO
(2)输入ip地址后默认加载路径
local_root=/home/ftpuser/
权限问题:
常见错误:
ftp上传文件出现553 Could not creat files 严重文件传输错误
原因:因为上传文件所在文件夹默认只有root用户才有写权限,所以我们还要将写权限赋予给其他用户。
在目标文件夹下输入chmod -R 777 /home/ftpuser 即可
修改配置文件后重启ftp服务:systemctl restart vsftpd.service
1.3、设置vsftpd开机启动
systemctl enable vsftpd.service
1.4、启动并查看vsftpd服务状态,systemctl启动服务成功不会有任何提示,绿色的active表示服务正在运行
systemctl start vsftpd.service
systemctl status vsftpd.service
2、本地验证ftp是否可以正常访问
2.1、安装ftp
yum -y install ftp
2.2、使用anonymous登陆,无需密码
ftp localhost
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhgAAACxCAIAAAAJalNIAAATjUlEQVR4nO2d65WjvBJFnZPTIRhyIRZC6ThmftgGqXRKKoEfGO+97lr3Gxr0ancdVJKOL5cTch3nv2n4dCsAAOBbQUcAAGAzw/T394eMAAAAAAAAAAD8MLcM0dtzRNdxvtX7N4/Xl5Z5HefnVbGJ+xDvacWja0/oyS+NPAC8h2F6YkC50RFAXlC7LfMZ4Wx/GftKGKZC6Pc26WdGHgBez7uEZH1pTWPiz4QzUcLj0jC1ylab0xASADgMIqBcx3kexylLViw6YCK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A3jh+r/hkhMv8AZ0G+GYQkqdweiF5xfwwXiZCAnBoHCFJjqvl5sDmUFx6/s5YlNzunKohwDm+F69oPb9XOqI87rbHu8teZ8+F3fLdbsbyMZ7dvXvAM/a46LsaJWc81e/dOIWJ69abJq9docsUv/els7YoUbv80ALA65FCYtLUk4nRxpi2tLjNfFMaQqK/3CNYUfXuvDhh+a7bI73lpROM7maXY3wxpXAtZ2KP676L0uV4Vn7vRVecbtZq91vTulqMhai99qEFgJfiCokXDMqInXgUSifHhpBoz8dQRW5H6sHIz995vimeFWO974HUk72hNiCBx72+L9R/R5Xfe3nuUnezJwW2WUhk7bUPLQC8FG+NxE3P+JEyjUfarbCgdmegIpMiyYTElZpaqKsISbCbJmcj0jTuALQGJPC4c02MkleR93sXQiK72bNqs0tIVO3s8QL4DM3F9g3x/UUzko6KdDi7Vlzo8+d2zUh6gthrZiS+BsTFvm7m7HbzXULSXEBCSgDeiDIer/mWRyYKr1kjqQpJXpETae5vrH549oRk4xpJ2zG+MrzBNZKiNzUhWdvpjGfVwN9bI0m7+RohidTe+vaBrzmTBPCVpImCYutQ8geo9gm1MiSbdm11VLQau9t9U7LWVkRxhSQZEZVj8XZtBaJXYU0vK4o/rvouRqmdKsybLsK7vHePkLgb0ZKfpd2MfGjXHyAkAF/Lmw+mNOhZCgYAgA+ypBmOlaxGRwAAvodHmuEwMnJAF3oAAAAAAHgb/9T/AADgNLw8FYWQAACcGrG5qvNoXQuEBADgzIQOtu0DIQEAOCnGt+hxHq88GaYOD3bsp0VIAADOTGRG4tiZRBdXEBIAgDMTFZKKn+DiFuJMUBASAIAzExSSml8sQgIA8MvsmJGQ2gIAgJh1t1ojYbEdAAAul4snCLlFubZ8D4OQAAD8OjvPlSAkAAC/DkICAAC7QEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgwH+r9oeYtRhVMwAAAABJRU5ErkJggg==" alt="" />
220表示服务正常,可以登陆;230表示登陆成功。
2.3、查看FTP服务器文件夹信息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cAgBxdGfIo8dparw5QFAAAeHFwfwqKAgAAL1AUAAA4BxQFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgB/kPgfJlt5eXs0EAAAAASUVORK5CYII=" alt="" />
3、 外部证ftp是否可以正常访问
3.1、关闭防火墙(也可以设置防火墙规则,得再百度了)
systemctl stop firewalld.service
为防止机器重启后防火墙服务重新开启,可将防火墙服务永久关闭。
systemctl disable firewalld.service
3.2、在window上输入ftp://IP地址,可看到ftp下的目录(pub为系统预设的)上文已给出修改目录方法
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaUAAACHCAIAAAA5o9FwAAAOq0lEQVR4nO3d6XMb9R3Hcf8VnSkUaJ/2EcN0eOCZDp0WctOhQ1umM+VBW+LEju/7tnPDJCQKJOQ+CYlDaA5CDQRihpCEOLbkS5Ysy5Is27pWsiTrvn99sFpZWu3KR9bx8fu8ZofxIem3yPJ7vrtrO3kEAIAOecu9AwAAzwh6BwC0yBvVjmHDhg0bDRvmOwCgBXoHALRA7wCAFugdANACvQMAWoj2TqPR5NWrsWHDhm3tbLl7tzSRBQBYBugdANBiYb3z9L8507fF3bfFrdjskm82y9/tVt25q7fs71J+cG+gz+LwR6ICayz7EEvNJvGrA2BtWVjvZvq2EPslYr9AmHM+y+UunaHfMTPqDX3SY3z77I/Xh4wnfpD7whH+GstdAXo26V8gAGvIwnrn7tvCxo4wZx6PdX9tmP7K6Kn8Yeqv15Rvnn34zqnvFIy7e8rGX2O5K0DPJv0LBGANWWDvFJvZ2BHbqWM9ho5R53vfWf5xZ/xv11V/PvfojcN3VG5/p3aCv0a9Oq9eL2MIIaSzY/mjsIY3qV8eAGvKwnrnkm9mY0dsJ/55Q3VWaT+rcr5za+ztqwNbTt9//eDNI/cU5x/289eoV+d3hYjStPjvZJlDSzwFwu+aOgnRdukzb8wKyWTcBzs8JPuDGVvW42Tci1tu9sHF2p3xOPldId6zIXSvrKUF9zbH0twTMvcXHIBiC+uds3czGzti/eStSz3XR2yGQL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xgCQDb3j2C4SS9pwZzpBTJ8Q0wlivex4vNXZXeDq3e6WF3K9K+V6VxXK6F1zsneL/y1aHJMCLBX0jjM73J1KDnemY8R0nFgv2R+/x57CY3vn6S/xDiYv0ab3Lqple9eaGG9PGBf9W2XoHcBSQe842cPd1FFi+oRYLmb1rtg7WOpPXbJI9i51iRa9A1ih0DtO9nA39TGZOkYs55O9e7LNLS90s5do03unroloaqXrHQAsFfSOkxzuTs4Od5MfkamjxHyO+fk9R/fWjN4NlKT1rjoygt4BrALoHSc53J0gpuNk6hiZ+phMHiFTx4j5TKp3Lvl2t6LI07cDvQNYjdA7TvZwN3mEmE761btm57vezN4NCfQupm9NjLehdwArEHrHyR7uJj8iphP27kLm5/fs3VudTwpc6B3AaobecfjDnYxMHiFTx60P/808+o9g7/xD5UFVpVjvYrFYIpGQfj8BYLHQOw5/uJORCRmZOibWO99cvZuZmfH5fKFQCNUDWCHQO47peMZwN3GYTBwik0cXN99Fx/c7nU7EDmBFQe84jltpw91hMnGITHxIJj+SfiEAWCboXRr3T9xwd4hMfEgmDpJJ2ZIsBADLAb3L5FORqWPJ2BkPkInDS7UQADxz6F2WCEPMp4jxADEeIBOH4vH4Eq4FAM8QeickHiK2q8R4gBgPejyeQCAQiUQQPoDVDr0T57xHjAfMZrPL5QqHw7jSCrDaoXc5hW3RaPQZrQUASwy9AwBaoHcAQAv0DgBogd4BAC3QOwCgxar8p2HQOwBYBO7frF9V0DsAWAQczwIALfJW4eEsegcAi4H5DgBogd4BAC3QOwCgBXoHALRA7wCAFugdANACvQMAWqB3AEAL9A4AaIHeAQAt0DsAoAV6BwC0QO8AgBboHQDQAr0DAFqgdwBAC/QOAGiB3gEALdA7AKAFegcAtEDvAIAW6B0A0AK9AwBaoHcAQAv0DgBogd4BAC3QOwCgBXoHALRA7wCAFugdANACvQMAWqB3AEAL9A4AaPF/tUs5oHYUbp4AAAAASUVORK5CYII=" alt="" />
4、文件读写。
到上面为止,我们发现ftp目录下并不能读写文件,这是由文件夹权限和selinux引起的。
4.1、设置文件夹权限,将pub文件夹的权限设置为777
chmod 777 -R /var/ftp/pub
4.1、关闭selinux服务
vi /etc/selinux/config
将SELINUX=enforcing改为:SELINUX=disabled
4.3、系统重启,让配置生效
shutdown -r now
4.4、上传文件
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcsAAACBCAIAAAAg1AauAAANx0lEQVR4nO3dy1Mb9wHAcf0Fbq86eHzl1B5y45AZHYpfpExP6SSTCZdw6LS3Htx0JuFt8VgQtmOblwAhmLSnzoRx8KnGcRLbeRi5maEu4zFxCOiFwSZIWu2K7WHFslppVw9Y8LLfz+wwaL272iXim59+EuBRAAD28Bz3CQDAiUVhAcAuFBYA7EJhAcAunicAAHscaAwrylUv8u5JWwDATEFhX0XeernY+PJR49ajxq3vGze/u7j53cXNby+++ObCi28ubDy8sPX4T/rtqy2mun3uNV6qPT0KC8BCQWFfLjYqiWklEVISk0p8QomPK/ExJTaixIaV6A0lej354Lx+ewpLYQFYKCzso0aLvCrRa8n7FJbCAqhUQWG3HjVa5FVZv5KgsBT2tZRKpXw+39zc3HGfCFCgsLDfN1rkVVkfSnx9Tr/9wQv7fnNzvyAce1gPt7DJZNLr9QqCoK2JRCKnTp3yeDynTp2KRCLqyrm5OY/HY1hpfRz9Xl6vN5lM6g/u8XhKJsZwHEEQPIWK9yq+65JnW/aujwyFxeupoLCb3120yKuyPhj/6kgLu7OT8vl8n83NHXpJzY58wMKq3+der7exsVHLk1or9Zt/bm7O5/OlUqlkMvnOO++kUil1pZZLi+Pod9fWGA5e4XE0kUikrq6u7C4lz9b6ro8YhcXrqbiwpnlV1gbKFnZ7JzU/f1uU5BNT2J2d1Pzt25IkVz6GVRSlublZy5M+i6lUqqmpyTBiTSaTdXV1JYex+uOY7fvGG2+oaavwOIb1ZlUy20W7lwrvWi+VSt2+fVuWZevNakBh8XoqLOy3Fy3yqqz1x788q9++uLCffz7f2to6HQ6XjKxFYROJZF1dXWdXl/qUs18QEomk1+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2dNZ4qUA1KKyDuKuwV66WLWw6laqurVph2ygsjgSFdRC3FfZqqcLmq1pDWAsK295R46UC1aCwDuKuwg5duSpJktbTgyS1uLCtFBZHgsI6iLsKG7hyJStJh1VVQ2E/bmuv8VKBalBYB3FZYYcoLByPwjqIuwo7ODSUlSSblo9a22q8VKAaFNZBXFbYwNBAIDAwOCgMDAoDA/3CQJ8g9PULff1Cb19/T19fT2+fv7fX39N7uaen29/T7fd3X/Z3dV/u7L7c2dXd0dXd0dnV3tnV3tHZ1tHZ1t7R2t7xcVv7x23tH7W2UVgcDQrrIO4qLHAC8FB3EAoLOAwPdQehsIDD8FB3EAoLOAwPdQc5UYVlYXHJAqc4OYUFgNcNhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu1BYALALhQUAu/wf9bxWsO+ty7EAAAAASUVORK5CYII=" alt="" />
至此,ftp完全安装完成,若需为FTP配置用户权限,可自行百度。
FTP服务器的安装与配置的更多相关文章
- FTP服务器的安装和配置
FTP服务器的安装和配置 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 本来是想出一个源码安装ftp的教程,但是想想还是算了,如果你自学python有个10天的话你自己就能写一个f ...
- linux系统下FTP服务器的安装和配置
FTP是File Transfer Protocol(文件传输协议),就是专门用来传输文件的协议.简单地说,支持FTP协议的服务器就是FTP服务器. PORT模式: 首先客户端开启一个非特权端口N(大 ...
- ubuntu16.04下ftp服务器的安装与配置
由于要将本地程序上传至云服务器中,所以需要给云服务器端安装ftp服务器.记录一下ftp的安装过程,以便以后使用.服务器端所用系统为Ubuntu16.04. 1. 安装ftp服务器, apt-get i ...
- Linux学习总结(21)——CentOS7环境下FTP服务器的安装和配置
1. 安装vsftpd #安装vsftpd yum install -y vsftpd #设置开机启动 systemctl enable vsftpd.service # 重启 service vsf ...
- CentOS 6.3下Samba服务器的安装与配置方法(图文详解)
这篇文章主要介绍了CentOS 6.3下Samba服务器的安装与配置方法(图文详解),需要的朋友可以参考下 一.简介 Samba是一个能让Linux系统应用Microsoft网络通讯协议的软件, ...
- CentOS 6.3下Samba服务器的安装与配置(转)
CentOS 6.3下Samba服务器的安装与配置 一.简介 Samba是一个能让Linux系统应用Microsoft网络通讯协议的软件,而SMB是Server Message Block的缩写, ...
- CentOS 7下Samba服务器的安装与配置
文基于<CentOS 6.3下Samba服务器的安装与配置>,参照原博文,自己在CentOS7环境上实现,并按照自己的环境修改博文内容 一.简介 Samba是一个能让Linux系统应用Mi ...
- CentOS6.4下Samba服务器的安装与配置
一.先恶狠狠地吐槽一下: 这篇随笔真是让我折腾了2天2夜才敢下笔写!!!为什么呢?之前是通过去Samba的官网下载的源码包,也就是.tar.gz来进行安装配置,不过这个让我折腾来折腾去就是没折腾出结果 ...
- CentOS 6.3下Samba服务器的安装与配置【转载】
本文转载自 园友David_Tang的博客,如有侵权请联系本人及时删除,原文地址: http://www.cnblogs.com/mchina/archive/2012/12/18/2816717.h ...
随机推荐
- 计算机基础:计算机网络-chapter4 网络层
网络层的使用:如 ping,tracert,原理是ICMP 一.什么叫网络,网络层做什么,通过什么实现,这章的内容, 什么叫网络,实现这些需要做什么 将全世界范围内数以百万计的网络都互连起来,并且能够 ...
- php5.4后htmlspecialchars输出为空的问题
从旧版升级到php5.4,恐怕最麻烦的就是htmlspecialchars这个问题了!当然,htmlentities也会受影响,不过,对于中文站来说一般用htmlspecialchars比较常见,ht ...
- Luogu P2743 [USACO5.1]乐曲主题Musical Themes
链接 \(Click\) \(Here\) 人生第一道后缀数组的题目.首先要对输入的串进行差分处理,差分后长度为(\(n - 1\))的相同子段就是原串中长度为\(n\)的相同(可变调)子段.求出来\ ...
- Go条件语句、switch和循环语句
一:Go条件语句 package main import "fmt" //========go条件判断语句=== func main() { { fmt.Println(" ...
- python: 反射机制;
import comma def run(): inp = input('请输入要调用的函数').strip(); if hasattr(comma,inp): fun = getattr(comma ...
- 2018ccpc湖南邀请赛后记
第一次出省去打邀请赛,赛前给队友定的目标是打个铜,这样奖金就可以报销我们的伙食费了 5.12 热身赛,ak的心态冲进去,爆零逃出来 (为什么热身赛没有签到题啊),出来一度以为这场比赛要打铁,毕竟老远过 ...
- ByteBuffer详解
注意:一定要了解这个缓冲类的几个方法和那几个字段.不然你不会明白的. 字段: position ,limit ,mark 方法:clear(), hasRemaining(),flip() 推荐博客: ...
- python 计算机发展史,线程Process使用 for循环创建 2种传参方式 jion方法 __main__的解释
########################总结################## #一 操作系统的作用: 1:隐藏丑陋复杂的硬件接口,提供良好的抽象接口 2:管理.调度进程,并且将多个进程对硬 ...
- python 深浅拷贝 for循环删除
###########################总结########################### 1. 基础数据类型补充 大多数的基本数据类型的知识.已经学完了 a='aaaa' ls ...
- Mastering Markdown
What is markdown? Markdown is a lightweight and easy-to-use syntax for styling all forms writing on ...