dbeames
05-11-2005, 02:21 PM
I know it came out late last year, but I am heavy on making sure everything is up to do. Here is a howto upgrade ProFTPd to 1.2.10. I am using Fedora 2, so your exact steps may be diff.
Su to your root account and do the following:
wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10.tar.gz
tar zxvf proftpd-1.2.10.tar.gz
cd proftpd-1.2.10
Now we need to find out what "optional modules" proftpd is running. Do this:
proftpd -l
Anything listed besides:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_auth_pam.c
mod_cap.c
are optional. We need to be sure to include those during configure. Mine has "mod_ratio.c and mod_readme.c".
Now its time to configure it:
install_user=ftp install_group=ftp ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --with-modules=mod_ratio:mod_readme
Note the install_user=ftp and install_group=ftp before it. This is important to make sure proper permissions are set on the files.
Now lets finish it up:
cp /etc/proftpd.conf /etc/proftpd.conf.bak1
make
make install
/etc/rc.d/init.d/proftpd restart
You can test the version by: /usr/sbin/proftpd -v
Or just ftp to localhost and see it (if you left the default site name in the conf.
Thats it. Good Luck!
Su to your root account and do the following:
wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10.tar.gz
tar zxvf proftpd-1.2.10.tar.gz
cd proftpd-1.2.10
Now we need to find out what "optional modules" proftpd is running. Do this:
proftpd -l
Anything listed besides:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_auth_pam.c
mod_cap.c
are optional. We need to be sure to include those during configure. Mine has "mod_ratio.c and mod_readme.c".
Now its time to configure it:
install_user=ftp install_group=ftp ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --with-modules=mod_ratio:mod_readme
Note the install_user=ftp and install_group=ftp before it. This is important to make sure proper permissions are set on the files.
Now lets finish it up:
cp /etc/proftpd.conf /etc/proftpd.conf.bak1
make
make install
/etc/rc.d/init.d/proftpd restart
You can test the version by: /usr/sbin/proftpd -v
Or just ftp to localhost and see it (if you left the default site name in the conf.
Thats it. Good Luck!