Instalasi Wordpress

From OnnoWiki
Revision as of 03:16, 1 February 2008 by Onnowpurbo (talk | contribs) (New page: Install Wordpress in Ubuntu By: Onno W. Purbo # apt-get install libmysqlclient15-dev # apt-get install libphp-adodb # apt-get install libgd2-xpm libgd2-xpm-dev # apt-get install php5-mys...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install Wordpress in Ubuntu By: Onno W. Purbo


  1. apt-get install libmysqlclient15-dev
  2. apt-get install libphp-adodb
  3. apt-get install libgd2-xpm libgd2-xpm-dev
  4. apt-get install php5-mysql
  5. apt-get install php5-gd
  6. apt-get install php5-curl
  7. apt-get install php-image-graph php-image-canvas php-pear


  1. cp wordpress-2.1.1.tar.gz /var/www/
  2. cd /var/www
  3. tar zxvf wordpress-2.1.1.tar.gz
  4. cd /var/www/wordpress
  5. cp wp-config-sample.php wp-config.php
  6. vi wp-config.php

define('DB_NAME', 'wordpress'); define('DB_USER', 'wordpress'); define('DB_PASSWORD', 'wordpress'); define('DB_HOST', 'localhost');


mysql mysql> SET PASSWORD FOR root@localhost=PASSWORD('password');

Alternatively

  1. mysql -u root -p

Enter password: mysql> create database wordpress; mysql> grant INSERT,SELECT on root.* to wordpress@localhost; mysql> SET PASSWORD FOR wordpress@localhost=PASSWORD('password_from_wordpress.conf'); mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on wordpress.* to wordpress@localhost; mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on wordpress.* to wordpress; mysql> exit


Web Access http://localhost/wordpress install.php First Step Weblog title Your e-mail Second admin 633615 wp-login.php