1. Download and unzip the WordPress package from http://wordpress.org/download/
* If you have shell access to your web server, and are comfortable using console-based tools, you may wish to download WordPress directly to your web server using wget (or lynx or another console-based web browser) if you want to avoid FTPing:
wget http://wordpress.org/latest.tar.gz
Then unzip the package using:
tar -xzvf latest.tar.gz
2. Create the Database and from phpmyadmin for WordPress database (‘wordpress’ or ‘blog’ are good), enter it in the Db field, and click Add Db.
3. Set up wp-config.php
You can either create and edit the wp-config.php file yourself, or you can skip this step and let WordPress try to do this itself when you run the installation script (step 5) (you’ll still need to tell WordPress your database information).
* If you have shell access to your web server, and are comfortable using console-based tools, you may wish to download WordPress directly to your web server using wget (or lynx or another console-based web browser) if you want to avoid FTPing:
wget http://wordpress.org/latest.tar.gz
Then unzip the package using:
tar -xzvf latest.tar.gz
2. Create the Database and from phpmyadmin for WordPress database (‘wordpress’ or ‘blog’ are good), enter it in the Db field, and click Add Db.
3. Set up wp-config.php
You can either create and edit the wp-config.php file yourself, or you can skip this step and let WordPress try to do this itself when you run the installation script (step 5) (you’ll still need to tell WordPress your database information).
Return to where you extracted the WordPress package in Step 1, rename the file wp-config-sample.php to wp-config.php, and open it in a text editor.
Enter your database information under the section labeled
// ** MySQL settings – You can get this info from your web host ** //
DB_NAME
The name of the database you created for WordPress in Step 2 .
DB_USER
The username you created for WordPress in Step 2.
DB_PASSWORD
The password you chose for the WordPress username in Step 2.
DB_HOST
The hostname you determined in Step 2 (usually localhost, but not always; see some possible DB_HOST values).
DB_CHARSET
The database character set, normally should not be changed (see Editing wp-config.php).
DB_COLLATE
The database collation should normally be left blank (see Editing wp-config.php).
The name of the database you created for WordPress in Step 2 .
DB_USER
The username you created for WordPress in Step 2.
DB_PASSWORD
The password you chose for the WordPress username in Step 2.
DB_HOST
The hostname you determined in Step 2 (usually localhost, but not always; see some possible DB_HOST values).
DB_CHARSET
The database character set, normally should not be changed (see Editing wp-config.php).
DB_COLLATE
The database collation should normally be left blank (see Editing wp-config.php).
Enter your secret key values under the section labeled
* Authentication Unique Keys.
Save the wp-config.php file.
4. Upload the files to host.
Now you will need to decide where on your web site you’d like your blog to appear:
* In the root directory of your web site. (For example, http://example.com/)
* In a subdirectory of your web site. (For example, http://example.com/blog/)
* In a subdirectory of your web site. (For example, http://example.com/blog/)
Note: The location of your root web directory in the filesystem on your web server will vary across hosting providers and operating systems. Check with your hosting provider or system administrator if you do not know where this is.
In the Root Directory
In the Root Directory
you need to upload your files to your web server, use your favorite FTP client to upload all the contents of the wordpress directory (but not the directory itself) into the root directory of your web site.
5. Install and run script
Point your favorite web browser to start the installation script.
* If you placed the WordPress files in the root directory, you should visit: http://example.com/wp-admin/install.php
* If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php
* If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php
Setup configuration file.
Reference : educhalk.org
ความคิดเห็น