guacamoleの導入

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
guacamoleの導入 [2023/07/12 11:12] 118.241.250.96guacamoleの導入 [Unknown date] (現在) – 削除 - 外部編集 (Unknown date) 127.0.0.1
行 1: 行 1:
-https://bitnami.com/stack/guacamole/virtual-machine 
-から仮想マシンのイメージをダウンロードし、Virtual Boxで起動。 
  
-sshが動いていないので 
- 
-``` 
-rm /etc/ssh/sshd_not_to_be_run 
- 
-nano /etc/ssh/sshd_config 
-#下記に変更 
-PasswordAuthentication yes 
- 
-systemctl restart ssh 
-``` 
- 
-IPアドレスを固定するために、 
- 
-``` 
-nano /etc/network/interfaces.d/50-cloud-init 
-#下記に変更 
-#iface enp0s3 inet dhcp 
- 
-# 固定設定を追記 
-iface enp0s3 inet static 
-# IP アドレス 
-address 192.168.200.206 
-# ネットワークアドレス 
-network 192.168.192.0 
-# サブネットマスク 
-netmask 255.255.240.0 
-# ブロードキャストアドレス 
-broadcast 192.168.207.255 
-# デフォルトゲートウェイ 
-gateway 192.168.200.1 
-# ネームサーバー 
-dns-nameservers 192.168.200.201 
- 
- 
-systemctl restart ifup@enp0s3 
-``` 
- 
-Port 8080がFWで開いていないので、 
-``` 
-nano /etc/nftables.conf 
-#下記に変更(8888はテスト) 
-tcp dport { 22, 80, 443, 8080, 8888 } accept 
- 
-systemctl restart nftables 
-``` 
- 
-Tomcatの設定変更 
- 
-``` 
-nano /opt/bitnami/tomcat/conf/server.xml 
-#下記に変更(apache proxyのIPアドレスを追加 
-<Valve className="org.apache.catalina.valves.RemoteIpValve" internalProxies="127.0.0.1|0:0:0:0:0:0:0:1|::1|192.168.200.205" remoteIpHeader="x-forwarded-for".... 
- 
-reboot 
-``` 
- 
-PostgreSQL 
- 
-``` 
-nano pg_hba.conf 
-#下記に変更(trustにする) 
-local    all             all                                     trust 
-host     all             all        127.0.0.1/32                 trust 
-host     all             all        ::1/128                      trust 
- 
-reboot 
- 
-psql -U postgres 
-\c bitnami_guacamole 
-insert into guacamole_entity values (3,'test','USER'); 
-insert into guacamole_user values (3, 3, '\x9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08', '', '2023-07-12 06:53:05.426+00', 'f', 'f') 
-#パスワードは\x+SHA256ハッシュ 
-``` 
- 
-Glaucomaにログインして接続を新しく作るときはプロトコルを「RDP」、認証のユーザ名、パスワードは必須、「サーバ証明書を無視する」にチェック 
  • guacamoleの導入.1689160361.txt.gz
  • 最終更新: 2023/07/12 11:12
  • by 118.241.250.96