Installing Wordpress on Redbrick: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
==Setting with ssh==
==Setting with ssh==
Right so the permission on wordpress can trick you up if you don't use the right command. So here a step by set guide.
Right so the permission on wordpress can trick you up if you don't use the right command. So here a step by set guide.
#Login into Redbrick from terminal or putty (or some other ssh)
*Login into Redbrick from terminal or putty (or some other ssh)
#Enter your public_html folder <code>cd public_html</code>
*Enter your public_html folder:
#Download WordPress with wget <code>wget http://wordpress.org/latest.tar.gz</code>
<code>cd public_html</code>
#Now extract it, this is the part where if you do it wrong permissions are a plain in the a$$! so use <code>tar -pxvzf latest.tar.gz</code> the -p insures that the permissions will be the same as when it was compress (which WordPress normally have right)
*Download WordPress with wget:
#You now have a folder called WordPress, and that as much as you need to do from ssh got to. http:redbrick.dcu.ie/~'''YOURUSERNAME'''/wordpress/
<code>wget http://wordpress.org/latest.tar.gz</code>
#Follow the WordPress instructions there, you will need a Mysql database at this point just email admins for one
*Now extract it, this is the part where if you do it wrong permissions are a plain in the a$$! so use:
<code>tar -pxvzf latest.tar.gz</code>  
the -p insures that the permissions will be the same as when it was compress (which WordPress normally have right)
*You now have a folder called WordPress, and that as much as you need to do from ssh got to. http:redbrick.dcu.ie/~'''YOURUSERNAME'''/wordpress/
*Follow the WordPress instructions there, you will need a Mysql database at this point just email admins for one


===<s> Fixing the Dashboard - WordPress 2.8 or higher</s> ===
===<s> Fixing the Dashboard - WordPress 2.8 or higher</s> ===

Revision as of 13:47, 5 November 2013

WordPress is a nifty open-source PHP Content Management (or "blogging") web tool. You can use it to handle your website blog with ease.

Installation

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 permission on wordpress can trick you up if you don't use the right command. So here a step by set guide.

  • Login into Redbrick from terminal or putty (or some other ssh)
  • Enter your public_html folder:
cd public_html
  • Download WordPress with wget:
wget http://wordpress.org/latest.tar.gz
  • Now extract it, this is the part where if you do it wrong permissions are a plain in the a$$! so use:
tar -pxvzf latest.tar.gz 

the -p insures that the permissions will be the same as when it was compress (which WordPress normally have right)

  • You now have a folder called WordPress, and that as much as you need to do from ssh got to. http:redbrick.dcu.ie/~YOURUSERNAME/wordpress/
  • 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 wp-config.php file:

define('WP_PROXY_HOST', 'proxy.dcu.ie');
define('WP_PROXY_PORT', '8080');