Solved

FreeBSD + ProFTPD + MySQL

Posted on 2004-08-10
13
1,451 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

757 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

22 Experts available now in Live!

Get 1:1 Help Now