Skip to content

Instantly share code, notes, and snippets.

@sbussard

sbussard/setup

Created Nov 15, 2011
Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@sbussard 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
You can’t perform that action at this time.