Linux Installation FTP Service

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/huangbiao86/article/details/6641952

FTP Server

1. share files between Linux and other machines (install FTP under Linux)

2. Specific installation steps:

A) first check to see if the REDHAT5 is installed on my

Rpm-qa|grep vsftpd

b) View the operational status of the service;

Service iptables Status

c) installation . If there is no installation, you should choose a way to install

I. can go to the official website to download
Http://vsftpd.beasts.org
can also be installed with CD-ROM, RedHat 5 of the CD-ROM, so I choose to install

II. (1) Attach the disc to the system first:
Mount/dev/cdrom/mnt
The contents of the disc are then mounted on the/MNT device, and the contents of the disc can now be accessed by/mnt

Iii.. Enter the disc to find the installation package, Cd/mnt/packages

Iv. 4. Locate the installation package vsftp-0.17-17.i386.rpm

V. 5. Installation program, RPM-IVH vsftp-0.17-17.i386.rpm

Vi. re-rpm-qa| grep VSFTPD detects if the installation (Rpm-ivh vsftp-0.17-17.i386.rpm indicates that the installation is complete)

3. The start and Close command for the FTP service is: Service VSFTPD Strat/stop/restart

4. The default FTP server command:

A) Start: Service vsftpd start (where the last side of VSFTPD represents the process in the background)

b) Login: FTP localhost

c) Exit: Bye

5. Linux query IP (ifconfig)

6, VMware After installation will have three connections, two are virtual (also used by Windows), the virtual piece of the network card is also virtual, as long as the network card put in, any one of the network segment, you can pass the.

7. Ping Linux under Windows if a firewall is installed under Linux then ping is not possible. By default, Linux is installed with firewalls that also block the FTP server

The workaround is to open the port or turn off the firewall

8. Shut down the firewall: service iptables stop

9, when do not know permission is not allowed, you can look at the FTP main configuration file:

/ETC/VSFTPD below vsftpd.conf

Under Linux, most of them have a configuration file.

Own the problems encountered in the installation of FTP and the solution.

1. First check to see if the FTP service is already installed on the system. Rpm-qa | grep vsftpd. If not, install the FTP service. vsftpd.rpm files are available on the Linux installation CD.

Attach the disc to Linux, Mount/dev/cdrom/mnt/cdr. Then cd/mnt/cdr into the directory. RPM-IVH vsftpd.rpm will be able to install the FTP service.

2. Open/Close/view FTP status via service vsftpd start/stop/status Three commands after installing the services

P.S. After the Windows client may not connect to FTP, shut down the Linux Firewall service iptables stop.

3. ifconfig command to view the IP on the FTP server side, this IP should be the same network segment as a NIC under Windows. Too professional, not very understand. My understanding is that the two IP is only the fourth part of the different.

4. Under DOS command line, ping + IP can see if you can connect to FTP. You can also use the client leapftp under Windows to connect (graphical interface OH).

5. Under DOS command line, FTP + Linux IP, login anonymous via anonymous user.

6. Log in with the root user. Modify the file under/etc/vsftpd user_list and Root under Ftpuser with the # comment out.

Linux Installation FTP Service

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.