This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
build:blog [2005/05/29 21:50] 64.85.219.77 Fixed up some installation issues (Craig) |
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 4.1 | + | * PHP 4.3 |
- | * MySQL 3.23.23 | + | * 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: | Set ownership of the directory so Apache can use it: | ||
Line 33: | Line 38: | ||
Edit wp-config.php and change the following settings: | 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> | ||
Remove some files that aren't needed after installing: | Remove some files that aren't needed after installing: | ||
# rm license.txt readme.html wp-config-sample.php wp-admin/import*.php | # 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. | + | Run the installation script by accessing http://dev.sluug.org/wordpress/wp-admin/install.php in a web browser. |
- | Weblog title: Saint Louis UNIX Users Group | + | Enter the weblog title ('Saint Louis GNU/Linux Users Group') and email address. |
- | Your email: webmaster@sluug.org | + | |
Record the admin password that is generated. It will be needed to log in to administer the application. | Record the admin password that is generated. It will be needed to log in to administer the application. | ||
Line 52: | Line 58: | ||
Log in as admin with the newly generated password. | Log in as admin with the newly generated password. | ||
- | **Options / General** | + | **Options / General** |
- | Weblog title: Saint Louis UNIX Users Group | + | Weblog title: Saint Louis GNU/Linux Users Group |
Tagline: Open Systems, Open Standards, Open Source | Tagline: Open Systems, Open Standards, Open Source | ||
Weeks in the calendar should start on: Sunday | Weeks in the calendar should start on: Sunday | ||
- | **Options / Permalinks** | + | |
+ | **Options / Permalinks** | ||
Structure: /%year%/%monthnum%/%day%/%postname%/ | Structure: /%year%/%monthnum%/%day%/%postname%/ | ||
===== Notes ===== | ===== Notes ===== | ||
- | There are several things that I consider to be problematic trying to use WordPress as a CMS for general content: | + | 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. | * 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**. | * 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**. | ||
Line 68: | Line 75: | ||
====== TODO ====== | ====== TODO ====== | ||
- | Test some other blogs: | + | 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]] | ||
+ |