Difference between revisions of "Installflashpolicyd"
(Added some information regarding lightirc and a non-root policyd port. Added a temporary fix for the crash problem.) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''This page demonstrates how to install a flash policy that must be installed to use web chats like [[LightIRC]] | '''This page demonstrates how to install a flash policy deamon that must be installed to use web chats like [[LightIRC]] | ||
'''This flash policy requires ruby to be installed.''' | '''This flash policy deamon requires ruby to be installed.''' | ||
==Install without root== | ==Install without root== | ||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
''(then check flashpolicy is in the list that appears, if so it has been installed successfully)'' | ''(then check flashpolicy is in the list that appears, if so it has been installed successfully)'' | ||
You will have to change the policyPort to 8002 for Lightirc to recognize the different Flashpolicy deamon port. | |||
==Install with root== | ==Install with root== | ||
If you have root access start | If you have root access start flashpolicyd like this: | ||
<pre> | <pre> | ||
wget http://www.lightirc.com/release/flashpolicyd.zip | wget http://www.lightirc.com/release/flashpolicyd.zip | ||
Line 29: | Line 31: | ||
==Please note== | ==Please note== | ||
Sometimes this flashpolicy may crash, if this happens lightirc users wont be able to connect. Simply go through the above steps to restart it. | Sometimes this flashpolicy deamon may crash, if this happens lightirc users wont be able to connect. | ||
Simply go through the above steps to restart it or set --logfile to /dev/stdout or /dev/null. | |||
==More information== | |||
*[http://redmine.lightirc.com/projects/1/wiki/Flash_Policy_setup_instructions Flash Policy deamon setup instructions on Lightirc wiki] | |||
[[Category:Tutorials]] | [[Category:Tutorials]] |
Latest revision as of 10:02, 20 January 2012
This page demonstrates how to install a flash policy deamon that must be installed to use web chats like LightIRC
This flash policy deamon requires ruby to be installed.
Install without root
This demonstrates how to run flash without root. Login via ssh then do:
wget http://www.lightirc.com/release/flashpolicyd.zip unzip flashpolicyd.zip cd flashpolicyd chmod a+x flashpolicyd.rb ./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log --port 8002 ps x
(then check flashpolicy is in the list that appears, if so it has been installed successfully)
You will have to change the policyPort to 8002 for Lightirc to recognize the different Flashpolicy deamon port.
Install with root
If you have root access start flashpolicyd like this:
wget http://www.lightirc.com/release/flashpolicyd.zip unzip flashpolicyd.zip cd flashpolicyd chmod a+x flashpolicyd.rb ./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log ps x
(then check flashpolicy is in the list that appears, if so it has been installed successfully)
Please note
Sometimes this flashpolicy deamon may crash, if this happens lightirc users wont be able to connect. Simply go through the above steps to restart it or set --logfile to /dev/stdout or /dev/null.