VSFTPd self-built Linux network server Method

Source: Internet
Author: User
Tags best ftp
Article Title: VSFTPd self-mounted Linux network server method. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

1. The operating environment is Redhat 9.0, the vsFTPd version is the vsftpd-1.1.3-8.i386.rpm carried by Redhat 9.0, in the third part of the mounting 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. VsFTPd runs in standalone mode. That is to say, all vsFTPd functions in this post are run in standalone mode. As to whether some functions can be run in xinetd mode, you have to test and cannot copy them. Because some functions must run in a specific mode.
  
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. VsFTPd is used to set up FTP servers. The vsFTPd server 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 vsFTPd server.
  
[Root @ linuxsir001 root] # ntsysv
  
Open the vsftpd server, that is, select the vsftpd service after running the ntsysv command.
  
  
Vsftpd
  
3. Run/etc/init. d/vsftpd start
  
[Root @ linuxsir001 root] #/etc/init. d/vsftpd start
Start vsftpd For vsftpd: [OK]
[Root @ linuxsir001 root] #
  
4. VsFTPd can be configured in two modes: standalone "initd" mode and xinetd mode. What we mentioned above is standalone "initd" mode. The operating mechanisms of the two modes are not the same. The stardard initd mode is suitable for Professional FTP, and FTP is always accessed by someone, occupying a large amount of resources. If your FTP is always accessed and logged on. This mode is required. If you have a small number of FTP users, we recommend that you use the xinetd mode. In xinetd mode, vsFTPd is enabled only when the user requests it.

[1] [2] Next page

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.