upgrade plugins without ftp credentials.
wp-config.php:
define('FS_METHOD','direct');
#!/bin/bash
# wp-update.sh
# update wordpress installation(s) to $1 branch
#
# this script takes the new branch as an argument
DOMAINS="domain1.tld \
domain2.tld \
domain3.tld"
if [ $# -ne 1 ]; then
echo "EPIC FAIL: Missing new version!"
echo "Try: ./wp-upgrade x.x.x (ie; 2.7.1)
exit 1
fi
for site in ${DOMAINS}; do
echo "upgrading ${site}"
echo
cd /var/www/${site}/
svn sw http://core.svn.wordpress.org/tags/$1/ .
done
./wp-update.sh 2.7.3
Mystique settings:
User CSS:
#site-title p.headline{ letter-spacing:0em; }
New Install:
$ mkdir blog
$ cd blog
$ svn co http://core.svn.wordpress.org/tags/3.0 .
Updating to a New Stable Version:
$ cd blog
$ svn sw http://core.svn.wordpress.org/tags/3.0/ .
Relocating from the old svn.automattic.com repository
$ svn switch --relocate http://svn.automattic.com/wordpress/tags/2.7.1 http://core.svn.wordpress.org/tags/2.7.1/
Installing/Updating WordPress with Subversion « WordPress Codex
$ mysqldump –default-character-set=latin1 –databases wordpress > m.sql
$ replace “CHARSET=latin1″ “CHARSET=utf8″ \
“SET NAMES latin1″ “SET NAMES utf8″ < m.sql > m2.sql
$ mysql < m2.sql
wp-config.php:
define(‘DB_CHARSET’, ‘utf8′);
define(‘DB_COLLATE’, ”);
atppp’s Blog » Convert WordPress database from Latin1 to UTF-8
bash /usr/share/doc/wordpress/examples/setup-mysql -n wp_mortiablog blog.mortia.org.uk
<Directory “/var/www/wladyx.wxs.ro/wp-content”>
Options -Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>