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=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>
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