- apt-get install wordpress
- apt-get install mysql
- apt-get install sendmail
- ln -s /usr/share/wordpress /var/www
- ln -s /usr/share/wordpress /srv/www
- Create & Run script:
- cp /usr/.../wordpress/examples/mysql-setup /usr/share/doc/wordpress/examples/mysql-setup2
- chmod o+x /usr/.../examples/mysql-setup2
- /usr/.../examples/mysql-setup2
- Fix permissions:
- chown -R /usr/share/wordpress www-data
- chown -R /var/lib/wordpress www-data
- Edit /etc/apache2/sites-enabled/000-default
- RewriteRule ^/wp-content/plugins/var/lib/(.*)$ /var/lib/$1
- RewriteRule ^/wp-content/(.*)$ /var/www/wordpress/wp-content/%{HTTP_HOST}/$1
- http://mydomain.name/...
- Install recommended plugins:
- Clean and simple contact form
- Custom meta widget
- Easy table
- Lightbox gallery
- Twenty Eleven Theme Extensions
If plugins don't work check the source from loaded pages to identify incorrect URL's, adjust rewrite rules to fix.