In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
CentOS6.8 how to build Pure-FTPd1.0.46, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
FTP is the abbreviation of File Transfer Protocol (File transfer Protocol), which is used to upload local files to the server.
1. Download installation download source code package: wget ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.46.tar.bz2
Enter the directory after decompression: tar-xf pure-ftpd-1.0.46.tar.bz2cd pure-ftpd-1.0.46
Configuration file:
Need to be installed in advance:
Compiler
Yum-y install gcc gcc-c++
SSL header file
Yum-y install openssl-devel
Configuration:. / configure-- prefix=/usr/local/pureftpd--without-inetd--with-altlog--with-puredb--with-throttling--with-peruserlimits--with-tls
Installation: make & & make install
Modify the configuration file: vi / usr/local/pureftpd/etc/pure-ftpd.conf add two sentences at the end: PureDB usr/local/pureftpd/etc/pureftpd.pdbPIDFile / usr/local/pureftpd/var/run/pure-ftpd.pid
Establish system user: useradd zau
Zau is the user name, customized
Create a ftp sharing directory and change the permission: mkdir / home/zau
Chown-R zau:zau / home/zau
Custom definition
Establish a virtual user: bin/pure-pw useradd login-u zau-d / home/zau
Login is the virtual user name used when logging in, which is set by yourself
After hitting enter, you will be prompted to set the password and enter it twice.
Start the service sbin/pure-ftpd / usr/local/pureftpd/etc/pure-ftpd.conf
Create a virtual user database and find the location of pure-pw. Find-name pure-pwcd go in and execute:. / pure-pw mkdb
Then I can test it through the ftp Link tool (FileZilla). For my CVM, I have to go to the console to open a port before it can be used properly.
two。 Other methods
The tool is convenient, but after it was built yesterday, the file was successfully uploaded during the test, and the server has been unable to connect ever since. It's annoying! And then I found another way:
Xshell uploads Windows files to Linux (rz directive)
First of all, configure your user name and password for your xshell, and you must use an account with permission to download:
Yum provides * / rz
You can see the specific location of rz Filename:/usr/bin/rz. After confirming the existence of the package, install it:
Yum install-y lrzsz
Complete will be prompted after completion, and then the file can be uploaded through the rz command (the file will be uploaded to the current directory)
After reading the above, have you mastered how CentOS6.8 builds Pure-FTPd1.0.46? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.