Difference between revisions of "Proxmox 2.0: Akses Konsol VNC"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ==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. | Pastikan anda memiliki akses ke Internet yang kencang. | ||
Line 16: | Line 21: | ||
Ini akan memakan waktu lumayan karena akan mendownload sekitar 40-50Mbyte file | 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/jre8-downloads-2133155.html | ||
+ | * http://java.com/en/download/manual_java7.jsp -- Java JRE 7 | ||
==Instalasi Java Secara Manual== | ==Instalasi Java Secara Manual== | ||
− | |||
Men-delete plugin yang lama | Men-delete plugin yang lama | ||
Line 25: | Line 35: | ||
rm /usr/lib/mozilla/plugins/libnpjp2.so | rm /usr/lib/mozilla/plugins/libnpjp2.so | ||
− | Menginstalasi | + | Menginstalasi versi 7 |
sudo su | sudo su | ||
mkdir /usr/java | mkdir /usr/java | ||
cd /usr/java/ | cd /usr/java/ | ||
+ | cp jre-7u75-linux-x64.tar.gz /usr/java/ | ||
+ | cd /usr/java | ||
+ | tar zxvf jre-7u75-linux-x64.tar.gz | ||
+ | cd /usr/lib/mozilla/plugins | ||
+ | ln -s /usr/java/jre1.7.0_75/lib/amd64/libnpjp2.so | ||
+ | |||
+ | Menginstalasi versi paling baru | ||
− | cp | + | sudo su |
+ | mkdir /usr/java | ||
+ | cd /usr/java/ | ||
+ | cp jre-8u45-linux-x64.tar.gz /usr/java/ | ||
cd /usr/java | cd /usr/java | ||
− | tar zxvf jre- | + | tar zxvf jre-8u45-linux-x64.tar.gz |
+ | cd /usr/lib/mozilla/plugins | ||
+ | ln -s /usr/java/jre1.8.0_45/lib/amd64/libnpjp2.so | ||
+ | |||
+ | ==Edit ConsolPanel== | ||
+ | |||
+ | ===Untuk JRE7=== | ||
+ | |||
+ | cd /usr/java/jre1.7.0_75/bin | ||
+ | ./ControlPanel | ||
+ | |||
+ | Ijinkan self-signed | ||
+ | |||
+ | * Klik Security > Edit Site List > Add > Masukan URL | ||
+ | |||
+ | |||
+ | ===Untuk JRE8=== | ||
+ | |||
+ | cd /usr/java/jre1.8.0_45/bin/ | ||
+ | ./ControlPanel | ||
+ | |||
+ | Ijinkan self-signed | ||
+ | |||
+ | * Klik Security > Edit Site List > Add > Masukan URL | ||
==Mengaktifkan Java Secara Manual== | ==Mengaktifkan Java Secara Manual== | ||
Line 44: | Line 87: | ||
==Memperbaiki Sertifikat yang Selfsigned== | ==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 | Misalnya web yang di akses adalah 192.168.0.13 port 8006 | ||
Line 72: | Line 120: | ||
Simpan di cacert | 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 /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== | ==Referensi== | ||
Line 78: | Line 129: | ||
* http://www.duinsoft.nl/packages.php?t=en | * 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/linux_x64_install.xml | ||
− | + | * http://www.java.com/en/download/help/enable_console_linux.xml | |
− | |||
==Pranala Menarik== | ==Pranala Menarik== |
Latest revision as of 14:18, 8 June 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/jre8-downloads-2133155.html
- http://java.com/en/download/manual_java7.jsp -- Java JRE 7
Instalasi Java Secara Manual
Men-delete plugin yang lama
sudo su rm /usr/lib/mozilla/plugins/libnpjp2.so
Menginstalasi versi 7
sudo su mkdir /usr/java cd /usr/java/ cp jre-7u75-linux-x64.tar.gz /usr/java/ cd /usr/java tar zxvf jre-7u75-linux-x64.tar.gz cd /usr/lib/mozilla/plugins ln -s /usr/java/jre1.7.0_75/lib/amd64/libnpjp2.so
Menginstalasi versi paling baru
sudo su mkdir /usr/java cd /usr/java/ cp jre-8u45-linux-x64.tar.gz /usr/java/ cd /usr/java tar zxvf jre-8u45-linux-x64.tar.gz cd /usr/lib/mozilla/plugins ln -s /usr/java/jre1.8.0_45/lib/amd64/libnpjp2.so
Edit ConsolPanel
Untuk JRE7
cd /usr/java/jre1.7.0_75/bin ./ControlPanel
Ijinkan self-signed
- Klik Security > Edit Site List > Add > Masukan URL
Untuk JRE8
cd /usr/java/jre1.8.0_45/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