Proftpd

queter

New member
Joined
May 30, 2006
Messages
2
I am using FreeBSD 6.0 and proftpd-1.2.10, how can I update to a more recent proftpd version?

Thanks a lot.
 

floris

Verified User
Joined
Oct 23, 2005
Messages
94
; backup proftpd config just to be sure
cp /etc/proftpd.conf /etc/proftpd.conf.orig

; update ports tree
portsnap fetch
portsnap update

; uninstall proftpd
pkg_delete proftpd-1.2.10

; install proftpd
cd /usr/ports/ftp/proftpd
make install clean
 

pera

Verified User
Joined
Jul 29, 2004
Messages
97
Location
Sweden / Varberg
That work allmost for me, I had to copy the config file to
/usr/local/etc/proftpd.conf
Then I can not stop and start proftpd in DA control panel, I put
proftpd_enable="YES"
in rc.conf
now it works. Would like to have it working in Da Cpanel but...
;)
 

floris

Verified User
Joined
Oct 23, 2005
Messages
94
You better symlink the config file, or you won't be able to add FTP users through DA.
 

chatwizrd

Verified User
Joined
Jul 3, 2005
Messages
2,007
Code:
pkg_add -r "http://files.directadmin.com/services/freebsd5.1/da_proftpd-1.3.0.tgz"
 

queter

New member
Joined
May 30, 2006
Messages
2
chatwizrd said:
Code:
pkg_add -r "http://files.directadmin.com/services/freebsd5.1/da_proftpd-1.3.0.tgz"
This is what system replies :
pkg_add -r "http://files.directadmin.com/services/freebsd5.1/da_proftpd-1.3.0.tgz"
Fetching http://files.directadmin.com/services/freebsd5.1/da_proftpd-1.3.0.tgz... Done.
pkg_add: package 'proftpd-1.3.0' or its older version already installed


But this is proftpd version installed :
220 ProFTPD 1.2.10 Server ready


Thanks in advance for your kind help

PS Should I remove old package before adding the new one?
 

floris

Verified User
Joined
Oct 23, 2005
Messages
94
pkg_delete the old one, just like i described in my initial reply.
 
Top