redhat和centos_在Redhat / Centos Linux中安装和配置FTP服务器

redhat和centos

FTP stands for File Transfer Protocol. It was written by Abhay Bhushan and published as RFC 114 on 16 April 1971. It is supported by all operating systems and browsers. It is built on a client-server architecture.

FTP代表文件传输协议。 它由Abhay Bhushan编写,并于1971年4月16日作为RFC 114发行。所有操作系统和浏览器均支持它。 它建立在客户端-服务器架构上。

如何在Redhat / Centos Linux中安装和配置FTP服务器 (How to Install and configure FTP server in Redhat/Centos Linux)

Step 1: We will use localhost for our machine to setup the ftp server.

第1步:我们将在计算机上使用localhost来设置ftp服务器。

Step 2: Install the vsftpd (very secure FTP daemon) package.

步骤2:安装vsftpd(非常安全的FTP守护程序)软件包。

yum install -y vsftpd

yum install -y vsftpd

Step 3: Start the FTP Server when the system is on.

步骤3:在系统启动时启动FTP服务器。

systemctl enable vsftpd.service

systemctl enable vsftpd.service

Step 4: Check the status of the ftp server

步骤4:检查ftp服务器的状态

systemctl status vsftpd.service

systemctl status vsftpd.service

Step 5: Configure the vsftpd package. We will edit /etc/vsftpd/vsftpd.conf.

步骤5:配置vsftpd软件包。 我们将编辑/etc/vsftpd/vsftpd.conf

Change the line which contain anonymous_enable=NO to anonymous_enable=YESThis will give permit any one to access FTP server with authentication.Change the following to YESlocal_enable=YESwrite_enable=YES<br>

Change the line which contain anonymous_enable=NO to anonymous_enable=YES This will give permit any one to access FTP server with authentication. Change the following to YES local_enable=YES write_enable=YES<br>

Step 6: Start the FTP Serversystemctl start vsftpd.service

步骤6:启动FTP服务器系统systemctl start vsftpd.service

Step 7: Install the FTP Clientyum install -y lftpd

步骤7:安装FTP客户端yum install -y lftpd

Step 8: Connect ftp to localhostlftp localhost

步骤8:将ftp连接到本地主机lftp localhost

翻译自: https://www.freecodecamp.org/news/install-and-configure-ftp-server-in-redhat-centos-linux/

redhat和centos

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值