diff --git a/config_files/.zshrc b/config_files/.zshrc index 168ddad..4f0b6d5 100644 --- a/config_files/.zshrc +++ b/config_files/.zshrc @@ -208,3 +208,9 @@ export NVM_DIR="$HOME/.nvm" . "$HOME/.asdf/asdf.sh" . "$HOME/.asdf/completions/asdf.bash" export EDITOR="code --wait" + +# for openJDK +#export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 +export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 +export PATH=$JAVA_HOME/bin:$PATH + diff --git a/tutos/computer.txt b/tutos/computer.txt index 371ccd8..4bb5030 100644 --- a/tutos/computer.txt +++ b/tutos/computer.txt @@ -392,4 +392,22 @@ find | sort | grep -ve "node_modules/" -e ".git/" | sed 's#[^/]*/#|__ #g;s#__ |# - remote logging - firewall + - **ipmi / idrac6 : connect to the server as if ** + - connect to ipmi (enter the ip adress of the internet connection, not the one of the server) + - in the idrac interface, go to the console and click on 'launch virtual console' + -> it will download a viewer.jnlp file + - open this file with java : + - you can use a python script that does the jobs well + - the script can be found here : **https://gist.github.com/TheJJ/2394cd76d3e2c34d02e3da1bd3e489b2?ref=blockdev.io** + - or you can try to open this file with java (last time I didn't succeed) + - install java 8 (it might works better with idrac6) : **sudo apt-get install openjdk-8-jre** + - install javaws : **sudo apt install icedtea-netx** + - run **javaws viewer.jnlp(blablabla)** + - i also needed to change the security file otherwise it wouldn't open the files because 'jar are not signed' : + - either do it manually : in **/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security**, change lines: + - **jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024...** to remove 'md5' + - **jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024...** + - alternatively you can have a local override, see **https://gist.github.com/xbb/4fd651c2493ad9284dbcb827dc8886d6** + - this is a tutorial, it uses a local java engine (jre) just installed in the folder, and/or a local file to override the security settings + - also, if needed to modify the java control panel, open it with : **/usr/bin/itweb-settings**