[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Recent ProFTPd update
- Subject: Re: [cobalt-users] Recent ProFTPd update
- From: "Bob Noordam" <mac@xxxxxxxx>
- Date: Mon Jan 12 02:09:00 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
This is what i did in the end, backup your config and binary as stated, and
you could roll back to the sun version if you ever want. My servers are up
and running for a few hours now, and all seems fine including virtual host
access and write access. Standard disclaimer blabla apply's, feedback
appreciated.
Upgrading to proftpd 1.2.9 on the Cobalt RAQ 550
download the sourcefile for proftpd-1.2.9 here; http://www.proftpd.org/
upload the file to the server, of use wget from the server if you are unable
to upload the file.
( wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.gz )
ssh into the server
gunzip proftpd-1.2.9.tar.gz
tar -xvf proftp-2.3.9.tar
backup the current config file
cp /etc/proftpd.conf /etc/proftp.conf.bak
backup the current binary
cp /usr/sbin/proftpd /usr/sbin/proftpd-cobalt
Type; ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run
Type; make
Type; make install
Patch the config file;
type; pico -w /etc/proftp.conf
look for the following section;
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 002
change this section into;
# Port 21 is the standard FTP port.
#Port 21
Port 0
SocketBindTight on
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 002
restart the inet server to activate the new version;
/etc/rc.d/init.d/inet restart
** NO LONGER APPLY SUN FTP PACTHES FROM NOW, SINCE THEY ARE FOR A DIFFERENT
VERSION **