- First check that Apache, Mysql and Phpmyadmin is installed and working (sort of an AMP server?;-)
- 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
- Extract your WordPress archieve into your server directory.
sudo tar zxvf wordpress-x.x.x.tar.gz --directory=/var/www/ - 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)
- First create database: wordpress
- Then create a new user: wordpress with password: wordpresspassword
Write down the values you used for databasename, wordpressusername, hostname, and password for future purpose. - 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');
- 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.
- To test: Point your browser to http://localhost/wordpress.
Ingen kommentarer:
Send en kommentar