In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge of this article "Linux how to open FTP service", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to open FTP service in Linux" article.
Introduction to FTP Services: FTP servers (File Transfer Protocol Server) are computers that provide file storage and access services on the Internet, and they provide services in accordance with the FTP protocol.
FTP is File Transfer Protocol (File transfer Protocol). As the name implies, it is a protocol specifically used to transfer files.
Specific steps for installing FTP service on Linux system:\ 1. First of all, the server should install ftp software to check whether it has installed ftp software. # which vsftpd if you see a directory with vsftpd, the server has installed ftp software.
\ 2. View ftp server status # service vsftpd status
\ 3. Start the ftp server # service vsftpd start
\ 4. Restart the ftp server # service vsftpd restart
\ 5. Check whether the service has started # netstat-an | grep 21tcp 00 0.0.0.0 grep 21tcp 21 0.0.0.0 grep 21tcp * if you see the above information, it proves that the ftp service has been enabled.
6. If you need to enable the ftp permission of root users, you need to modify the following two files # vi / etc/vsftpd.ftpusers to comment out root in root#vi / etc/vsftpd.user_list and restart the ftp service.
7. Vsftpd 500OOPS: cannot change directory login error: C: > ftp 192.168.0.101Connected to 192.168.0.101.220 (vsFTPd 2.0.5) User (192.168.0.101: (none)): frank331 Please specify the password.Password:500 OOPS: cannot change directory:/home/frankLogin failed.ftp > ls500 OOPS: child diedConnection closed by remote host. Solution: setsebool ftpd_disable_trans 1service vsftpd restart is OK!
This is the setting command for SELinux. It is OK to turn off SELinux before you are not familiar with SELnux.
\ 8. Permanently enable, that is, automatically enable the ftp service after os restart method 1: cd / etc/xinetd.d, edit the configuration file of the ftp service gssftp: vi / etc/xinetd.d/gssftp, will modify two items:
(a) server_args =-l-a to remove-a to server_args =-l (b) disable=yes to disable=no (c) save exit.
Method 2:
(a) system-config-services, enter the System services in the graphical interface to check whether there is a vsftpd entry. If you do not go to 2., save and exit.
(B) install the service on the third disk of redhat (start-remove / add program), around 200K
(C) # setup can see the vsftpd item at this time, select the services item at this time, save and exit.
The above is the content of this article on "how Linux starts FTP Services". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.