O'Reilly logo

Choosing an Open Source CMS by Nirav Mehta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action-install WordPress

Now that we are ready to install WordPress, let's go ahead!

  1. Go to www.wordpress.org and download the latest version of WordPress.
  2. Unzip the source code.
  3. Create a new database on your host—call it wordpress. Create a new user oscms with the password oscmsPass and give it access to the database. You can do this using your web host's control panel. Otherwise, you can run the following SQL queries as MySQL root (administrator) user:
    create database wordpress;
    grant all privileges on wordpress.* to oscms@localhost identified by 'oscmsPass';
    flush privileges;
    
  4. Locate a wp-config-sample.php file in the WordPress source code you unzipped. Copy that file as wp-config.php.
  5. Open wp-config.php and edit the first few lines to add ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required