{"id":19748466,"url":"https://github.com/jumpserver/lion-release","last_synced_at":"2025-08-17T16:54:53.508Z","repository":{"id":37750901,"uuid":"366573397","full_name":"jumpserver/lion-release","owner":"jumpserver","description":"Lion is the graphical protocol connector of JumpServer, supporting RDP and VNC.","archived":false,"fork":false,"pushed_at":"2024-08-21T09:28:51.000Z","size":5,"stargazers_count":18,"open_issues_count":0,"forks_count":19,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-08T16:29:46.324Z","etag":null,"topics":["connector","jumpserver","rdp","vnc"],"latest_commit_sha":null,"homepage":"http://www.jumpserver.org","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jumpserver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-05-12T02:49:08.000Z","updated_at":"2025-06-29T08:59:10.000Z","dependencies_parsed_at":"2023-01-30T06:00:29.292Z","dependency_job_id":"2fcb1250-e98b-4217-b520-7aba99ed2191","html_url":"https://github.com/jumpserver/lion-release","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"1d40662fc529e59e92c0f7fec584549fc75a73cd"},"previous_names":[],"tags_count":153,"template":false,"template_full_name":null,"purl":"pkg:github/jumpserver/lion-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Flion-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Flion-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Flion-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Flion-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jumpserver","download_url":"https://codeload.github.com/jumpserver/lion-release/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumpserver%2Flion-release/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266135014,"owners_count":23881774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["connector","jumpserver","rdp","vnc"],"created_at":"2024-11-12T02:22:00.281Z","updated_at":"2025-07-20T13:33:35.116Z","avatar_url":"https://github.com/jumpserver.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lion\n\n## 介绍\nLion 是 JumpServer 图形协议的连接组件，支持 RDP、VNC 协议。\n\nLion 使用 Golang 和 Vue 重构 Guacamole-client，名字来源于 Dota 英雄 [Lion](https://www.dota2.com/hero/lion)。\n\n该仓库主要用于配置介绍和 Release 发布。\n\n## 配置\n\nLion 的启动配置，参考 [config_example](config_example.yml)\n\n## Docker 镜像 (推荐)\n\n可根据 JumpServer 版本获取对应的镜像，例如：获取 v2.10.0 版本的镜像\n```shell\ndocker pull jumpserver/lion:v2.10.0\n```\n\ndocker 启动\n\n```shell\ndocker run -d --name jms_lion -p 8081:8081 \\\n-v $(pwd)/data:/opt/lion/data \\\n-v $(pwd)/config.yml:/opt/lion/config.yml \\\njumpserver/lion:v2.10.0\n```\n\n## 原生安装\n\n### 安装 Guacamole Server\nLion 是基于 [Apache Guacamole](http://guacamole.apache.org/) 开发，原生部署 Lion 需要有 [Guacamole Server](https://github.com/apache/guacamole-server) （版本 \u003e= 1.3.0）。\n[Guacamole Server](https://github.com/apache/guacamole-server) 安装部署可参考 [Guacamole 官网](https://guacamole.apache.org/doc/gug/installing-guacamole.html)\n\n### 安装 Lion（以 v2.10.0 为例）\n从 Release 页面下载 JumpSever 对应版本的 Lion。下载 `lion-v2.10.0-linux-amd64.tar.gz` 到服务器，并解压到 `/opt` 目录下\n\n```shell\ntar -zxvf lion-v2.10.0-linux-amd64.tar.gz -C /opt/\n```\n\n执行 `cd /opt/lion-v2.10.0-linux-amd64`  进入 Lion 目录，`touch config.yml` 创建文件，添加必要的参数配置\n```shell\nCORE_HOST: http://127.0.0.1:8080 # JumpServer 的 API 地址\n\nBOOTSTRAP_TOKEN: \u003cPleasgeChangeSameWithJumpserver\u003e # 注册使用的预共享秘钥\n```\n\n启动\n```shell\n./lion\n```\n\n#### 使用系统服务方式启动\n\n在 `/etc/systemd/system` 目录创建 `lion-v2.10.0.service` 文件并配置以下内容\n```shell\n[Unit]\nDescription=JumpServer Lion Service\nAfter=network.target\n\n[Service]\nType=simple\nUser=root\nGroup=root\n\nWorkingDirectory=/opt/lion-v2.10.0-linux-amd64\nExecStart=/opt/lion-v2.10.0-linux-amd64/lion -f config.yml\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target\n```\n\n重载系统服务 `systemctl daemon-reload`\n\n启动 Lion 服务 `systemctl start lion-v2.10.0`\n\n查看 Lion 服务状态 `systemctl status lion-v2.10.0`\n\n#### 注意事项\n\n如果 Guacamole server 以 docker 方式启动，需要挂载 Lion 目录下的data路径\n\n```shell\ndocker run -d -p 4200:4200 -v /opt/lion-v2.10.0-linux-amd64/data:/opt/lion-v2.10.0-linux-amd64/data guacamole/guacd:1.3.0\n```\n\n## 致谢\n\n感谢以下项目，带来的启发\n- [guacamole-client](https://github.com/apache/guacamole-client)\n- [next-terminal](https://github.com/dushixiang/next-terminal)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumpserver%2Flion-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjumpserver%2Flion-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumpserver%2Flion-release/lists"}