WordPress Latest Version
Package Extracting
debian:~# wget http://wordpress.org/latest.tar.gz debian:~# tar -zxvf latest.tar.gz
Database setup
mysql> create database wordpress; Query OK, 1 row affected (0.01 sec) mysql> GRANT ALL PRIVILEGES on wordpress.* to user@localhost identified by 'user_password'; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; mysql> exit;
WordPress setup
ervan:~# cd wordpress/
ervan:~/wordpress# cp wp-config-sample.php wp-config.php
ervan:~/wordpress# nano wp-config.php
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'user');
/** MySQL database password */
define('DB_PASSWORD', 'user_password');
/** MySQL hostname */
define('DB_HOST', 'localhost');
ervan:~/wordpress# cd
ervan:~# mv wordpress/ /usr/local/apache2/htdocs/wordpress/
Restart your Web Server
ervan:~/wordpress# /usr/local/apache2/bin/apachectl stop ervan:~/wordpress# /usr/local/apache2/bin/apachectl start
You can setup your virtual host pointing to your wordpress htdocs
Category: Linux | Tags: blog, install wordpress, latest, Linux, setup wordpress, wordpress, wordpress latest, wp, wp config 2 comments »
May 1st, 2010 at 4:15 pm
WordPress is the best blogging platform ever. It is much better than Typepad and blogspot.”-`
July 15th, 2010 at 1:47 am
sure