— layout: page title: site date: 2010-10-18 07:48:03.000000000 +08:00 type: page published: true status: publish categories: [] tags: [] meta: _wp_page_template: default _edit_last: ‘17109838’ author: login: aaronshang email: aaronshang@gmail.com display_name: Aaron first_name: ‘’ last_name: ‘’ —

Notes on starting wordpress site

  • Create database in MySQL:
  • $ mysql -u root -p
  • mysql> create database database_name;
  • mysql> grant all on database_name.* to database_user@localhost identified by ‘password_for_this_user’;
  • mysql> flush privileges;
  • mysql> exit
  • $EDITOR wp-config.php according to above MySQL operations.
  • Add to apache conf

Alias /weblog/ “/your_target_install_path/”

<Directory /your_target_install_path/>

DirectoryIndex index.php AllowOverride FileInfo Options