|
|
(2 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| | {{Outdated}} |
| | |
| [[Category:HowTo]] | | [[Category:HowTo]] |
| This page documents how to install [http://wordpress.org Wordpress] '''2.0.x''' version. The page [[Installing Wordpress on Redbrick]] should detail how to install the latest version of Wordpress. | | This page documents how to install [http://wordpress.org Wordpress] '''2.0.x''' version. |
| | |
| | Unless you have a very good reason you should refer to the guide for installing the latest version of Wordpress. The old legacy 2.0.x builds have not been maintained since 2007 and so have several known security exploits. |
| | |
| | The page [[Installing Wordpress on Redbrick]] should detail how to install the latest version of Wordpress. |
| __TOC__ | | __TOC__ |
| You can get your hands on the last working 2.0.x version on Redbrick of Wordpress at http://static.wordpress.org/archive/wordpress-2.0.4.tar.gz | | You can get your hands on the last working 2.0.x version on Redbrick of Wordpress at http://static.wordpress.org/archive/wordpress-2.0.4.tar.gz |
Line 8: |
Line 14: |
| You will need to have an SQL account so if you don't have one [http://www.redbrick.dcu.ie/help/faq/#sqlaccess email the admins]. | | You will need to have an SQL account so if you don't have one [http://www.redbrick.dcu.ie/help/faq/#sqlaccess email the admins]. |
|
| |
|
| Because it's a PHP application and your trying to run it on Redbrick you've got to modify the files to include '#!/usr/local/bin/php' at the beginning of any PHP file that will be excuted.
| | You can follow the instructions included with Wordpress to finish the installation. |
|
| |
|
| Here is the list of files you'll need to modify to get it installed and up and running. There maybe more but they'll be corner cases rather than anything else. These have been tested on the version 2.0.4.
| | ==Getting Permalinks== |
| | |
| index.php
| |
| wp-comments-post.php
| |
| wp-login.php
| |
| wp-pass.php
| |
| wp-register.php
| |
| wp-rss.php
| |
| wp-trackback.php
| |
| xmlrpc.php
| |
| wp-admin/edit-comments.php
| |
| wp-admin/categories.php
| |
| wp-admin/edit-pages.php
| |
| wp-admin/edit.php
| |
| wp-admin/import.php
| |
| wp-admin/index.php
| |
| wp-admin/install.php
| |
| wp-admin/link-add.php
| |
| wp-admin/link-categories.php
| |
| wp-admin/link-import.php
| |
| wp-admin/link-manager.php
| |
| wp-admin/moderation.php
| |
| wp-admin/options-discussion.php
| |
| wp-admin/options-general.php
| |
| wp-admin/options-misc.php
| |
| wp-admin/options-reading.php
| |
| wp-admin/options-permalink.php
| |
| wp-admin/options-writing.php
| |
| wp-admin/options.php
| |
| wp-admin/page-new.php
| |
| wp-admin/plugin-editor.php
| |
| wp-admin/plugins.php
| |
| wp-admin/post.php
| |
| wp-admin/profile.php
| |
| wp-admin/templates.php
| |
| wp-admin/theme-editor.php
| |
| wp-admin/themes.php
| |
| wp-admin/upgrade.php
| |
| wp-admin/users.php
| |
| wp-admin/upgrade.php
| |
| wp-admin/profile-update.php
| |
| wp-admin/inline-uploading.php
| |
| wp-admin/user-edit.php
| |
| wp-admin/setup-config.php
| |
| wp-admin/list-manipulation.php
| |
| wp-includes/js/tinymce/tiny_mce_gzip.php
| |
| | |
| You can use this command on Redbrick to automatically modify the files but replace file1, file2, etc. with the files from the list above.
| |
|
| |
| perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' file1 file2
| |
| | |
| Once you've correctly modified the files, you can follow the instructions included with Wordpress to finish the installation.
| |
| | |
| ==The Easy Option== | |
| | |
| To make life a little easier, you can run this script which will download the latest wordpress, unpack the archive and modify the headers for you. All you need to do then is set it up with your SQL details.
| |
| | |
| /home/associat/c/cammy/bin/install-wordpress-2.0.4
| |
|
| |
|
| This script will create a subdirectory called "wordpress". You can rename and move this directory however you please. This is for release 2.0.4 of wordpress. It will also patch the files to include the proxy fixes below.
| | If you're using a vhost, 'mod_rewrite' is not enabled by default. |
| | |
| ==Getting Permalinks==
| |
|
| |
|
| If your using a vhost, 'mod_rewrite' is not enabled by default. This means that Wordpress Permalink optinos do not work. You must [http://www.redbrick.dcu.ie/cgi-bin/writemail.pl?username=admin-request email the admins] and ask them to enable it for your domain.
| | This means that Wordpress Permalink options do not work. You must [http://www.redbrick.dcu.ie/cgi-bin/writemail.pl?username=admin-request email the admins] and ask them to enable it for your domain. |
|
| |
|
| ''Is 'mod_rewrite' enabled for normal redbrick webpages?'' | | ''Is 'mod_rewrite' enabled for normal redbrick webpages?'' |