The DigitalPimp
Ben Pfountz |
NOTE: install mysql server and client before this.
NOTE: if building with mysql 5.0.0 alpha, you will need to modify modules/mod_sql_mysql.c: change this line: #if MYSQL_VERSION_ID >= 40100 to this line: #if MYSQL_VERSION_ID >= 40100 && MYSQL_VERSION_ID < 50000
NOTE: for both mod_mysql and mod_tls, you must modify the port's Makefile slightly: add this section below the WITH_MYSQL section...
.if defined(WITH_TLS)
Install proftpd from port: cd /usr/ports/ftp/proftpd make WITH_MYSQL=YES WITH_TLS=YES install make clean
Configure proftpd: move /usr/local/etc/rc.d/proftpd.sh.sample to backup directory backup and restore /usr/local/etc/proftpd.conf
this section will allow ftps:
<IfModule mod_tls.c>
</IfModule>
Configure inetd startup: add line to /etc/inetd.conf (dont forget to killall -HUP inetd)
Configure pam.conf: may need to add lines to /etc/pam.conf, but try authentication first:
|
|