https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04
安装java 1.8
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
安装firefox
sudo apt-get firefox
```
用firefox浏览器访问supermicro服务器的ipmi管理页,出现异常
```bash
BadFieldException[ Cache must be enabled for nativelib or installer-desc support,http://192.168.48.221:80/liblinux_x86_64__V1.0.9.jar]
at com.sun.javaws.jnl.XMLFormat.handleResourceElement(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.access$400(Unknown Source)
at com.sun.javaws.jnl.XMLFormat$2$1.visitElement(Unknown Source)
at com.sun.javaws.jnl.XMLUtils.visitChildrenElements(Unknown Source)
at com.sun.javaws.jnl.XMLFormat$2.visitElement(Unknown Source)
at com.sun.javaws.jnl.XMLUtils.visitElements(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.buildResourcesDesc(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.process(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
重点是这条BadFieldException[ Cache must be enabled for nativelib or installer-desc support,http://192.168.48.221:80/liblinux_x86_64__V1.0.9.jar]
用以下方法解决
1. 执行javaws,Open Java Setting
2. Click the Settings button under "Temporary Internet Files" on the General tab.
3. Make sure the check box "Keep temporary files on my computer" is marked.
4. 清除所有cache
https://wiki.polaire.nl/doku.php?id=supermicro_stand_alone_kvm_viewer
https://www.reddit.com/r/sysadmin/comments/4x1c8r/supermicro_servers_and_automated_disk
如果是内网服务器,使用ssh代理
sudo ssh -p 29922 root@10.0.153.45 \
-L 127.0.0.1:80:172.21.120.128:80 \
-L 127.0.0.1:443:172.21.120.128:443 \
-L 127.0.0.1:5900:172.21.120.128:5900 \
-L 127.0.0.1:5901:172.21.120.128:5901 \
-L 127.0.0.1:5120:172.21.120.128:5120 \
-L 127.0.0.1:5123:172.21.120.128:5123 -N
https://www.pickysysadmin.ca/2015/02/08/access-supermicro-bmc-via-ssh-tunnels