How to Install MySql on ProFTPD
If you want to share files over the Internet and maintain logs in the process, you can use ProFTPD with MySQL. ProFTPD, an FTP server application, features a much larger selection of configurable options than the inbuilt FTP server. If you have a MySQL database set up and want to install the MySQL module on the ProFTPD server, you do so during set up. MySQL is a Web-based database for storing data. The MySQL module will integrate the ProFTPD setup with the MySQL setup, providing the potential for logs and other analysis in the future. This assumes you have already downloaded and expanded ProFTPD, waiting to install.
Instructions
-
-
1
Open your command line terminal by clicking the desktop icon or opening it from the System menu.
-
2
Use the change directory (cd) command to navigate to the ProFTPD setup folder.
-
-
3
Type the following command in:<br /><br />./configure --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_sql --with-includes=/usr/include/mysql --with-libraries=/usr/lib
-
4
Press "Enter." This installs the MySQL module along with ProFTPD.
-
5
Complete the installation as you usually would by issuing the "make," then "su," then "make install" consecutively. If you want to create a symbolic link for ProFTPD, you can do so, but this bears no relation to the MySQL element of the setup.
-
1