-----------------------------------------
Ubuntu Server 11.04 - Install Wordpress for Blog
-----------------------------------------
Start with following information.
Ubuntu Server 11.04 - Install Wordpress for Blog
-----------------------------------------
Start with following information.
Creat DB environment for WordPress. This time I used dbname="wpdb" username="wpuser" password="**********"
Login into your mysql.
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 45
Server version: 5.1.54-1ubuntu4 (Ubuntu)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
Create DB
mysql> create database wordpressdb;
Grant privileges with user=Username and password=password.
mysql> grant all privileges on wpdb.* to username@"%" identified by 'password' with grant option;
Download Wordpress archive file and setup environment.
$ cd /var/www
$ sudo wget http://ja.wordpress.org/wordpress-3.0.4-ja.zip
$ sudo unzip wordpress-3.0.4-ja.zip
$ sudo vim wordpress/wp-config-sample.php
--------------------------------
// ** MySQL Configuration - Please find following information from your hosting company ** //
/** Mysql Datbase name for WordPress */
define('DB_NAME', 'wpdb');
/** Username for MySQL Database */
define('DB_USER', 'wpuser');
/** MySQL Database password */
define('DB_PASSWORD', '**********');
/** MySQL Hostname */
define('DB_HOST', 'localhost');
/** Charactar set for database table */
define('DB_CHARSET', 'utf8');
/** Almost we dont need this */
define('DB_COLLATE', '');
:
:
----------------------------------
Rename the saved file
$ sudo mv wordpress/wp-config-sample.php wordpress/wp-config.php
Restart Apache:
$ sudo service apache2 restart
Now you are ready to set it up with the browser. Access to [http://localhost/wordpress or http://***.***.***.***/wordpress]
You redirect to the install page.
Select following information for you site.
-----------------
Site Title : Anything you like
User Name : Anything you like (Default is "admin")
Password :
Confirm Password :
-----------------
Press Install. After few seconds redirect to you login page.
Just click to login and login with above user name and password.
If you can login than its DONE!
Have enjoy!!!
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 45
Server version: 5.1.54-1ubuntu4 (Ubuntu)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
Create DB
mysql> create database wordpressdb;
Grant privileges with user=Username and password=password.
mysql> grant all privileges on wpdb.* to username@"%" identified by 'password' with grant option;
Download Wordpress archive file and setup environment.
$ cd /var/www
$ sudo wget http://ja.wordpress.org/wordpress-3.0.4-ja.zip
$ sudo unzip wordpress-3.0.4-ja.zip
$ sudo vim wordpress/wp-config-sample.php
--------------------------------
// ** MySQL Configuration - Please find following information from your hosting company ** //
/** Mysql Datbase name for WordPress */
define('DB_NAME', 'wpdb');
/** Username for MySQL Database */
define('DB_USER', 'wpuser');
/** MySQL Database password */
define('DB_PASSWORD', '**********');
/** MySQL Hostname */
define('DB_HOST', 'localhost');
/** Charactar set for database table */
define('DB_CHARSET', 'utf8');
/** Almost we dont need this */
define('DB_COLLATE', '');
:
:
----------------------------------
Rename the saved file
$ sudo mv wordpress/wp-config-sample.php wordpress/wp-config.php
Restart Apache:
$ sudo service apache2 restart
Now you are ready to set it up with the browser. Access to [http://localhost/wordpress or http://***.***.***.***/wordpress]
You redirect to the install page.
Select following information for you site.
-----------------
Site Title : Anything you like
User Name : Anything you like (Default is "admin")
Password :
Confirm Password :
-----------------
Press Install. After few seconds redirect to you login page.
Just click to login and login with above user name and password.
If you can login than its DONE!
Have enjoy!!!
No comments:
Post a Comment