{"id":1526,"date":"2024-07-06T08:33:52","date_gmt":"2024-07-06T00:33:52","guid":{"rendered":"https:\/\/aichh.com\/?p=1526"},"modified":"2024-07-06T08:34:20","modified_gmt":"2024-07-06T00:34:20","slug":"%e9%80%9a%e8%bf%87-docker-%e5%ae%89%e8%a3%85-apache-guacamole","status":"publish","type":"post","link":"https:\/\/aichh.com\/1526.html","title":{"rendered":"\u901a\u8fc7 Docker \u5b89\u88c5 Apache Guacamole"},"content":{"rendered":"<!--wp-compress-html--><!--wp-compress-html no compression--><p>Apache Guacamole \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u8fdc\u7a0b\u684c\u9762\u7f51\u5173\uff0c\u5141\u8bb8\u60a8\u4f7f\u7528\u4e0d\u540c\u7684\u534f\u8bae\uff08\u4f8b\u5982 SSH\u3001RDP \u548c VNC\uff09\u8fdc\u7a0b\u8fde\u63a5\u5230\u60a8\u7684\u8ba1\u7b97\u673a\/\u670d\u52a1\u5668\u3002 Apache Guacamole \u7531 Apache Software Foundation \u7ef4\u62a4\uff0c\u5e76\u83b7\u5f97 Apache License 2.0 \u8bb8\u53ef\u3002<\/p>\n<p>Apache Guacamole \u662f\u4e00\u4e2a\u65e0\u5ba2\u6237\u7aef\u8fdc\u7a0b\u684c\u9762\u7f51\u5173\u3002\u60a8\u53ef\u4ee5\u968f\u65f6\u968f\u5730\u4ec5\u4f7f\u7528 Web \u6d4f\u89c8\u5668\u8bbf\u95ee Apache Guacamole\u3002\u5982\u679c\u60a8\u6709\u591a\u4e2a\u5177\u6709\u4e0d\u540c\u534f\u8bae\u7684\u8fdc\u7a0b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4f8b\u5982\u5177\u6709 RDP \u7684 Windows \u548c\u5177\u6709 VNC \u548c SSH \u7684 Linux \u7cfb\u7edf\uff0c\u5efa\u8bae\u4f7f\u7528 Apache Guacamole\u3002<\/p>\n<h2>\u5b89\u88c5 Docker<\/h2>\n<p>\u5b89\u88c5 Docker \u548c Docker compose \u540e\uff0c\u63a5\u4e0b\u6765\u60a8\u5c06\u5f00\u59cb\u4e3a Apache Guacamole \u90e8\u7f72\u521b\u5efa\u9879\u76ee\u76ee\u5f55<\/p>\n<h2>\u8bbe\u7f6e\u9879\u76ee\u76ee\u5f55<\/h2>\n<p>\u9996\u5148\uff0c\u901a\u8fc7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u786e\u4fdd\u60a8\u5df2\u4ee5\u975e root \u7528\u6237\u8eab\u4efd\u767b\u5f55\u3002<\/p>\n<pre><code class=\"hljs language-undefined\">su - alice<\/code><\/pre>\n<p>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9879\u76ee\u76ee\u5f55\u201c<em>~\/guacamole-server\u201d<\/em>\u5e76\u5c06\u5de5\u4f5c\u76ee\u5f55\u79fb\u5165\u5176\u4e2d\u3002<\/p>\n<pre><code class=\"hljs language-dos\"><span class=\"hljs-built_in\">mkdir<\/span> -p guacamole-server; <span class=\"hljs-built_in\">cd<\/span> guacamole-server\/<\/code><\/pre>\n<p>\u7136\u540e\uff0c\u5728\u201c<em>~\/guacamole-server<\/em>\u201d\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u76ee\u5f55\u201c<em>init<\/em>\u201d\u548c\u201c<em>docker-compose.yml<\/em>\u201d ' \u6587\u4ef6\u3002<\/p>\n<pre><code class=\"hljs language-dos\"><span class=\"hljs-built_in\">mkdir<\/span> -p init\r\ntouch docker-compose.yml<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\uff0c\u8fd0\u884c\u4ee5\u4e0b\u201c<em>docker pull<\/em>\u201d\u547d\u4ee4\u4e0b\u8f7d Apache Guacamole \u5b89\u88c5\u6240\u9700\u7684 Docker \u6620\u50cf\u3002\u60a8\u5c06\u4e0b\u8f7d\u4e09\u4e2a\u4e0d\u540c\u7684\u6620\u50cf\uff0c<strong>guacd<\/strong>\u00a0\u4f5c\u4e3a\u4ee3\u7406\u7ba1\u7406\u5668\uff0c<strong>guacamole<\/strong>\u00a0\u4f5c\u4e3a Apache Guacamole \u7684\u524d\u7aef\uff0c\u4ee5\u53ca\u00a0<strong>postgres:13<\/strong>\u5c06\u7528\u4f5c Apache Guacamole \u5bb9\u5668\u7684\u6570\u636e\u5e93\u540e\u7aef\u3002<\/p>\n<pre><code class=\"hljs language-undefined\">docker pull guacamole\/guacd\r\ndocker pull guacamole\/guacamole\r\ndocker pull postgres:13<\/code><\/pre>\n<p>\u4e0b\u8f7d guacd \u6620\u50cf\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-1-download-image-guac\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-1-download-image-guac.png\" width=\"761\" height=\"303\"><\/p>\n<p>\u4e0b\u8f7dGuacamole\u955c\u50cf\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-2-download-image-guacamole\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-2-download-image-guacamole.png\" width=\"783\" height=\"375\"><\/p>\n<p>\u4e0b\u8f7d PostgreSQL 13 \u955c\u50cf\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-3-download-image-postgresql\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-3-download-image-postgresql.png\" width=\"748\" height=\"394\"><\/p>\n<p>\u4e0b\u8f7d\u5fc5\u8981\u7684 Docker \u955c\u50cf\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u8fd0\u884c\u65b0\u7684Guacamole\u5bb9\u5668\u5e76\u8fd0\u884c\u201c<strong>initdb.sh<\/strong>\u201d\u811a\u672c\u6765\u4e3a\u60a8\u7684\u90e8\u7f72\u751f\u6210\u6570\u636e\u5e93\u67b6\u6784\u3002\u8fd9\u6837\uff0c\u60a8\u5c06\u751f\u6210\u4e00\u4e2aGuacamole\u6570\u636e\u5e93\u67b6\u6784\u201c<strong>init\/initdb.sql\u201d<\/strong>\u3002<\/p>\n<pre><code class=\"hljs language-sql\">docker run <span class=\"hljs-comment\">--rm guacamole\/guacamole \/opt\/guacamole\/bin\/initdb.sh --postgres &gt; init\/initdb.sql<\/span><\/code><\/pre>\n<p>\u5982\u679c\u662fwindows\u5e73\u53f0\u5219\u6267\u884c<\/p>\n<pre>docker run --rm guacamole\/guacamole \/opt\/guacamole\/bin\/initdb.sh --postgresql &gt; D:dockerguacamoleinitinitdb.sql\r\n<\/pre>\n<p>\u901a\u8fc7\u4e0b\u9762\u7684 cat \u547d\u4ee4\u9a8c\u8bc1Guacamole\u6570\u636e\u5e93\u67b6\u6784\u7684\u5185\u5bb9\u3002<\/p>\n<pre><code class=\"hljs language-powershell\"><span class=\"hljs-built_in\">cat<\/span> init\/initdb.sql<\/code><\/pre>\n<p>\u8f93\u51fa \uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-4-dump-database-schema\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-4-dump-database-schema.png\" width=\"1221\" height=\"985\"><\/p>\n<h2>\u8bbe\u7f6e docker-compose.yml<\/h2>\n<p>\u73b0\u5728\u5df2\u7ecf\u4e0b\u8f7d\u4e86\u5fc5\u8981\u7684 Docker \u955c\u50cf\uff0c\u60a8\u53ef\u4ee5\u5f00\u59cb\u914d\u7f6e\u201c<em>docker-compose.yml<\/em>\u201d\u811a\u672c\u5e76\u8bbe\u7f6e Apache Guacamole \u5b89\u88c5\u3002<\/p>\n<p>\u9996\u5148\u4f7f\u7528\u4ee5\u4e0b nano \u7f16\u8f91\u5668\u547d\u4ee4\u6253\u5f00\u914d\u7f6e\u6587\u4ef6\u201c<em>docker-compose.yml<\/em>\u201d\u3002<\/p>\n<pre><code class=\"hljs language-undefined\">nano docker-compose.yml<\/code><\/pre>\n<p>\u5c06\u4ee5\u4e0b\u884c\u6dfb\u52a0\u5230\u6587\u4ef6\u4e2d\u3002<\/p>\n<pre>services:\r\n  guacd:\r\n    container_name: guac_guacd\r\n    image: guacamole\/guacd:latest\r\n    networks:\r\n      - guacnet\r\n    restart: always\r\n \r\n  postgres:\r\n    container_name: guac_postgres\r\n    environment:\r\n      PGDATA: \/var\/lib\/postgresql\/data\/guacamole\r\n      POSTGRES_DB: guacamole_db\r\n      POSTGRES_PASSWORD: 'you password'\r\n      POSTGRES_USER: guacamole_user\r\n    image: postgres:13\r\n    networks:\r\n      - guacnet\r\n    restart: always\r\n    volumes:\r\n      - \/D\/docker\/guacamole\/init:\/docker-entrypoint-initdb.d:ro\r\n      - \/D\/docker\/guacamole\/data:\/var\/lib\/postgresql\/data:rw\r\n \r\n  guacamole:\r\n    container_name: guac_guacamole\r\n    depends_on:\r\n      - guacd\r\n      - postgres\r\n    environment:\r\n      GUACD_HOSTNAME: guacd\r\n      POSTGRES_DATABASE: guacamole_db\r\n      POSTGRES_HOSTNAME: postgres\r\n      POSTGRES_PASSWORD: 'you password'\r\n      POSTGRES_USER: guacamole_user\r\n    image: guacamole\/guacamole:latest\r\n    links:\r\n      - guacd\r\n    networks:\r\n      - guacnet\r\n    ports:\r\n      - 8080:8080\r\n    restart: always\r\n\r\nnetworks:\r\n  guacnet:\r\n    driver: bridge\r\n<\/pre>\n<p>\u5b8c\u6210\u540e\u4fdd\u5b58\u5e76\u5173\u95ed\u6587\u4ef6\u201c<em>docker-compose.yml<\/em>\u201d\u3002<\/p>\n<p>\u4f7f\u7528\u6b64\u201c<em>docker-compose.yml<\/em>\u201d\u811a\u672c\uff0c\u60a8\u5c06\u521b\u5efa\u4e09\u4e2a\u5bb9\u5668\/\u670d\u52a1\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<ul>\n<li><strong>guacd<\/strong>\u00a0- Apache Guacamole \u7684\u4e3b\u8981\u7ec4\u4ef6\uff0c\u7528\u4e8e\u4ee3\u7406\u591a\u79cd\u534f\u8bae\uff0c\u4f8b\u5982 SSH\u3001RDP\u3001VNC \u7b49\u3002<\/li>\n<li><strong>postgres<\/strong>\u00a0- Apache Guacamole \u5b89\u88c5\u7684\u6570\u636e\u5e93\u540e\u7aef\u3002\u60a8\u7684\u6570\u636e\u5c06\u5b58\u50a8\u5728\u8be5\u5bb9\u5668\u4e2d\u3002<\/li>\n<li><strong>guacamole<\/strong>\u00a0- \u8fde\u63a5\u5230 PostgreSQL \u548c guacd \u670d\u52a1\u7684 Apache Guacamole Web \u5e94\u7528\u7a0b\u5e8f\u3002\u8be5\u5bb9\u5668\u5c06\u5728\u60a8\u7684\u4e3b\u673a\u4e0a\u516c\u5f00\u7aef\u53e3\u00a0<strong>8080<\/strong>\u3002<\/li>\n<\/ul>\n<h2>\u542f\u52a8 Apache Guacamole<\/h2>\n<p>\u5f00\u59cb\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u60a8\u4f4d\u4e8e\u201cguacamole-server\u201d\u9879\u76ee\u76ee\u5f55\u4e2d\u3002\u7136\u540e\uff0c\u8fd0\u884c\u4ee5\u4e0b\u201c<em>docker compose<\/em>\u201d\u547d\u4ee4\u6765\u521b\u5efa\u5e76\u542f\u52a8 Apache Guacamole \u90e8\u7f72\u3002<\/p>\n<pre><code class=\"hljs language-undefined\">docker compose up -d<\/code><\/pre>\n<p>\u60a8\u5e94\u8be5\u770b\u5230\u5982\u4e0b\u8f93\u51fa - \u521b\u5efa\u5e76\u542f\u52a8\u4e86 3 \u4e2a\u4e0d\u540c\u7684\u5bb9\u5668 <strong>guac_postgres\u3001guac_guacd \u548c guac_guacamole<\/strong>\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-5-guacamole-docker-compose\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-5-guacamole-docker-compose.png\" width=\"603\" height=\"189\"><\/p>\n<p>\u6253\u5f00\u60a8\u7684\u7f51\u7edc\u6d4f\u89c8\u5668\u5e76\u8bbf\u95ee\u60a8\u7684\u670d\u52a1\u5668 IP \u5730\u5740\u548c\u7aef\u53e3 8080\uff08\u5373\uff1ahttp:\/\/192.168.5.100:8080\/guacamole\/\uff09\u3002\u60a8\u5c06\u770b\u5230 Apache Guacamole \u767b\u5f55\u9875\u9762\u3002<\/p>\n<p>\u901a\u8fc7\u9ed8\u8ba4\u7528\u6237\u201c<strong>guacadmin<\/strong>\u201d\u548c\u5bc6\u7801\u201c<strong>guacadmin<\/strong>\u201d\u767b\u5f55\u3002\u7136\u540e\u6309\u767b\u5f55\u786e\u8ba4\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-7-login-gacaomelw\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-7-login-gacaomelw.png\" width=\"1009\" height=\"642\"><\/p>\n<h2>\u8bbe\u7f6e Nginx \u4f5c\u4e3a\u53cd\u5411\u4ee3\u7406<\/h2>\n<p>Nginx \u670d\u52a1\u5668\u914d\u7f6e<\/p>\n<pre>server {\r\n\tlisten 80;\r\n\tserver_name guacamole.hwdomain.io;\r\n\troot \/var\/www\/html;\r\n\r\n\tindex index.html index.htm index.nginx-debian.html;\r\n\r\n\taccess_log  \/var\/log\/nginx\/guac_access.log;\r\n\terror_log  \/var\/log\/nginx\/guac_error.log;\r\n\r\n\tlocation \/ {\r\n\t\tproxy_pass http:\/\/127.0.0.1:8080\/guacamole\/;\r\n\t\tproxy_buffering off;\r\n\t\tproxy_http_version 1.1;\r\n\t\tproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n\t\tproxy_set_header Upgrade $http_upgrade;\r\n\t\tproxy_set_header Connection $http_connection;\r\n\t\tproxy_cookie_path \/guacamole\/ \/;\r\n\t}\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">\u5f00\u542f\u4e8c\u6b65\u9a8c\u8bc1\u548c\u83b7\u53d6\u5ba2\u6237\u7aef\u771f\u5b9eIP\uff0cdocker-compose.yml\u4e2d\u52a0\u5165<\/span><\/strong><\/p>\n<pre>      TOTP_ENABLED: true\r\n      REMOTE_IP_VALVE_ENABLED: true<\/pre>\n<h2><img loading=\"lazy\" decoding=\"async\" title=\"18564f3e6e990eee2225f0ae9ac60fa9\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/18564f3e6e990eee2225f0ae9ac60fa9.png\" width=\"356\" height=\"322\"><\/h2>\n<h2><\/h2>\n<h2>Apache Guacamole \u7684\u57fa\u672c\u7528\u6cd5<\/h2>\n<p>\u5728\u8fd9\u4e00\u6b65\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60 Apache Guacamole \u7684\u57fa\u672c\u7528\u6cd5\u3002\u60a8\u5c06\u5220\u9664\u9ed8\u8ba4\u7684 guacadmin \u7528\u6237\u4ee5\u4fdd\u62a4\u60a8\u7684\u90e8\u7f72\uff0c\u4e3a Apache Guacamole \u8bbe\u7f6e\u65b0\u7684\u7ba1\u7406\u5458\u7528\u6237\uff0c\u8bbe\u7f6e\u8fde\u63a5\u7ec4\uff0c\u6700\u540e\u8bbe\u7f6e\u65b0\u7684 SSH \u8fde\u63a5\u3002<\/p>\n<p>\u6700\u540e\uff0c\u60a8\u8fd8\u5c06\u901a\u8fc7 Apache Guacamole \u8fde\u63a5\u5230 SSH \u670d\u52a1\u5668\u6765\u9a8c\u8bc1\u65b0\u8fde\u63a5\u3002<\/p>\n<h3>\u521b\u5efa\u65b0\u7528\u6237<\/h3>\n<p>\u5355\u51fb\u53f3\u4e0a\u89d2\u7684\u201c<strong>guacadmin<\/strong>\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201c<strong>\u8bbe\u7f6e<\/strong>\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-16-settings\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-16-settings.png\" width=\"162\" height=\"203\"><\/p>\n<p>\u9009\u62e9\u201c<strong>\u7528\u6237<\/strong>\u201d\u9009\u9879\u5361\uff0c\u60a8\u5e94\u8be5\u4f1a\u770b\u5230\u9ed8\u8ba4\u7684\u201c<strong>guacadmin<\/strong>\u201d\u7528\u6237\u3002\u5355\u51fb\u201c<strong>\u65b0\u7528\u6237<\/strong>\u201d\u6309\u94ae\u521b\u5efa\u65b0\u7684 Apache Guacamole \u7528\u6237\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-17-user-guacadmin\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-17-user-guacadmin.png\" width=\"1269\" height=\"299\"><\/p>\n<p>\u8f93\u5165\u5c06\u7528\u4e8e\u767b\u5f55\u7684\u8be6\u7ec6\u7528\u6237\u540d\uff0c\u7136\u540e\u8f93\u5165\u5bc6\u7801\u5e76\u91cd\u590d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-18-create-user-details\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-18-create-user-details.png\" width=\"372\" height=\"166\"><\/p>\n<p>\u5728\u201c<strong>\u4e2a\u4eba\u8d44\u6599<\/strong>\u201d\u90e8\u5206\uff0c\u8f93\u5165\u7528\u6237\u8be6\u7ec6\u4fe1\u606f\uff0c\u4f8b\u5982\u5168\u540d\u3001\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u548c\u7ec4\u7ec7\u540d\u79f0\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-19-create-user-profiles\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-19-create-user-profiles.png\" width=\"352\" height=\"192\"><\/p>\n<p>\u5728\u201c<strong>\u6743\u9650<\/strong>\u201d\u90e8\u5206\uff0c\u9009\u62e9\u6240\u6709\u9009\u9879\u4ee5\u4f7f\u8be5\u7528\u6237\u6210\u4e3a Apache Guacamole \u5b89\u88c5\u7684\u7ba1\u7406\u5458\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-20-create-user-permissions\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-20-create-user-permissions.png\" width=\"311\" height=\"253\"><\/p>\n<p>\u5355\u51fb<strong>\u4fdd\u5b58<\/strong>\u786e\u8ba4\u5e76\u521b\u5efa\u65b0\u7528\u6237\u3002\u7136\u540e\uff0c\u4ece\u9ed8\u8ba4\u7684\u201c<strong>guacadmin<\/strong>\u201d\u7528\u6237\u6ce8\u9500\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u4f7f\u7528\u65b0\u7528\u6237\u767b\u5f55\u5e76\u9a8c\u8bc1\u7528\u6237\u914d\u7f6e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-21-login-new-user\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-21-login-new-user.png\" width=\"388\" height=\"404\"><\/p>\n<p>\u5982\u679c\u6210\u529f\uff0c\u60a8\u5e94\u8be5\u4f1a\u770b\u5230 Apache Guacamole \u7528\u6237\u4eea\u8868\u677f\u3002<\/p>\n<p>\u73b0\u5728\u70b9\u51fb\u60a8\u7684\u7528\u6237\u5e76\u9009\u62e9\u201c<strong>\u8bbe\u7f6e<\/strong>\u201d\u3002\u7136\u540e\u5355\u51fb\u201c<strong>\u7528\u6237<\/strong>\u201d\u9009\u9879\u5361\u4ee5\u9a8c\u8bc1 Apache Guacamole \u4e0a\u7684\u7528\u6237\u5217\u8868\u3002\u60a8\u5e94\u8be5\u770b\u5230\u65b0\u7528\u6237\u5df2\u521b\u5efa\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-22-user-guacadmin\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-22-user-guacadmin.png\" width=\"967\" height=\"361\"><\/p>\n<p>\u5355\u51fb\u9ed8\u8ba4\u7528\u6237\u201c<strong>guacadmin<\/strong>\u201d\u4ee5\u83b7\u53d6\u6709\u5173\u9ed8\u8ba4\u7528\u6237\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u6eda\u52a8\u5230\u5e95\u90e8\u9875\u9762\u5e76\u5355\u51fb\u201c<strong>\u5220\u9664<\/strong>\u201d\u6309\u94ae\u4ee5\u5220\u9664\u9ed8\u8ba4\u7684\u201c<strong>guacadmin<\/strong>\u201d\u7528\u6237\u3002<\/p>\n<p>\u518d\u6b21\u70b9\u51fb<strong>\u5220\u9664<\/strong>\u8fdb\u884c\u786e\u8ba4\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-23-delete-default-user\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-23-delete-default-user.png\" width=\"712\" height=\"597\"><\/p>\n<p>\u5220\u9664\u9ed8\u8ba4\u7684\u201c<strong>guacadmin<\/strong>\u201d\u7528\u6237\u540e\uff0cApache Guacamole \u4e0a\u552f\u4e00\u5269\u4f59\u7684\u7528\u6237\u5c31\u662f\u60a8\u7684\u65b0\u7528\u6237\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-24-users-guacamole-new\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-24-users-guacamole-new.png\" width=\"962\" height=\"277\"><\/p>\n<p>\u73b0\u5728\uff0c\u60a8\u5df2\u7ecf\u5728 Apache Guacamole \u4e0a\u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7684\u7ba1\u7406\u5458\u7528\u6237\uff0c\u5e76\u5220\u9664\u4e86\u9ed8\u8ba4\u7684\u201cguacadmin\u201d\u7528\u6237\u3002\u5220\u9664\u9ed8\u8ba4\u7528\u6237\u201cguacadmin\u201d\u5c06\u51cf\u8f7b\u5bc6\u7801\u731c\u6d4b\u653b\u51fb\u3002<\/p>\n<h3>\u521b\u5efa\u65b0\u8fde\u63a5<\/h3>\n<p>\u786e\u4fdd\u60a8\u5df2\u8fdb\u5165 Apache Guacamole\u201c<strong>\u8bbe\u7f6e<\/strong>\u201d\u9875\u9762\u3002<\/p>\n<p>\u9009\u62e9\u201c<strong>\u8fde\u63a5<\/strong>\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u5355\u51fb\u201c<strong>\u65b0\u5efa\u7ec4<\/strong>\u201d\u6309\u94ae\u521b\u5efa\u65b0\u7684\u8fde\u63a5\u7ec4\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-25-connection-new-group\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-25-connection-new-group.png\" width=\"965\" height=\"199\"><\/p>\n<p>\u8f93\u5165\u7fa4\u7ec4\u540d\u79f0\u548c\u4f4d\u7f6e\uff0c\u7136\u540e\u9009\u62e9\u7c7b\u578b\u3002\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u60a8\u5c06\u521b\u5efa\u4e00\u4e2a\u65b0\u7ec4\u201c<strong>SSH-SERVER<\/strong>\u201d\u3002\u60a8\u8fd8\u53ef\u4ee5\u5728\u201c<strong>\u5e76\u53d1\u9650\u5236<\/strong>\u201d\u90e8\u5206\u4e2d\u4e3a\u6b64\u7ec4\u4e2d\u7684\u6bcf\u4e2a\u8fde\u63a5\u8bbe\u7f6e\u8fde\u63a5\u9650\u5236\u3002<\/p>\n<p>\u5355\u51fb<strong>\u4fdd\u5b58<\/strong>\u8fdb\u884c\u786e\u8ba4\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-26-new-group-save\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-26-new-group-save.png\" width=\"805\" height=\"384\"><\/p>\n<p>\u73b0\u5728\u60a8\u5e94\u8be5\u5728\u8fde\u63a5\u5217\u8868\u4e2d\u627e\u5230\u7ec4\u201c<strong>SSH-SERVER<\/strong>\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-27-group-ssh-server\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-27-group-ssh-server.png\" width=\"964\" height=\"230\"><\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u5355\u51fb\u201c<strong>\u65b0\u5efa\u8fde\u63a5<\/strong>\u201d\u6309\u94ae\u5728 Apache Guacamole \u4e0a\u521b\u5efa\u65b0\u8fde\u63a5\u3002<\/p>\n<p>\u8f93\u5165\u8fde\u63a5\u540d\u79f0\uff0c\u9009\u62e9\u9ed8\u8ba4\u4f4d\u7f6e\uff0c\u7136\u540e\u9009\u62e9\u8be5\u8fde\u63a5\u7684\u534f\u8bae\u3002\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u60a8\u5c06\u521b\u5efa\u4e00\u4e2a\u53ef\u5728\u201c<strong>SSH-SERVER<\/strong>\u201d\u7ec4\u4e2d\u4f7f\u7528\u7684<strong>SSH<\/strong>\u8fde\u63a5\u201c<strong>Test SSH<\/strong>\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-28-create-connection-edit-details\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-28-create-connection-edit-details.png\" width=\"360\" height=\"164\"><\/p>\n<p>\u5728\u201c<strong>\u53c2\u6570<\/strong>\u201d\u90e8\u5206\uff0c\u8f93\u5165\u4e3b\u673a\u6216 IP \u5730\u5740\u3001\u7aef\u53e3\u3001\u7528\u6237\u540d\u3001\u5bc6\u7801\u548c SSH \u5bc6\u94a5\uff08\u542f\u7528\u65f6\uff09\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-29-input-host-details\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-29-input-host-details.png\" width=\"517\" height=\"449\"><\/p>\n<p>\u6eda\u52a8\u5230\u5e95\u90e8\u9875\u9762\u5e76\u5355\u51fb<strong>\u4fdd\u5b58<\/strong>\u8fdb\u884c\u786e\u8ba4\u3002<\/p>\n<p>\u8fd9\u6837\uff0c\u60a8\u73b0\u5728\u5e94\u8be5\u5728\u201c<strong>SSH-SERVER<\/strong>\u201d\u7ec4\u4e0a\u83b7\u5f97\u53ef\u7528\u7684\u65b0\u8fde\u63a5\u201c<strong>Test SSH<\/strong>\u201d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-30-connection-created\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-30-connection-created.png\" width=\"962\" height=\"283\"><\/p>\n<p>\u8981\u8fde\u63a5\u5230\u65b0\u7684\u201c<strong>\u6d4b\u8bd5 SSH<\/strong>\u201d\u8fde\u63a5\uff0c\u8bf7\u8fd4\u56de\u5230 Apache Guacamole home\u7528\u6237\u4eea\u8868\u677f\uff0c\u60a8\u5e94\u8be5\u4f1a\u770b\u5230\u8fde\u63a5\u5217\u8868\u3002<\/p>\n<p>\u5355\u51fb\u201c<strong>\u6d4b\u8bd5 SSH<\/strong>\u201d\u8fde\u63a5\u8fdb\u884c\u8fde\u63a5\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-31-home-all-connections\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-31-home-all-connections.png\" width=\"964\" height=\"147\"><\/p>\n<p>\u5982\u679c\u60a8\u672a\u5728\u8be6\u7ec6\u4fe1\u606f\u8fde\u63a5\u4e0a\u63d0\u4f9b\u5bc6\u7801\uff0c\u7cfb\u7edf\u5c06\u63d0\u793a\u60a8\u8f93\u5165 SSH \u670d\u52a1\u5668\u7684\u5bc6\u7801\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image-6407-32-test-connection\" src=\"https:\/\/aichh.com\/wp-content\/uploads\/2024\/07\/image-6407-32-test-connection.png\" width=\"802\" height=\"170\"><\/p>\n<p>\u5230\u8fd9\u91cc\uff0c\u60a8\u5df2\u7ecf\u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7528\u6237\uff0c\u5220\u9664\u4e86\u9ed8\u8ba4\u7528\u6237 guacadmin\uff0c\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u8fde\u63a5\u7ec4\uff0c\u5e76\u5728 Apache Guacamole \u4e0a\u521b\u5efa\u4e86\u4e00\u4e2a\u8fde\u63a5\u3002<\/p>\n<p>&nbsp;<br \/>\n\u53c2\u8003\uff1ahttps:\/\/guacamole.incubator.apache.org\/doc\/gug\/guacamole-docker.html<\/p>\n<!--wp-compress-html no compression--><!--wp-compress-html-->","protected":false},"excerpt":{"rendered":"Apache Guacamole \u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5f00\u6e90\u8fdc\u7a0b\u684c\u9762\u7f51\u5173\uff0c\u5141\u8bb8\u60a8\u4f7f\u7528\u4e0d\u540c\u7684\u534f\u8bae\uff08\u4f8b\u5982 SSH\u3001RDP \u548c VNC\uff09\u8fdc\u7a0b\u8fde\u63a5\u5230\u60a8\u7684\u8ba1\u7b97\u673a\/\u670d\u52a1\u5668\u3002 Apache Guacamole \u7531 Apach \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[401,64,402],"class_list":["post-1526","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","tag-apache","tag-docker","tag-guacamole"],"views":629,"_links":{"self":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/1526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/comments?post=1526"}],"version-history":[{"count":1,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/1526\/revisions"}],"predecessor-version":[{"id":1527,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/1526\/revisions\/1527"}],"wp:attachment":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/media?parent=1526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/categories?post=1526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/tags?post=1526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}