1.修改$JAVA_HOME/jre/lib/security/java.security 文件中 securerandom.source 配置项:
将原本的:securerandom.source=file:/dev/random
修改为: securerandom.source=file:/dev/urandom
2.保存退出后,使用killall杀掉java进程:
killall java
3.启动tomcat,8005端口就起来了
/usr/local/tomcat/bin/startup.sh
netstat -nutlp | grep java
tcp6 0 0 :::8080 ::? LISTEN 1584/java
tcp6 0 0 127.0.0.1:8005 ::? LISTEN 1584/java
tcp6 0 0 :::8009 ::? LISTEN 1584/java