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 use FTP

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article introduces the relevant knowledge of "how to use FTP". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Software package installation

Red Hat Linux comes with VSFTP server software and does not need to be installed separately. If you do not install the VSFTP server when you install the system, you can install it using either rpm or tar. The new version of the package can be downloaded from VSFTP's website http://vsftp.beasts.org/. For example, install vsftp-2.3.0.tar.gz:

[root@archy ~] # tar-zxvf vsftp-2.3.0.tar.gz [root@archy ~] # cd vsftp-2.3.0 [root@archy vsftp-2.3.0] # make [root@archy vsftp-2.3.0] # mkdir / var/ftp [root@archy vsftp-2.3.0] # chown root.root / var/ftp [root@archy vsftp-2.3.0] # chmod go-w / var/ftp [root@archy vsftp-2.3. 0] # make install [root@archy vsftp-2.3.0] # cp vsftp.conf / etc/vsftp.confVSFTP software general operation

Start VSFTP:

Service vsftp restart

Stop VSFTP:

Service vsftp stop

When the VSFTP software is started, the process of the software will be resident in memory, called a process. To check if a FTP server is started, the following command can be used:

[root@archy ~] # ps-eaf | grep vsftp [root@archy ~] # netstat-anlp | grep ": 21"

Based on the security performance of the Linux system, the default firewall of the system will shield the FTP service so that it is not allowed to connect with the client through the firewall. If you want to allow VSFTP to pass through the firewall, you can use the following command:

Ipables-An INPUT-p tcp-- dport 21-j ACCEPT "how to use FTP" ends here. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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

Development

Wechat

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

12
Report