piano:root {249} % portinstall www/wordpress **** NOTE **** Before the first use of WordPress, copy wp-config-sample.php to wp-config.php in ${PREFIX}/${WORDPRESS} And Modify it to fit your MySQL. Maybe you need 'mysqladmin create wordpress' first If you are upgrading from 1.x or 2.0 to 2.x, please run http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 2.5.1 ===> Registering installation for wordpress-2.7.1,1 ===> Cleaning for wordpress-2.7.1,1 piano:root {250} %
/usr/local/www/data/wordpress
piano:root {251} % cd /usr/local/www/data/wordpress piano:root {252} % cp wp-config-sample.php wp-config.php
vi wp-config.php
// ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('DB_NAME', 'WP'); /** MySQL database username */ define('DB_USER', 'wp'); /** MySQL database password */ define('DB_PASSWORD', 'xxxxxxxx');
piano:root {254} % ln -s /usr/local/www/data/wordpress /usr/local/www/apache22/data/wordpress
http://ja.wordpress.org/ から日本語のwordpress-2.7.1-ja.zipを取ってくる
2013-10-28 (月) 04:16:15