WordPress init

Notes on starting WordPress

  • 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

    </Directory>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s