Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure FTP service under linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to configure FTP service under linux". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to configure FTP service under linux".

#

The environment Linux6.5 adopts a compact installation.

#

1. After installation, mount the CD and configure the yum source-I have already talked about it in the previous chapter, and I will not say any more.

2. Go to the / media/iso/Packages directory to find the ftp package

[root@localhost Packages] # ls | grep ftp

Ftp-0.17-54.el6.x86_64.rpm

Gvfs-obexftp-1.4.3-15.el6.x86_64.rpm

Lftp-4.0.9-1.el6.i686.rpm

Lftp-4.0.9-1.el6.x86_64.rpm

Tftp-0.49-7.el6.x86_64.rpm

Tftp-server-0.49-7.el6.x86_64.rpm

Vsftpd-2.2.2-11.el6_4.1.x86_64.rpm (this is what we are looking for)

Install the vsftpd rpm package

Yum install vsftpd

Enable the ftp service

Service vsftpd start

3. Install the client on the client

The same way to find the corresponding rpm package on the client

[root@localhost Packages] # ls | grep ftp

Ftp-0.17-54.el6.x86_64.rpm (this is what we are looking for)

Gvfs-obexftp-1.4.3-15.el6.x86_64.rpm

Lftp-4.0.9-1.el6.i686.rpm

Lftp-4.0.9-1.el6.x86_64.rpm

Tftp-0.49-7.el6.x86_64.rpm

Tftp-server-0.49-7.el6.x86_64.rpm

Vsftpd-2.2.2-11.el6_4.1.x86_64.rpm

Install rpm-ivh ftp-0.17-54.el6.x86_64.rpm

4. Finally, if you want to connect, you need to turn off selinux and iptables of the ftp server.

Service iptables stop

Chkconfig iptables off

Modify / etc/selinux/config file

Change SELINUX=enforcing to SELINUX=disabled

Just restart it.

Thank you for reading, the above is the content of "how to configure FTP service under linux". After the study of this article, I believe you have a deeper understanding of how to configure FTP service under linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report