Solved

FreeBSD + ProFTPD + MySQL

Posted on 2004-08-10
13
1,456 Views
Last Modified: 2008-02-01
Hi there.

How do I install ProFTPD with MySQL support, so I can administrat my users through my MySQL database installed on the same server?
0
Comment
Question by:medions
  • 5
  • 5
13 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 11764003
By creating web forms in Perl or PHP.
0
 

Author Comment

by:medions
ID: 11764070
That does not have anything to do with my problem...
What I want, is how to install the ProFTP, with MySQL Support, and how to set it op so it work!
0
 
LVL 61

Expert Comment

by:gheist
ID: 11765220
/usr/ports/ftp/proftpd ; make install
0
 
LVL 61

Expert Comment

by:gheist
ID: 11765227
cd  /usr/ports/ftp/proftpd ; make WITH_MYSQL=yes install
0
 

Author Comment

by:medions
ID: 11765588
It looks good... But before i'm starting, what version of MySQL do you perfer to install for this opputunity?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:medions
ID: 11765602
And how do i set the configurationfile op so it works with the MySQL tables?
0
 
LVL 61

Accepted Solution

by:
gheist earned 250 total points
ID: 11766602
This example is all you need to use ProFTPD with MySQL auth and logging
http://www.proftpd.org/docs/configs/mysql_simple.conf
Not sure about underlying table structure...

Not sure bout versions, you have multiple choices for MySQL
As from MySQL site: 3.x is old 4.0 is stable, 4.1 is testing 5.0 is experimental.
If you have plans to launch your service later than in a month, you can use 4.1 and upgrade when it becomes stable (and your test period is over)
If you launch tomorrow, then 4.0 is suggested

databases/mysql323-client
databases/mysql323-scripts
databases/mysql323-server
databases/mysql40-client
databases/mysql40-scripts
databases/mysql40-server
databases/mysql41-client
databases/mysql41-scripts
databases/mysql41-server
databases/mysql50-client
databases/mysql50-scripts
databases/mysql50-server

Look here too for ways to patch FreeBSD ports to get safer versions of MySQL and kernel
http://www.experts-exchange.com/Operating_Systems/FreeBSD/Q_21084480.html
0
 

Author Comment

by:medions
ID: 11786043
I installed PureFTPD insted of ProFTPD.

But thanks for your help.
0
 

Author Comment

by:medions
ID: 11786052
Hmm how do i give you 50 points, and take the 200 for myself?
0
 
LVL 61

Expert Comment

by:gheist
ID: 11787151
There is no way
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now