Created
November 15, 2011 22:49
-
-
Save sbussard/1368630 to your computer and use it in GitHub Desktop.
rackspace + wordpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1111 1111