Difference between revisions of "Proxmox 2.0: Akses Konsol VNC"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 26: | Line 26: | ||
* http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html | * http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html | ||
* http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html | * http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html | ||
− | |||
* http://java.com/en/download/manual_java7.jsp -- Java JRE 7 | * http://java.com/en/download/manual_java7.jsp -- Java JRE 7 | ||
Revision as of 07:12, 30 January 2015
Instalasi Menggunakan apt-get
WARNING: Sebaiknya cara ini jangan digunakan karena akan menginstalasi versi terbaru versi terbaru rewel dengan selfsigned certificate
Pastikan anda memiliki akses ke Internet yang kencang.
Masukan di /etc/apt/sources.list
deb http://www.duinsoft.nl/pkg debs all
Lakukan gpg key
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26
Lakukan
sudo apt-get update sudo apt-get install update-sun-jre
Ini akan memakan waktu lumayan karena akan mendownload sekitar 40-50Mbyte file
Download JRE
- http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html
- http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
- http://java.com/en/download/manual_java7.jsp -- Java JRE 7
Instalasi Java Secara Manual
Cara ini lebih aman pakai versi 7u25 .... ok'
Men-delete plugin yang lama
sudo su rm /usr/lib/mozilla/plugins/libnpjp2.so
Menginstalasi
sudo su mkdir /usr/java cd /usr/java/ cp jre-7u25-linux-x64.tar.gz /usr/java/ cd /usr/java tar zxvf jre-7u25-linux-x64.tar.gz cd /usr/lib/mozilla/plugins ln -s /usr/java/jre1.7.0_25/lib/amd64/libnpjp2.so
Menginstalasi versi paling baru
sudo su mkdir /usr/java cd /usr/java/ cp jre-8u31-linux-x64.tar.gz /usr/java/ cd /usr/java tar zxvf jre-8u31-linux-x64.tar.gz cd /usr/lib/mozilla/plugins ln -s /usr/java/jre1.8.0_31/lib/amd64/libnpjp2.so
Edit ConsolPanel
cd /usr/java/jre1.8.0_31/bin ./ControlPanel
Ijinkan self-signed
- Klik Security > Edit Site List > Add > Masukan URL
Mengaktifkan Java Secara Manual
Mengaktifkan secara manual untuk amd64
cd /usr/lib/mozilla/plugins ln -s /usr/java/jre1.7.0_45/lib/amd64/libnpjp2.so
Memperbaiki Sertifikat yang Selfsigned
Java ada di folder
/opt/java/64/jre1.7.0_51/bin
Misalnya web yang di akses adalah 192.168.0.13 port 8006
echo -n | openssl s_client -connect 192.168.0.13:8006 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/mycert.crt
Akan keluar
depth=0 OU = PVE Cluster Node, O = Proxmox Virtual Environment, CN = proxmox.yc0mlc.ampr.org verify error:num=20:unable to get local issuer certificate verify return:1 depth=0 OU = PVE Cluster Node, O = Proxmox Virtual Environment, CN = proxmox.yc0mlc.ampr.org verify error:num=27:certificate not trusted verify return:1 depth=0 OU = PVE Cluster Node, O = Proxmox Virtual Environment, CN = proxmox.yc0mlc.ampr.org verify error:num=21:unable to verify the first certificate verify return:1 DONE
Verify menggunakan perintah
openssl x509 -in /tmp/mycert.crt -text
Ini tidak harus.
Simpan di cacert
keytool -import -trustcacerts -keystore /opt/java/jre/lib/security/cacerts -storepass changeit -noprompt -alias mycert -file /tmp/mycert.crt keytool -import -trustcacerts -keystore /etc/java-sun/security/cacerts -storepass changeit -noprompt -alias mycert -file /tmp/mycert.crt keytool -import -trustcacerts -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt -alias mycert -file /tmp/mycert.crt keytool -import -trustcacerts -keystore /opt/java/64/jre1.7.0_51/lib/security/cacerts -storepass changeit -noprompt -alias mycert -file /tmp/mycert.crt
Referensi
- http://www.duinsoft.nl/packages.php?t=en
- http://www.java.com/en/download/help/linux_x64_install.xml
- http://www.java.com/en/download/help/enable_console_linux.xml
Pranala Menarik
- ProxMox: Instalasi melalui CDROM
- Proxmox: Instalasi melalui USB
- ProxMox: Instalasi di Mesin i686 - tidak bisa
- ProxMox: Akses Web Administrator
- ProxMox: Upload file iso installer
- ProxMox: Membuat Virtual Disk
- ProxMox: Instalasi Java Plugin untuk VNC Browser
- ProxMox: Mengaktifkan Mesin Virtual
- ProxMox: Mengaktifkan Mesin Virtual OpenVZ
- ProxMox: Akses Konsol VNC
- ProxMox: Membuat Cluster
- ProxMox: Backup - Restore - Live Migration
- ProxMox: Monitoring Cluster
- ProxMox: Upgrade 1.9 ke 2.0