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/01 Report--
Centos how to install and configure Pureftp, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this can learn, I hope you can gain something.
How to install Pureftp under Centos:
MinUID 100
Only authenticated users are allowed FXP transmissions.
AllowUserFXP yes
Anonymous FXP transmissions are permitted for anonymous and non-anonymous users.
AllowAnonymousFXP no
Users cannot delete and write dot files (filenames begin with '. '), even if the user is the owner of the file.
If the TrustedGID directive is enabled, users of the file's group can access dot-files.
ProhibitDotFilesWrite no
Prohibits reading dot files (filenames begin with '. 'file) (.history,.ssh...)
ProhibitDotFilesRead no
Never overwrite files. When the uploaded file name already exists, it will be renamed automatically, such as file.1, file.2, file.3,...
AutoRename no
Do not accept anonymous uploads of new files ( no = allow uploads)
AnonymousCantUpload no
Only non-anonymous users from the following IP addresses are allowed to connect. You can use this command to open several public IPs to provide anonymous FTP,
A private firewall protected IP is reserved for remote administration. You can also allow only one intranet address to authenticate, while another
An IP provides a purely anonymous FTP service.
TrustedIP 10.1.1.1
If you want to add a PID to each line of the log, remove the comment below.
LogPID yes
Create an additional log file using a format similar to Apache, such as:
fw.c9x.org - jedi [13/Dec/1975:19:36:39] "GET /ftp/linux.tar.bz2" 200 21809338
This log file can be processed by www traffic analyzer.
AltLog clf:/var/log/pureftpd.log
Create an additional log file for the statistics report in an optimized format.
AltLog stats:/var/log/pureftpd.log
Create an additional log file using the standard W3C format. (Compatible with most commercial log analyzers)
AltLog w3c:/var/log/pureftpd.log
CHMOD command is not accepted. Users cannot change the properties of their files.
NoChmod yes
Allow users to restore and upload files, but not delete them.
KeepAllFiles yes
If the user home directory does not exist, it is automatically created.
CreateHomeDir yes
Enable virtual disk quotas. *** The number is the number of *** documents.
The second number is the total file size of *** in Mb.
So 1000:10 limits each user to 1000 files, for a total of 10MB.
Quota 1000:10
If your pure-ftpd compiles with standalone support, you can change the pid file
location. The default location is/var/run/www.example.com. pure-ftpd.pid
PIDFile /var/run/pure-ftpd.pid
If your pure-ftpd compiles with pure-uploadscript support, this directive will cause pure-ftpd to
The requested URL/var/run/pure-ftpd.upload.pipe was not found on this server.
It can read and invoke a script to handle new uploads.
CallUploadScript yes
This option is useful for servers that allow anonymous uploads. When/var/ftp is in/var, a certain amount of disk space needs to be reserved
to protect log files. No new uploads will be accepted when the disk partition is more than X percent full.
MaxDiskUsage 99
If you don't want your users to rename files, set it to 'yes'.
NoRename yes
is 'customer proof' : workaround against common customer errors, like: 'chmod 0 public_html'.
That's a valid command, however, that will lead ignorant customers to set their own documents and will keep your tech support busy with silly questions.
If you are sure that all your users have basic Unix knowledge, this feature will be useless. But if you're a hosting provider
Then activate it.
CustomerProof yes
Concurrency limits per user. This directive only works when compiled with the--with-peruserlimits compilation option added.
Function. (Most binary releases are examples)
Format:
For example, 3:20 means that the same authenticated user *** can have 3 simultaneous active processes. And there can only be a maximum of 20 anonymous user processes at the same time.
PerUserLimits 3:20
Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.
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.