mandag den 20. august 2007

WordPress Installation on Ubuntu

  1. First check that Apache, Mysql and Phpmyadmin is installed and working (sort of an AMP server?;-)
  2. Download WordPress (in my case in DK version): http://svn.automattic.com/wordpress-i18n/da_DK/tags/2.2.2/wordpress-2.2.2-da_DK.zip
  3. Extract your WordPress archieve into your server directory.

    sudo tar zxvf wordpress-x.x.x.tar.gz --directory=/var/www/
  4. Create a database for WordPress on your Ubuntu, as well as a MySQL user who has all privileges for accessing and modifying it. You can use phpMyAdmin to make it easier (http://localhost)
  5. First create database: wordpress
  6. Then create a new user: wordpress with password: wordpresspassword
    Write down the values you used for databasename, wordpressusername, hostname, and password for future purpose.
  7. Rename the wp-config-sample.php file to wp-config.php. Open and edit wp-config.php file to:

// ** MySQL settings ** //
define('DB_NAME', 'wordpress');

define('DB_USER', 'wordpress');

define('DB_PASSWORD', 'wordpresspassword');

define('DB_HOST', 'localhost');

  1. Run the Install Script by browsing to wp-admin/install.php within the directory into which you just installed WordPress. For example: point your browser to http://localhost/wordpress/wp-admin/install.php.
  2. To test: Point your browser to http://localhost/wordpress.

Ingen kommentarer:

Blog-arkiv