-
▼
2012
(336)
-
▼
May
(23)
- How to Get the Title of the Blog in WordPress
- How to Convert WordPress Template for TypePad
- How to Log Into MooTools for WordPress
- How to Use WordPress Comment Plugins to Improve a ...
- How to Organize Your WordPress Blog Using Pages
- How to Import All Comments From WordPress to Blue ...
- How to Make My Pictures Not Stretch in WordPress
- How to Install Something between the Head Tags in ...
- How to Remove Topics From a WordPress Post
- How to Copy a WordPress Blog to LocalHost
- How to Disable WordPress Widgets in MySQL
- How to Upload a YouTube Video to WordPress
- How to Disable the Automatic Date on a WordPress Blog
- How to Empty Trash Posts in WordPress
- How to Change My Self
- How to Edit a WordPress Header in cPanel
- How to Manually Remove WordPress From HostGator
- How to Edit Wordpress Themes
- How to Install WordPress for a Blog on Ubuntu 10.04
- How to Add a Page Template in WordPress
- How to Import a Word Document Into a WordPress Blog
- How to Use JavaScript With WordPress
- How to Display Excerpts on WordPress Posts
-
▼
May
(23)
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.
1:17 AM | Filed Under | 0 Comments
Post a Comment