Solved

FreeBSD + ProFTPD + MySQL

Posted on 2004-08-10
13
1,460 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 62

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 62

Expert Comment

by:gheist
ID: 11765220
/usr/ports/ftp/proftpd ; make install
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 62

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
 

Author Comment

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

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 62

Expert Comment

by:gheist
ID: 11787151
There is no way
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

831 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