Difference between revisions of "Installflashpolicyd"

From IRC Wiki
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 flash*
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, is so it has worked/been started.)''
''(then check flashpolicy is in the list that appears, if so it has been installed successfully)''


==Install with root==


'''Should this fail to work do this after logging in via ssh:'''
If you have root access start flash policy like this:
<pre>
<pre>
rm -r flashpolicy*
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 --port 8002
./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log
ps x
ps x
</pre>
</pre>
''(then check flashpolicy is in the list that appears, is so it has worked/been started.)''
''(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.
If you have root access start flash policy like this:
<pre>./flashpolicyd.rb --xml flashpolicy.xml --logfile flashpolicyd.log</pre>
[[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.