Saturday, 20 April 2013

enabling and installing pureftpd on Mac OS X 10.7

So, my computer is also acting as a web development server. As such, I'd like to access the files from anywhere so I decided I'd like something like FTP setup. But reading the forums FTP is a big no-no. Which is probably why Apple switched it off for OS X 10.7.

So, what are the alternatives:
PureFTPd

But how to install? Well, it needs to be compiled and then installed. Found the process here on an Apple Forum 3rd one down. He states:

find /usr/local -type f -name 'pure-*' | tar -czf pure-ftpd_backup.tgz -T -

tar xzf pure-ftpd-1.0.32.tar.gz
cd pure-ftpd-1.0.32
./configure --with-everything --with-tls --with-certfile=/etc/pure-ftpd/ssl/pure-ftpd.pem --sysconfdir=/etc/pure-ftpd/ --with-sysquotas --mandir /usr/local/man --with-pam --with-virtualchroot  --with-peruserlimits --with-ldap --with-rfc2640
make
sudo make install-strip
cd ..
rm -r pure-ftpd-1.0.32.tar.gz pure-ftpd-1.0.32
After this you can install PureFTPd Manager which should provide you with a GUI, although it states it works for OS X 10.6. Apparently works for 10.7.

Seems to work alright, although I'll have to read up about changing ports and setting up sftp stuff

No comments:

Post a Comment