User Tools

Site Tools


build:blog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
build:blog [2005/04/18 14:31]
151.145.63.122
build:blog [2008/04/08 18:32] (current)
151.145.245.20 Updates for WordPress 2.5 installation. (CMB)
Line 3: Line 3:
 ===== Requirements ===== ===== Requirements =====
  
 +WordPress 2.5 requires:
   * Apache   * Apache
-  * PHP +  * PHP 4.3 
-  * MySQL+  * MySQL 4.0 
 +  * Apache mod_rewrite (optional, but highly recommended)
  
 +We're going to start with the STLLUG site, because it's simpler than the main SLUUG site.
  
 ===== Installation ===== ===== Installation =====
  
-Download the latest WordPress:​ +Download the latest WordPress. You can get it from [[http://​wordpress.org/​latest.tar.gz]],​ but you won't know what version you're getting. So you can see what versions are available at [[http://​wordpress.org/​download/​release-archive/​]] and download from there. 
-  # cd /home/www/​dev.sluug.org+ 
-  # wget http://​wordpress.org/​latest.tar.gz -O wordpress.tar.gz+  # cd /​home/​www/​ 
 +  # wget http://​wordpress.org/​wordpress-2.5.tar.gz -O wordpress-2.5.tar.gz
  
 Unpack the program: Unpack the program:
-  # tar xfz wordpress.tar.gz +  # tar xfz wordpress-2.5.tar.gz 
-  # cd wordpress/+  # mv wordpress ​wordpress-2.5 
 +  # ln -sf wordpress-2.5 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): Create the MySQL database (replace $WORDPRESS_MYSQL_USER with the real username, and $WORDPRESS_MYSQL_PWD with the real password):
Line 27: Line 35:
  
 Tell WordPress about the database it will connect to. Tell WordPress about the database it will connect to.
-  # mv wp-config-sample.php wp-config.php+  # cp wp-config-sample.php wp-config.php
  
-Edit wp-config.php ​to look like the following:​ +Edit wp-config.php ​and change ​the following ​settings
-  define('​DB_NAME',​ '​wordpress'​);​ +<​file>​ 
-  define('​DB_USER',​ '​$WORDPRESS_MYSQL_USER'​);​ +define('​DB_NAME',​ '​wordpress'​);​ 
-  define('​DB_PASSWORD',​ '​$WORDPRESS_MYSQL_PWD'​);​ +define('​DB_USER',​ '​$WORDPRESS_MYSQL_USER'​);​ 
-  define('​DB_HOST',​ '​localhost'​);​+define('​DB_PASSWORD',​ '​$WORDPRESS_MYSQL_PWD'​);​ 
 +define('​DB_HOST',​ '​localhost'​);​ 
 +</​file>​
  
-===== TODO =====+Remove some files that aren't needed after installing:​ 
 +  # rm license.txt readme.html wp-config-sample.php wp-admin/​import*.php
  
-Test some other blogs:+Run the installation script by accessing http://​dev.sluug.org/​wordpress/​wp-admin/​install.php in a web browser. 
 + 
 +Enter the weblog title ('​Saint Louis GNU/Linux Users Group'​) and email address. 
 + 
 +Record the admin password that is generated. It will be needed to log in to administer the application. 
 + 
 +===== Configuration ===== 
 + 
 +Log in as admin with the newly generated password. 
 + 
 +**Options / General** 
 +  Weblog title: Saint Louis GNU/Linux Users Group 
 +  Tagline: Open Systems, Open Standards, Open Source 
 +  Weeks in the calendar should start on: Sunday 
 + 
 +**Options / Permalinks** 
 +  Structure: /​%year%/​%monthnum%/​%day%/​%postname%/​ 
 + 
 +===== Notes ===== 
 + 
 +There are several things that might be problematic trying to use WordPress as a CMS for general content (this is from version 1.5 or so -- 2.5 has likely resolved them): 
 +  * No way to have the default page be a static page. It's always the latest blog entry. 
 +  * Any time you create a new page or post, the program has to rewrite .htaccess, and adds a lot of mod_rewrite entries. I mean a **lot**. 
 +  * List of pages doesn'​t seem to honor the ordering in the list on the right. 
 + 
 +====== TODO ====== 
 + 
 +Complete installation and configuration of WordPress 2.5. 
 + 
 +Use a single deployment of WordPress for several sites. Probably locate the "​real"​ files in ''/​usr/​local''​ and link them into the DocumentRoots for each site. 
 + 
 +Test some other blog software:
   * [[http://​www.b2evolution.net/​ | b2evolution]]   * [[http://​www.b2evolution.net/​ | b2evolution]]
   * [[http://​www.textpattern.com/​ | TextPattern]]   * [[http://​www.textpattern.com/​ | TextPattern]]
   * [[http://​www.s9y.org/​ | Serendipity]]   * [[http://​www.s9y.org/​ | Serendipity]]
 +
build/blog.1113852681.txt.gz · Last modified: 2005/05/29 21:50 (external edit)