Posted on July 7, 2008 at 8:34 pm
Wordpress on Ubuntu Intrepid
Its pretty easy to install Wordpress 2.5 on Ubuntu Intrepid. The Ubuntu version comes with Multiblog capabilities included. There is an example script (/usr/share/doc/wordpress/examples/setup-mysql) to create new instances of Wordpress Blogs. Unfortunatly the script was copied from Debian and some paths are wrong for Ubuntu. The script below fixes that issue. After that it worked flawlessly for me with wordpress-2.5.1-2ubuntu1.
?Download setup_mysql.diff
82,83c82,83 < [ -d /srv/www ] || mkdir -p /srv/www < ln -s /usr/share/wordpress /srv/www/$DOMAIN --- > [ -d /var/www ] || mkdir -p /var/www > ln -s /usr/share/wordpress /var/www/$DOMAIN 149c149 < UPLOAD="/srv/www/wp-uploads/$DOMAIN" --- > UPLOAD="/var/www/wp-uploads/$DOMAIN" 181a182 > |
English