Install Wordpress3.0 on Ubuntu

Source: Internet
Author: User
Install Wordpress3.0 In Ubuntu. 1. Download the wordpress installation package wgethttp: // response

Install Wordpress3.0 In Ubuntu.

1. Download the wordpress installation package

Wget http://wordpress.org/latest.tar.gz

2. Extract

Tar-xzvf latest.tar.gz

3. Port the wordpress folder obtained from the decompressed package to the/var/www/directory.

Sudo mv wordpress/var/www/
Sudo chmod-R 777/var/www/4. Create a database (wordpress)

Mysql-u root-p
Root: enter your database username, password, and enter the database

Create a "wordpress" Database

Create database wordpress default charset = utf8;

Grant all privileges on wordpress. * TO root @ localhost identified by 'Password ';

Wordpress indicates the database name, root indicates the database user name, and password indicates the Database password.

Flush privileges;

5. Modify the wp-config-sample.php file in wordpress

DB_NAME

The name of the database created for WordPress in step 2.
DB_USER
WordPress username created in step 2
DB_PASSWORD
Step 2: Set the password for the WordPress User Name
DB_HOST
The hostname set in step 2 (usually localhost, but there are always exceptions; www.linuxidc.com see edit the possible DB_HOST value in the wp-config.php file ).
DB_CHARSET
Database string, which is generally unchangeable (see zh-cn: Edit wp-config.php ).
DB_COLLATE
Database sorting left blank (see zh-cn: Edit wp-config.php ).
6. Access your wordpress

Http: // yourip/wordpress/

Go to the wordpress Management page

Http: // yourip/wordpress/wp-admin/install. php

Note: When installing wordpress, make sure that you have installed apache, php5, and mysql.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.