To verify that Linux is installed on a LAN network, an experiment was conducted in the last two days to write a complete article.
1. The operating environment in this article is Redhat 9.0, the VSFTPD version is the vsftpd-1.1.3-8.i386.rpm of Redhat 9.0, in the third part of the installation disk
2. The most basic purpose of VSFTPD is to use real users in the system to log on to FTP and use anonymous access.
3. Server IP and DNS settings
The first Nic
IP: 192.168.0.1
Child mask: 255.255.255.0
The gateway is not set:
The second NIC:
IP: 192.168.0.2
Child mask: 255.255.255.0
Gateway not set
Because my operating environment is a small LAN, the IP addresses of other machines are on the network segment 192.168.0. ADSL is connected to the first network card of the server. The second Nic of the server is connected to the hub, and other clients are connected to the hub. In order to allow ADSL to access the internet, because you have manually set the IP address, you must set the DNS as follows:
202.96.134.20.
202.96.168.68
The setting tool is:
[Root @ linuxsir001 root] # redhat-config-network
I. VSFTP is used to set up an FTP server. VSFTP is currently the best FTP server software. It has the advantages of being small, customizable, and efficient.
1. Check whether vsftpd software is installed.
[Root @ linuxsir001 root] # rpm-qa | grep vsftpd
If no display is displayed, vsftpd is not installed. If the following prompt is displayed, it indicates that vsftpd has been installed.
[Root @ linuxsir001 root] # rpm-qa | grep vsftpd
Vsftpd-1.1.3-8
I agree on Redhat 9.0 with its own vsftpd package vsftpd-1.1.3-8 version.
[Root @ linuxsir001 root] # rpm-ivh vsftpd *. rpm
2. Open the VSFTP server.
[Root @ linuxsir001 root] # ntsysv
Open the vsftpd server, that is, select the vsftpd service after running the ntsysv command.
[*] Vsftpd
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service