Configuring OSx for hosting with Snow Leopard.
So I wanted to setup a Snow Leopard web hosting super duper cool machine.
There are few things, if you want a fresh install, put in Snow Leopard DVD, hit Utilities on the welcome screen and it will reboot.
— Server Install
1. Erase drive. Install Snow Leopard.
2. After some time, install xcode, this will give you all the tools to build think you will need to build.
— Configure Web Server Stuff.
1. Apache, this is very good to configure your hosting files.
http://clickontyler.com/virtualhostx/
2. Get PHP going (you can google this)
3. Install MySql from DMG then add a password to root install.
4. Get Mysql Going ( you have to change the .socket setting in php.ini)
— FTP Server
1. Download the source from here
http://www.pureftpd.org/project/pure-ftpd you will need to compile it and this is why we got xcode.
2. Now you gotta compile it basically: ./configure; make; make install;
then start it with “/usr/local/sbin/pure-ftpd &” more info here http://download.pureftpd.org/pub/pure-ftpd/doc/README
3. Then simply get this http://jeanmatthieu.free.fr/pureftpd/index.html it allows you to create FTP only accounts http://jeanmatthieu.free.fr/pureftpd/index.html
— Mac Ports
Great to install a few things.