ScreenSlicer Installation

hollingsworthd edited this page Oct 7, 2014 · 9 revisions

These instructions assume installation on Ubuntu 14.04.

Install the pre-requisite software

apt-get install xvfb firefox unzip openjdk-7-jre-headless torsocks

To start ScreenSlicer, from the release directory, run the following commands (or add them to /etc/rc.local or a startup script)

iptables -A INPUT -p tcp -m tcp --dport 8888 -j ACCEPT

Xvfb :10 -ac -screen 0 1366x768x24 &

export DISPLAY=:10

java -server -XX:+AggressiveOpts -Xmx1536m -Xms192m -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=33 -XX:MaxDirectMemorySize=192m -XX:MaxPermSize=192m -XX:+UseSerialGC -jar core.jar &

java -server -XX:+AggressiveOpts -Xmx1536m -Xms192m -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=33 -XX:MaxDirectMemorySize=192m -XX:MaxPermSize=192m -XX:+UseSerialGC -jar driver.jar &

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.