Nowadays, more and more people choose open-source Linux operating systems, which is not inferior to Windows performance and approachable price, which is the best reason for people to choose it, redHatLinux9 is the most widely used Linux operating system. RedHatLinux9 uses its simple configuration and graphical interface to provide a wide range of Internet services. FTP is one of the services it provides. FTP plays an important role in many network applications, and various software resources on the Internet
Nowadays, more and more people choose open-source Linux operating systems, which is not inferior to Windows performance and approachable price, which is the best reason for people to choose it, red Hat Linux 9 is one of the most widely used Linux operating systems. Red Hat Linux 9 uses its simple configuration and graphical interface to provide a wide range of Internet services. FTP is one of the services it provides. FTP plays an important role in many network applications. Most of the various software resources on the Internet are stored on FTP servers. Like most Internet services, FTP is also a client/server system. Next, I will give you a brief introduction of how to set up an FTP server under Red Hat Linux 9.
1. Install the vsftpd Server
Vsftpd is currently one of the best FTP server tools in Linux. Among them, vs is short for "Very Secure" (Very Secure). It can be seen that its biggest advantage is security. In addition, it also has the advantages of small size, customizable, and high efficiency.
If you choose to fully install Red Hat Linux 9.0, the system will install the vsftpd server by default. In the terminal command window, enter the following command for verification:
[Root @ ahpeng root] rpm-qagrep vsftpd
If the result shows as a vsftpd-1.1.3-8, it indicates that the vsftpd server is installed. If you do not select a vsftpd server when installing Red Hat Linux 9.0, you can click the "Main Menu> system Settings> add or delete application" menu in the graphic environment, in the "software package management" dialog box that appears, make sure that the "FTP server" option is selected, and then click the "Update" button. Follow the on-screen prompts to insert 3rd installation discs to start installation.
Alternatively, you can insert 3rd installation discs, locate the vsftpd-1.1.3-8.i386.rpm installation package under/RedHat/RPMS, and then run the following command in the terminal command window to start the installation process:
[Root @ ahpeng RPMS] rpm-ivh vsftpd-1.1.3-8.i386.rpm
2. Start/restart/stop the vsftpd service
From Red Hat Linux 9.0, vsftpd starts the vsftpd service in standalone mode by default by running the following command in the terminal command window:
[Root @ ahpeng root]/etc/rc. d/init. d/vsftpd start
Restart the vsftpd service:
[Root @ ahpeng root]/etc/rc. d/init. d/vsftpd restart
Disable the vsftpd service:
[Root @ ahpeng root]/etc/rc. d/init. d/vsftpd stop
After confirming that the vsftpd service has been started, we can enter "ftp FTPAddres" in the DOS command window of any Windows host (replace FTPAddres with the actual FTP Server IP address or domain name ), note that the username and password are all ftp (ftp is the ing of anonymous users to user accounts), as described below:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
F: \ Peter> ftp FTPAddress
Connected to FTPAddress
220 (vsFTPd 1.1.3) // vsftpd Response Request
User (FTPAddress :( none): ftp // enter the User account ftp
331 Please specify the password.
Password: // enter the ftp Password
230 Login successful. Have fun.
Ftp>