Index Animi Mei | |||||
|
home :: tech :: installing-lighttpd-with-ruby-on-tiger
2006 Apr 12 (Wed)
Installing Lighttpd with Ruby on Tiger
I just got finished following the instructions for Building Ruby, Rails, LightTPD, and MySQL on Tiger (except the MySQL part because I already had that set up), and decided to move my play server to my mini instead of my laptop. Since my laptop is running Ubuntu at the moment, it wasn't a simple matter of just mirroring my directories on my laptop to my mini, but it still was quite simple. I first had to install php with fcgi support (the default on os x is the command line interface). So I mozied on over to php.net and downloaded the source, and configured it with the following flags (taken mostly from here): ./configure --prefix=/usr/local/php5-fcgi --enable-fastcgi \\ --enable-force-cgi-redirect --disable-cli --enable-memory-limit \\ --with-layout=GNU --with-regex=php Afterwards, I tweaked a bit here and a bit there the lighttpd.conf (which I put in the directory /etc/lighttpd), and fired up the lighttpd server with the -D option to make sure everything went okay. Well, fortunately it had, except for moving the database connection for WP. So I just backed up my database and installed it on my mini, re-configured phpMyAdmin, and I was set. Oh, and I had to add a new service to the firewall to allow port 80 thru... [all posts in /tech/] [permanent link] |
||||