阿里云搭建FTP服务器-简单

阿里云福利:
阿里云优惠券-幸运券-代金券1000元领取一键所有领取(支持优惠优惠的云产品包涵以下)全场五折 阿里云企业配置服务器全场五折 阿里云满1000元减50最高减5000元现金购买前先领取阿里云代金券html

概述:mysql

走过无数的坑才发现,其实能够简单点。那就最简单linux

一、开启阿里云端口21
登陆本身管理控制台sql

云服务器ECS-》实例-》管理-》本实例安全组-》配置规则-》快速建立规则
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
二、下一步就是安装ftp服务器端软件
网上大多数都在使用vsftpd(very secure fast ftp daemon)能够安全是这个ftp软件的目的。具体能够百度一下centos

默认的centos很是方便用yum进行安装软件。(yum相似各类软件的集合)tomcat

输入的命令:yum -y install vsftpd (-y 表示安装过程当中跳过确认提示,默认为y , install 安装意思, vsftpd 就是咱们须要安装的软件)安全

安装的过程:bash

[root@iz8vb7cc5e91muwr6fxp3jz vsftpd]# yum -y install vsftpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:3.0.2-21.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
================================================================================
 Package          Arch             Version                 Repository      Size
================================================================================
Installing:
 vsftpd           x86_64           3.0.2-21.el7            base           169 k
 
Transaction Summary
================================================================================
Install  1 Package
 
Total download size: 169 k
Installed size: 348 k
Downloading packages:
vsftpd-3.0.2-21.el7.x86_64.rpm                             | 169 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : vsftpd-3.0.2-21.el7.x86_64                                   1/1
  Verifying  : vsftpd-3.0.2-21.el7.x86_64                                   1/1
 
Installed:
  vsftpd.x86_64 0:3.0.2-21.el7
 
Complete!
1234567891011121314151617181920212223242526272829303132333435复制代码

3.启动软件
service vsftpd start (对于linux 来讲软件均可以说成服务,tomcat mysql等等)服务器

[root@iz8vb7cc5e91muwr6fxp3jz vsftpd]# service vsftpd start
Redirecting to /bin/systemctl start  vsftpd.service
12复制代码

4.打开window DOS窗口
window+R , 输入 cmd进入
在这里插入图片描述
默认状况下它容许匿名登陆的。网络

5.其余
关于什么虚拟用户:(感受学的差很少就去整)

关于:selinux(相似防火墙,初学者仍是关闭好)

getenforce 获取selinux状态(Disabled表示关闭)

setenforce 0 暂时关闭selinux
在这里插入图片描述
关于iptables(控制你网络进出)

你可能安装iptables,不过阿里云默认没有安装

service iptables stop 关闭iptables防火墙

关于配置文件的翻译参考:默认配置文件翻译

总结:总的来讲,只要是通了,后面就是添油加醋了,开始自由发挥了

最后送上福利:
阿里云优惠券-幸运券-代金券1000元领取一键所有领取(支持优惠优惠的云产品包涵以下)全场五折 阿里云企业配置服务器全场五折 阿里云满1000元减50最高减5000元现金购买前先领取阿里云代金券

相关文章
相关标签/搜索