Skip to content

Lina is the JumpServer Web UI

License

Notifications You must be signed in to change notification settings

jumpserver/lina

Folders and files

NameName
Last commit message
Last commit date
Dec 9, 2024
May 17, 2022
May 17, 2022
Mar 18, 2025
Apr 1, 2025
Jul 31, 2023
Feb 28, 2023
Sep 27, 2021
Feb 6, 2023
Apr 25, 2024
Jun 9, 2020
Apr 19, 2019
Jun 22, 2020
May 13, 2020
Feb 5, 2025
Sep 15, 2020
Apr 26, 2019
Mar 28, 2025
Jul 23, 2024
Dec 6, 2021
Apr 1, 2022
Apr 12, 2020
Apr 8, 2021
Apr 19, 2019
Feb 6, 2025
Mar 29, 2021
Mar 27, 2025
May 24, 2019
Feb 21, 2025
Mar 28, 2025

Repository files navigation

Lina

Lina 是 JumpServer 的前端 UI 项目, 主要使用 Vue, Element UI 完成, 名字来源于 Dota 英雄 Lina

开发运行

0. 前置条件: 部署运行好 JumpServer API 服务器

1. 安装依赖
$ yarn install

2. 修改 .env.development VUE_APP_CORE_HOST
# ...
VUE_APP_CORE_HOST = 'JUMPSERVER_APIHOST'

3. 运行
$ yarn serve

4. 构建
$ yarn build:prod

生产中部署

下载 RELEASE 文件,放到合适的目录,修改 nginx配置文件如下

server {
  listen 80;

  location /ui/ {
    try_files $uri / /ui/index.html;
    alias /opt/lina/;
  }

  location / {
    rewrite ^/(.*)$ /ui/$1 last;
  }
}

致谢

License & Copyright

Be consistent with jumpserver