Skip to content

Instantly share code, notes, and snippets.

@kitsunde
Created February 1, 2011 13:31
Show Gist options
  • Save kitsunde/805851 to your computer and use it in GitHub Desktop.
Save kitsunde/805851 to your computer and use it in GitHub Desktop.
mysql -uroot -p -e"create database wp_dropbox"
sudo a2ensite wordpress
sudo apache2ctl restart
NameVirtualHost *:8080
Listen 8080
sudo chown www-data -R /home/celc/Dropbox/www/wordpress/
<VirtualHost *:8080>
ServerAdmin webmaster@localhost
DocumentRoot /home/celc/Dropbox/www/wordpress/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment