adsense

How to Install WordPress for a Blog on Ubuntu 10.04





1. Open a Terminal window and type 'sudo apt-get install apache2'. Follow the on-screen instructions to install Apache.
2. Go back to the Terminal and type 'sudo apt-get install mysql-server-5.1'. Follow the prompts to install MySQL. This might take a while.

3. Return to the terminal and type 'sudo apt-get install php5'. This will install PHP version 5. After it's done, type 'sudo apt-get install php5-mysql' to install the MySQL module.
4. Download WordPress software to your desktop from the official site. Open the downloaded file and follow the prompts to install it.
5. Open a Terminal window and type 'sudo gedit /etc/apache2/apache2.conf'. Type the following line at the end of the file: 'AddType application/x-httpd-php .html'. Save the file and exit.
6. Enter 'sudo mysql_install_db' in the Terminal to prepare MySQL for WordPress use. When the install is completed, enter the command 'mysql -u root -p' to log into the MySQL command-line client. Enter the password you chose to log in to the local client prompt.
7. Create a database for WordPress by entering 'CREATE DATABASE wordpress;'. When the database is created, type in 'CREATE USER wordpressuser;' and then 'SET PASSWORD FOR wordpressuser = PASSWORD('password');', entering whatever password you want in the quotation marks.
8. Type in 'GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost IDENTIFIED BY 'password';', and then type 'exit' to quit the client.
9. Create the following directory: '/var/www/wordpress' and then unpack WordPress files into it.
10. Open a Terminal window and type 'sudo gedit /var/www/wordpress/wp-config-sample.php'. Change the value 'putyourdbnamehere' to 'wordpress,' the value 'usernamehere' to 'wordpressuser' and the value 'yourpassword' to the password you chose in Step 8.
11. Save the file as 'wp-config.php'.
12. Open a browser and go to http://127.0.0.1/wordpress, which should show up as the WordPress configuration page. Follow the instructions to configure your WordPress blog.

Comments

0 Responses to "How to Install WordPress for a Blog on Ubuntu 10.04"

Post a Comment

Popular Posts

About