In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about the steps of building a ftp server in the linux system. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
1. Check the installation of vsftpd software
Use the following command:
# rpm-qa | grep vsftpd
You can detect if vsftpd software is installed, and if not, use the YUM command to install it.
2. Start the service
The use of vsftpd software mainly includes the following commands:
Start the ftp command
# service vsftpd start
Stop the ftp command
# service vsftpd stop
Restart the ftp command
# service vsftpd restart
3. Configuration of vsftpd
There are three main configuration files for ftp, located in the / etc/vsftpd/ directory, which are:
Ftpusers this file is used to specify which users cannot access the ftp server
User_list the default account indicated by this file also cannot access ftp vsftpd.conf vsftpd's main profile by default
4. Log in as an anonymous user
We can complete the configuration of anonymous users by removing the # in front of the two anon_upload_enable=YES anon_mkdir_write_enable=YES items in the configuration file vsftpd.conf. Anonymous users can log in to upload and download files. Remember to restart the service after modifying the configuration file
5. Creation and use of non-anonymous accounts
The vsftpd service is related to the system user, for example, we create a file called testwww
# useradd testwww # passwd testwww
6. Login method
Open the browser: enter the ip/ of the machine where the ftp://vsftp is located in the browser
File opening: enter the folder ip/ of the machine where ftp://vsftp is located
Right-click to select login.
These are the steps of building a ftp server in the linux system. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, 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.