Skip to content

Instantly share code, notes, and snippets.

@sbussard
Created November 15, 2011 22:49
Show Gist options
  • Select an option

  • Save sbussard/1368630 to your computer and use it in GitHub Desktop.

Select an option

Save sbussard/1368630 to your computer and use it in GitHub Desktop.
rackspace + wordpress
sudo su
apt-get update
apt-get install unzip apache2 php5-mysql libapache2-mod-php5 mysql-server phpmyadmin
# go through the wizards and set up the passwords, making sure to write them down / memorize!
a2enmod rewrite
nano /etc/apache2/sites-enabled/000-default
# change AllowOverride setting for /var/www from None to All, save then quit
cd /var/www
rm index.html #don't need that junk
wget wordpress.org/latest.zip
unzip latest.zip
mv wordpress/* .
rm -rf wordpress latest.zip
#`touch .htaccess` if it doesn't exist
chown -R www-data:www-data /var/www
chmod 755 .htaccess
/etc/init.d/apache2 restart
# visit http://[ip_address]/phpmyadmin
# log in
# create a database for wordpress to work with
@sbussard
Copy link
Copy Markdown
Author

sbussard commented Dec 1, 2011

1111 1111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment