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.