Difference between revisions of "Installflashpolicyd"
Jump to navigation
Jump to search
(Created page with ''''This demonstrates how to run flash without root. Login via ssh then do:''' <pre> cd flash* ./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log --port 8002 ps x …') |
|||
Line 1: | Line 1: | ||
'''This flash policy requires ruby to be installed.''' | |||
==Install without root== | |||
'''This demonstrates how to run flash without root. Login via ssh then do:''' | '''This demonstrates how to run flash without root. Login via ssh then do:''' | ||
<pre> | <pre> | ||
cd | 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 | ./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log --port 8002 | ||
ps x | ps x | ||
</pre> | </pre> | ||
''(then check flashpolicy is in the list that appears, | ''(then check flashpolicy is in the list that appears, if so it has been installed successfully)'' | ||
==Install with root== | |||
If you have root access start flash policy like this: | |||
<pre> | <pre> | ||
wget http://www.lightirc.com/release/flashpolicyd.zip | wget http://www.lightirc.com/release/flashpolicyd.zip | ||
unzip flashpolicyd.zip | unzip flashpolicyd.zip | ||
cd flashpolicyd | cd flashpolicyd | ||
chmod a+x flashpolicyd.rb | chmod a+x flashpolicyd.rb | ||
./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log | ./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log | ||
ps x | ps x | ||
</pre> | </pre> | ||
''(then check flashpolicy is in the list that appears, | ''(then check flashpolicy is in the list that appears, if so it has been installed successfully)'' | ||
==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. | |||
[[Category:Tutorials]] | [[Category:Tutorials]] |
Revision as of 22:26, 26 January 2011
This flash policy 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)
Install with root
If you have root access start flash policy 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 may crash, if this happens lightirc users wont be able to connect. Simply go through the above steps to restart it.