0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

CentOS 7 に Apache Guacamole 1.1.0 をインストールしてみた

Last updated at Posted at 2020-06-02

0. 前提条件

マシン IPアドレス OSユーザ OSパスワード
接続元PC 任意 - -
Guacamole CentOS 7 192.168.56.10 - -
接続先 Windows 10 192.168.56.11 windows10_user windows10_pass
接続先 CentOS 7 192.168.56.12 centos7_user centos7_pass

1. 事前準備 【Guacamole CentOS 7】

# systemctl stop firewalld
# systemctl disable firewalld

2. リポジトリの追加 【Guacamole CentOS 7】

# yum -y --disablerepo=updates install epel-release

3. パッケージのインストール 【Guacamole CentOS 7】

# yum install -y --disablerepo=updates \
  guacd \
  libguac-client-kubernetes \
  libguac-client-rdp \
  libguac-client-ssh \
  libguac-client-telnet \
  libguac-client-vnc

4. WebUI (Tomcat) のインストールと設定 【Guacamole CentOS 7】

# yum install -y --disablerepo=updates -y tomcat
# curl -Lo /var/lib/tomcat/webapps/guacamole.war \
  http://archive.apache.org/dist/guacamole/1.1.0/binary/guacamole-1.1.0.war

5. 接続先の設定 【Guacamole CentOS 7】

# mkdir -p /etc/guacamole/
# cat <<EOF >/etc/guacamole/user-mapping.xml
<user-mapping>
    <authorize username="guacuser" password="guacpass">
        <connection name="Windows 10">
            <protocol>rdp</protocol>
            <param name="hostname">192.168.56.11</param>
            <param name="username">windows10_user</param>
            <param name="password">windows10_pass</param>
            <param name="ignore-cert">true</param>
        </connection>
        <connection name="CentOS 7">
            <protocol>ssh</protocol>
            <param name="hostname">192.168.56.12</param>
            <param name="username">centos7_user</param>
            <param name="password">centos7_pass</param>
        </connection>
    </authorize>
</user-mapping>
EOF

6. Guacamole の起動 【Guacamole CentOS 7】

# systemctl start guacd
# systemctl start tomcat

7. 動作確認【接続元PC】

  1. ブラウザで http://192.168.56.10:8080/guacamole/ にアクセスする。
  2. user-mapping.xml に設定したユーザ名とパスワード (上の例だとguacuser/guacpass) でログインする。
0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?