Skip to content

Instantly share code, notes, and snippets.

@ninadsp
Created July 28, 2013 16:11
Show Gist options
  • Save ninadsp/6099125 to your computer and use it in GitHub Desktop.
Save ninadsp/6099125 to your computer and use it in GitHub Desktop.
Code snippets from my blogpost ACAD - How to setup Wordpress on a Ubuntu system (http://ninad.pundaliks.in/blog/2008/08/acad-how-to-setup-wordpress-on-a-ubuntu-system/)
$ ln -s /var/www/wordpress /path/to/wordpress/directory
$ sudo vim /etc/apache2/apache.conf
CREATE DATABASE wordpress;
GRANT ALL ON wordpress.* TO 'wordpress'@'localhost' IDENTIFIED BY 'wordpress';
Alias /wordpress /path/to/wordpress/directory/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment