-
Notifications
You must be signed in to change notification settings - Fork 13
ScreenSlicer Installation
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 &