Installing Wordpress on Redbrick
WordPress is a nifty open-source PHP Content Management (or "blogging") web tool. You can use it to handle your website blog with ease.
Download WordPress to somewhere in your
public_html directory and unzip. If you don't already have an SQL account, email the admins to get one. Make sure your permissions are good and then follow this handy guide.
Setting with SSH
Right so, the permissions on Wordpress can trick you up - if you don't use the right command. So here a step by step guide.
- Login into Redbrick from Terminal or PuTTY (or some other SSH client).
- Enter your public_html folder:
- Download WordPress with wget:
- Now extract it - this is the part where if you do it wrong, permissions are annoying to fix, so use:
tar -pxvzf latest.tar.gz
The -p insures that the permissions will be the same as the compressed file you just downloaded (trusting WordPress have it right, as they generally do).
- You now have a folder called "wordpress" in your public_html folder, and that's basically as much as you need to do from your SSH connection.
- You need to check the permission on config.php also, so that it is 400.
chmod 400 wp-config.php
- Follow the WordPress instructions there, you will need a Mysql database at this point just email admins for one
Fixing the Dashboard - WordPress 2.8 or higher
Proxy No Longer Required as of 2013
To fix the dashboard in WordPress 2.8 or higher, add the following lines to your
define('WP_PROXY_HOST', 'proxy.dcu.ie'); define('WP_PROXY_PORT', '8080');