Milton Keanes EscortsGirl With Oversized NipplesBig Boobed HosBras Panties ThongsBbw Mature OrgyStargate Dr Weir NakedCassandra Lynn Yellow BikiniHot Ebony Chick VideoStephen Lawrence Aged 10Natural Sexy Black NudesCurrent Midget ActorsMan Puts Head In Womans PussyMap Toad SuckMediserve Nursing AgencyEssential Fatty Acids And Atopic DermatitisIpswich Striper FishingEbony DommesModel Of Primary Health CareSoftcore Movies XxxIsland Hideaway Virgin IslandsWhy Mnscu SucksHammer Blow Corp TrailerSwimming Vaginal Itch PregnantThe Ikki Twins In PlayboyFemale Bodybuilder Porn ForumStrip HermioneStocking Fetish 2009 Jelsoft Enterprises LtdHiv Testing ForumJiffy Luibe BatteryArabian Amateur TgpBig Boob MaidUsaf Blue Suit UniformUbuntu Record Incoming WebcamGay Army FuckingShes Freaky Pitbull Mp3Big Boobed MexicansMisty Marie BondModel Dean TuckerThe Girls Next Door Playboy SpreadTiny Butt HoleSize Of A Bald EagleFree Uncut Cocks Huge AnalTeen SextopIncrediable AssFemale Genitourinary ExamTim Tivo GirlfriendAmy Adams Free Nude Picks38dd Female PicturesBreast Cancer Awareness Desktop WallpaperSapphic Erotica Hairy MoviesModel 50 Gerrard Record PlayerEnormus Cock AnalThe Mermaid Of Rainy Lake GpsAtlanta Excite Adult MagazineGrandmas Having Sex MoviesAirtel To Std Call Free TrickLovers StoriesUnder The Rainbow SexPersonal Pleasure With PillowGaleri LesbiennesCryotherapy Prostate CancerVintage Zippo Princeton UniversityAdult Novelty Shop IiMy Favorite Nude Boy PicsFunny Adult Cartoon GalleryBuffie The Body Sex TapeHentai Ass HoleSanaa Lathen Sex SceneOmega-3 Fatty Acid ContentElizabeth Berkeley Pussy PicsSexy Volleyball Shorts GalleriesMasterbation With Medical EquipmentAvs Hairless Young PussyBone Marrow Transplants For Hiv PatientClothespins SexCameron Diaz Nude PictureMrblacc SexyFeeding Barley To PoultryWhat Is Using My WebcamAmateur Facials ThumbnailsSomething Sexy Planet StoreKozy Collar Pluming Stack FlashingNursing School PopulationBlack Street NudityPlaylist For Adult DancesApril May AnalAdvanced Chat Rooms For TeensCalifornia Nurse AnesthesiaWhite Patches In ThroatNone Nude BoardEbony Godesses Squirting BukakkaeHades Wife PersephoneBaseball Loving PresidentMultiple Pole VibratorHillhaven Nursing HomeVintage Diamondback BikesCum Swallow ArchiveRussia Porn Big 02Petite Teens BjNew York Tivoli Pregnancy Portrait Photographer

WordPress, PHP, Fastcgi, Nginx on Slicehost Sub-Domain

So, you have your nifty new Rails 2.0 site up and running on a cluster of Mongrels proxied by Nginx and decide that you want to add a sub-domain to your slice to host a blog describing what your site does, since its “Web 2.0″ name doesn’t make a lick of sense.

First you set up your sub-domain. You go to your Slicehost manager, click on the DNS tab, click on the records link next to your domain and the following:

Type: “A”
Name: blog.mydomain.com
Data: IP of mydomain

and hit create. If you want to test whether the sub-domain was created correctly you can always dig the slicehost name servers for blog.mydomain.com and see if your domain IP comes up.

Now you might take a look at the popular Rails blogging systems, like Mephisto, SimpleLog and Radiant. Even though you’ve heard mixed reviews, you might even try installing them, up to you. But sometimes you have folks on the team who really like and are quite productive with WordPress and PHP, so why not make them happy – after all, its the holiday season.

The following steps need to be followed to get WordPress up and running:
1. Install PHP (assuming you have MySQL up and running already):
apt-get install php5 php5-cgi php5-mysql

2. Download WordPress to your /var/www/blog.mydomain.com directory:
wget http://wordpress.org/latest.tar.gz. Untar and follow the WordPress installation instructions to cofigure your database.

3. Create and run a FastCGI script. I used the one from this site and it works fine except for one major difference. I had to add the following line in mine to get anything working properly:

FCGI_WEB_SERVER_ADDRS=127.0.0.1

Make sure the script has the proper permissions. I would also try and get it up and running first before adding additional scripting to launch the script at startup.

4. Configure Nginx. Here is what my nginx.conf looks like for the blog sub-domain.

And here is my fastcgi_param file.

After this, just follow the WordPress install instructions. If you run into trouble, check your Nginx logs, set up logging in your php.ini file and make sure all of your permission are correct on your WordPress install.

Target System: Ubuntu Gutsy on Slicehost VPS.

Sites Referenced:
Primary source with full install instructions
Secondary source
Has fastcgi daemon script and helpful links
Source for Nginx config

This guy recommends just running the lighttpd fastcgi script:
Source with full install with daemon script

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Reply