WordPress Setup

From Wiki
Jump to: navigation, search

Create database

server:/var/www/wordpress# mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 788 to server version: 4.1.11-Debian_4sarge8-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> CREATE DATABASE wordpress;
Query OK, 1 row affected (0.00 sec)

mysql> grant create, select, insert, update, delete, alter, lock tables on wordpress.* to 'user'@'localhost' identified by 'password';
Query OK, 0 rows affected (0.02 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)



  1. Rename the wp-config-sample.php file to wp-config.php.
  2. Open wp-config.php in your favorite text editor and fill in your database details.
  1. Place the WordPress files in the desired location on your web server:
   * If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (but excluding the directory itself) into the root directory of your web server.
   * If you want to have your WordPress installation in its own subdirectory on your web site (e.g. http://example.com/blog/), rename the directory wordpress to the name you'd like the subdirectory to have and move or upload it to your web server. For example if you want the WordPress installation in a subdirectory called "blog", you should rename the directory called "wordpress" to "blog" and upload it to the root directory of your web server.
     Hint: If your FTP transfer is too slow read how to avoid FTPing at : Step 1: Download and Extract.
Personal tools
Namespaces
Variants
Actions
Navigation
Content
Toolbox