看起来自2022年3月开始Redhat Linux不再提供传统的FTP
难怪下载的RHEL 9.1 上没有ftp了呢。以下文字
Background
The purpose of Red Hat Secure FTP is to provide a sustainable, cross-platform and command-line accessible endpoint for customers to upload files to Red Hat. The goal is to provide a secure, scalable endpoint that is usable across the broad customer base. The legacy FTP for customers (dropbox.redhat.com) has been fully decomissioned as of March 2022, in favor of this new SFTP.
出处如下:
Red Hat Secure FTP - User Guide
Updated August 16 2022 at 7:25 AM -
而在另一篇文章中,提及Redhat 9.0 时还说 Redhat 9 默认就带 vsftpd
How to start FTP in Redhat 9.0
Redhat 9 comes with the ftp server vsftpd. This is installed by default, but does not run at boot up.
To run vsftpd type: /etc/init.d/vsftpd start
Login to test it by typing ftp localhost at the prompt, and if you get the following, vsftpd is running.
Connected to localhost (127.0.0.1)
220 (vsFTP 1.1.3)
Name:
If you get "connection refused", and the prompt ftp>, then <ctrl>+z will get you back to the normal prompt.
Note: you cannot log into ftp as root, you must have a user set up.
There are several ways to run vsftpd at bootup, and here is one of the simple ones.
To run vsftpd at bootup type:
vi /etc/rc.local (this will open rc.local in the text editor "vi")
Arrow down to the bottom of the text (there may not be any yet, in which case it will be the first line)
type i to enter 'insert' mode, and add....
/etc/init.d/vsftpd start
Press the 'escape' key to exit 'insert' mode.
Then type :w and enter it (writes the file, i.e. saves it)
Followed by :q and enter it (quits the vi text editor)
所以,应该是这段时间内变化了。
==========================================
但是如果安装RHEL 9.1 时选择定制安装,software selection选择Server GUI,在其中选择FTP服务器。则是可以安装vsftpd,但是默认系统不会启动这个进程。需要手动启动。