This is an old revision of the document!
Download the latest WordPress:
# cd /home/www/dev.sluug.org/ # wget http://wordpress.org/latest.tar.gz -O wordpress.tar.gz
Unpack the program:
# tar xfz wordpress.tar.gz # cd wordpress/
Set ownership of the directory so Apache can use it:
# chown -R www-data:www-data .
Create the MySQL database (replace $WORDPRESS_MYSQL_USER with the real username, and $WORDPRESS_MYSQL_PWD with the real password):
# mysqladmin create wordpress # mysql GRANT ALL PRIVILEGES ON wordpress.* TO $WORDPRESS_MYSQL_USER@localhost IDENTIFIED BY '$WORDPRESS_MYSQL_PWD'; FLUSH PRIVILEGES; EXIT;
Tell WordPress about the database it will connect to.
# cp wp-config-sample.php wp-config.php
Edit wp-config.php and change the following settings:
define('DB_NAME', 'wordpress'); define('DB_USER', '$WORDPRESS_MYSQL_USER'); define('DB_PASSWORD', '$WORDPRESS_MYSQL_PWD'); define('DB_HOST', 'localhost');
Remove some files that aren't needed after installing:
# rm license.txt readme.html wp-config-sample.php wp-admin/import*.php
Run the installation script by accessing http://dev.sluug.info/wordpress/wp-admin/install.php in a web browser.
Weblog title: Saint Louis UNIX Users Group Your email: webmaster@sluug.org
Record the admin password that is generated. It will be needed to log in to administer the application.
Log in as admin with the newly generated password.
Options / General
Weblog title: Saint Louis UNIX Users Group Tagline: Open Systems, Open Standards, Open Source Weeks in the calendar should start on: Sunday
Options / Permalinks
Structure: /%year%/%monthnum%/%day%/%postname%/
There are several things that I consider to be problematic trying to use WordPress as a CMS for general content:
Test some other blogs: