wordpress alongside deprec’d rails stack
so you’ve just created your incredibly amazing www.goatporn.com and now you want to add a wordpress blog at bleat.goatporn.com (cuz what the world needs even more than goat porn is a blog about goat porn).
instructions were derived from a slice running ubuntu dapper (6.06), and a deprec’d (1.9.0) rails stack.
- ensure you’ve got php installed. I highly recommend the deprec way or you risk a mighty migraine.
- ensure your subdomain (”bleat”) is getting through your DNS. (at godaddy this means adding a CNAME entry where {”Host”=>”bleat”, “Points To”=>”@”})
- create an apache .conf for your wordpress subdomain: /usr/local/apache2/conf/apps/bleat.conf
<VirtualHost *:80> ServerName bleat ServerAlias bleat.goatporn.com DocumentRoot /var/www/apps/wordpress <Directory /var/www/apps/wordpress> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <IfModule dir_module> DirectoryIndex index.php </IfModule> ErrorLog logs/bleat-error_log CustomLog logs/bleat-access_log combined </VirtualHost> - install wordpress: follow all 5 steps here (put the untarred wordpress root dir at /var/www/apps/)
- you’ll probably find that the last step of the wordpress install gives you an error in the form of a blank page. No fear, it actually did install everything, but bailed on emailing you the username/password (maybe? as best as i can figure out from wordpress’s forums). To fix you just need to manually change your password as described here (use the alternate step 1&7!)
- then just login at bleat.goatporn.com/wp-admin, and now you are finally able to blog about goat porn.