How to install Java in Kali Linux

直接下JDK,里面包含Jre
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
原装openjdk在
/usr/lib/jvm
Uncompress archive

Now you uncompress and move the whole uncompressed folder to /opt (optional) directory.

tar -xzvf /root/jdk-7u79-linux-x64.tar.gz
mv jdk1.7.0_79 /opt
cd /opt/jdk1.7.0_79

Install and register binaries

This step registers the downloaded version of Java as an alternative, and switches it to be used as the default:

update-alternatives --install /usr/bin/java java /opt/jdk1.7.0_79/bin/java 1
update-alternatives --install /usr/bin/javac javac /opt/jdk1.7.0_79/bin/javac 1
update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.7.0_79/jre/lib/amd64/libnpjp2.so 1
update-alternatives --set java /opt/jdk1.7.0_79/bin/java
update-alternatives --set javac /opt/jdk1.7.0_79/bin/javac
update-alternatives --set mozilla-javaplugin.so /opt/jdk1.7.0_79/jre/lib/amd64/libnpjp2.so

Testing your installation

First of all, close your browser and re-open. You won’t believe how many users actually forgets to do this step and later complains Java ain’t working. I’d advise to bookmark this site to be able to reopen these instructions quickly, or simply copy these into a leafpad / vi / text-editor.

To check the version of Java you are now running

java -version

To check the browser plugin just click Do I have Java?

This should take you to Oracles Java website and you will see a confirmation message.

aliyun高性能计算服务HPC破解密码性能实测

总体评价:屌炸天
对比在线GPU破解阵列:短时间破解无性价比优势,时间超过5小时以后具有性价比优势
以下是实际测试

BenchMark测试:

[root@AliHPC-M40-410 hashcat]# hashcat -b –force
hashcat (v3.20-88-gd36cc4c) starting in benchmark mode…

OpenCL Platform #1: NVIDIA Corporation
======================================
* Device #1: Tesla M40, 2047/11519 MB allocatable, 24MCU
* Device #2: Tesla M40, 2047/11519 MB allocatable, 24MCU

Hashtype: MD4

Speed.Dev.#1…..: 26644.2 MH/s (60.42ms)
Speed.Dev.#2…..: 26506.5 MH/s (60.74ms)
Speed.Dev.#*…..: 53150.6 MH/s

Hashtype: MD5

Speed.Dev.#1…..: 13648.3 MH/s (58.98ms)
Speed.Dev.#2…..: 13537.3 MH/s (59.46ms)
Speed.Dev.#*…..: 27185.6 MH/s
继续阅读aliyun高性能计算服务HPC破解密码性能实测