Last active
May 25, 2017 13:59
-
-
Save jimblom/3715c753c97206e235cc509e60446ac2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
wget https://gist.githubusercontent.com/jimblom/8ca3d775a7dcc67ef13130b104f17fa2/raw/c1eb10d52344a19889eea65cb9c76d9652170a7c/mkcacerts --no-check-certificate | |
wget https://gist.githubusercontent.com/jimblom/8ca3d775a7dcc67ef13130b104f17fa2/raw/c1eb10d52344a19889eea65cb9c76d9652170a7c/certs.sh --no-check-certificate | |
chmod u+x mkcacerts certs.sh | |
./certs.sh | |
rm certs.sh mkcacerts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JRE_SEC_PATH='/usr/lib/jvm/java-8-openjdk/jre/lib/security' | |
cd ~ | |
wget --no-check-certificate -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jce/7/UnlimitedJCEPolicyJDK7.zip | |
unzip UnlimitedJCEPolicyJDK7.zip | |
cp UnlimitedJCEPolicy/*.jar $JRE_SEC_PATH | |
rm -rf UnlimitedJCEPolicy* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /opt | |
opkg update | |
opkg install rxtx | |
useradd -m selene | |
wget https://content.arrowconnect.io/public/selene/latest/selene-db410c.tar.gz --no-check-certificate | |
tar -xf selene-db410c.tar.gz | |
rm selene-db410c.tar.gz | |
wget https://content.arrowconnect.io/public/selene/latest/selene-engine-1.0.jar --no-check-certificate | |
mv selene-engine-1.0.jar selene/lib/ | |
chown -R selene:selene selene |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment