Raspberry-pi Install Blackhole

904 查看

Install Java7

echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install oracle-java7-installer
apt-get install oracle-java7-set-default

Verification Java

$ java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

Install Curl

apt-get install curl

Install Blackhole

curl http://code4craft.github.io/blackhole/install.sh | [sudo] sh

Start Blackhole

/usr/local/blackhole/blackhole.sh start

For more help , visit the link below.