Notes these days, the company finally had a holiday, finally can be a good heart to learn some proftp+mysql+quota.
Install proftp before, you must do a job, if your MySQL is compiled by itself, it must first modify the/etc/ld.so.conf, otherwise run PROFTP will be an error.
Vi/etc/ld.so.conf
Add the following line:
/usr/local/mysql/lib/mysql
Note that if the MySQL installation path is not the same as mine, then fill in the appropriate path, the compilation of MySQL installation please refer to the "linux+apache+mysql+php typical configuration."
Here we compile the time has been added to the support of modules such as Mysql,quota,ratio, I will talk about their application in the later
OK, now we can start the proftp, as long as
/usr/local/proftpd/sbin/proftpd
Use your FTP client to test the following, should be able to log on normally, including anonymous and Linux username can be.
In fact, the default ProFTP to meet the day-to-day management of the server or more than enough, there is a place to modify it, is the default ProFTP profile does not support FTP retransmission, so we just
Vi/usr/local/proftpd/etc/proftpd.conf
Add the following two lines
Allowretrieverestart on
Allowstorerestart on
After restarting the following proftp, the file can be resumed normally.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.