作成中
webブラウザにリモートディスクトップが表示可能となる
本家様 http://guacamole.apache.org/
下準備 †
必要なパッケージをインストールします
CentOS 7.6です
[root@c ~]# yum install cairo-devel libjpeg-turbo-devel libpng-devel uuid-devel
次に、経路(VNC,RDP,SSH,telnet)に応じるが、下記パッケージもインストールします
[root@c ~]# yum install ffmpeg-devel freerdp-devel pango-devel libssh2-devel \
libtelnet-devel libvncserver-devel openssl-devel libwebp-devel
音声は不要なので libvorbis、pulseaudioは入れていない
インストール †
最新版(19.07時点)の1.0.0を取得します。ファイル名は「guacamole-server-1.0.0.tar.gz」となります。
http://guacamole.apache.org/releases/1.0.0/
[root@c ~]# cd src/
[root@c src]# gzip -cd guacamole-server-1.0.0.tar.gz | tar xf -
[root@c src]# cd guacamole-server-1.0.0/
[root@c guacamole-server-1.0.0]#
[root@c guacamole-server-1.0.0]# ./configure --with-init-dir=/etc/init.d --prefix=/opt/guacamole
:
:
------------------------------------------------
guacamole-server version 1.0.0
------------------------------------------------
Library status:
freerdp ............. yes
pango ............... yes
libavcodec .......... yes
libavutil ........... yes
libssh2 ............. yes
libssl .............. yes
libswscale .......... yes
libtelnet ........... yes
libVNCServer ........ yes
libvorbis ........... no
libpulse ............ no
libwebp ............. yes
wsock32 ............. no
Protocol support:
RDP ....... yes
SSH ....... yes
Telnet .... yes
VNC ....... yes
Services / tools:
guacd ...... yes
guacenc .... yes
guaclog .... yes
Init scripts: /etc/init.d
Systemd units: no
Type "make" to compile guacamole-server.
[root@c guacamole-server-1.0.0]# make && make install
[root@c guacamole-server-1.0.0]# echo /opt/guacamole/lib > /etc/ld.so.conf.d/guacamole.conf
[root@c guacamole-server-1.0.0]# ldconfig
次にクライアントアプリのインストールを行います。
クライアントアプリはjava servret.... なので動かすにはservlet containerが必要で、例えばTomcatなど。
クライアントアプリのソースコードから作ってもいいけど、ここではすでにコンパイル済みの「guacamole-1.0.0.war」を使います。
これをダウンロードして、servlet containerの所定の場所に設置します。
ここではservlet containerとしてJettyを使います。