133
edits
No edit summary |
|||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
==Installation== | ==Installation== | ||
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 [http://codex.wordpress.org/Installing_WordPress handy guide]. | |||
==Setting with SSH== | ==Setting with SSH== | ||
Right so, the permissions on Wordpress can trick you up - if you don't use the right command. So | Right so, the permissions on Wordpress can trick you up - if you don't use the right command. So butlerx and pints got sick of all the little problems so wrote a [https://git.redbrick.dcu.ie/Redbrick/eduScripts/src/master/setupWordpress script] for it | ||
*Login into Redbrick from Terminal or PuTTY (or some other SSH client). | * Login into Redbrick from Terminal or PuTTY (or some other SSH client). | ||
* Download the script: | |||
<code>wget https://git.redbrick.dcu.ie/Redbrick/eduScripts/raw/master/setupWordpress</code> | |||
*Download | * Run the script: | ||
<code>wget | <code>bash setupWordpress</code> | ||
* | * Follow the prompts of the script | ||
<code> | *You now have "wordpress" in your public_html folder, and that's basically as much as you need to do from your SSH connection. <code>https://'''YOURUSERNAME'''<nowiki>.redbrick.dcu.ie/</nowiki></code> | ||
*You now have | |||
*You need to check the permission on config.php also, so that it is 400. | *You need to check the permission on config.php also, so that it is 400. | ||
<code>chmod 400 wp-config.php</code> | <code>chmod 400 wp-config.php</code> | ||
*Follow the WordPress instructions there, you will need a Mysql database at this point just email admins for one | *Follow the WordPress instructions there, you will need a Mysql database at this point just email admins for one | ||
[[Category:HowTo]] | [[Category:HowTo]] |