Skip to content

Lion Deployment⚓︎

1 Lion Component Description⚓︎

Lion utilizes the open-source project Guacamole from the Apache Software Foundation. JumpServer has refactored Guacamole using Golang and Vue to implement RDP/VNC protocol jump server functionality.

1.1 Enviroment Requirement⚓︎

Name JumpServer Guacd Lion
Version v3.10.5 1.4.0 v3.10.5
  • You can obtain the corresponding copy of guacd from the Github website. These versions are stable snapshots of the latest code. Download the Source code.tar.gz source code from the project website and extract it using the command line:
mkdir /opt/guacamole-v3.10.5
cd /opt/guacamole-v3.10.5
wget http://download.jumpserver.org/public/guacamole-server-1.4.0.tar.gz
tar -xzf guacamole-server-1.4.0.tar.gz
cd guacamole-server-1.4.0/
apt-get install -y libcairo2-dev libjpeg-turbo8-dev libpng-dev libtool-bin libossp-uuid-dev
apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libswscale-dev freerdp2-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libwebsockets-dev     libpulse-dev libssl-dev libvorbis-dev libwebp-dev

1.2 Structure Guacd⚓︎

./configure --with-init-dir=/etc/init.d
make
make install
ldconfig
  • If you wish to use systemd for management, you can use ./configure --with-systemd-dir=/etc/systemd/system/

1.3 Download Lion⚓︎

OS Arch Name
Linux amd64 lion-v3.10.5-linux-amd64.tar.gz
Linux arm64 lion-v3.10.5-linux-arm64.tar.gz
Linux loong64 lion-v3.10.5-linux-loong64.tar.gz
Darwin amd64 lion-v3.10.5-darwin-amd64.tar.gz
Windows amd64 lion-v3.10.5-windows-amd64.tar.gz
cd /opt
wget https://github.com/jumpserver/lion-release/releases/download/v3.10.5/lion-v3.10.5-linux-amd64.tar.gz
tar -xf lion-v3.10.5-linux-amd64.tar.gz
cd lion-v3.10.5-linux-amd64
cd /opt
wget https://github.com/jumpserver/lion-release/releases/download/v3.10.5/lion-v3.10.5-linux-arm64.tar.gz
tar -xf lion-v3.10.5-linux-arm64.tar.gz
cd lion-v3.10.5-linux-arm64

1.4 Update configuration file⚓︎

cp config_example.yml config.yml
vi config.yml
# The project name is used for registration with JumpServer and for identification purposes. It must be unique and cannot be duplicated
# NAME: {{ Hostname }}

# The URL of Jumpserver, it used by api register
CORE_HOST: http://127.0.0.1:8080   # URL of Core

# Bootstrap Token, shared secret key, lion use it to registers  for service account and terminal
# Please ensure consistency with the Jumpserver configuration file. Once registration is completing, you can delete it
BOOTSTRAP_TOKEN: ********  # Keep consistency value with Core config.yml

# The IP bound during startup, default is 0.0.0.0
BIND_HOST: 0.0.0.0

# Listening port of HTTP/WS,default is 8081
HTTPD_PORT: 8081

# Log level [DEBUG, INFO, WARN, ERROR, FATAL, CRITICAL]
LOG_LEVEL: DEBUG           # In development, it's recommended to set DEBUG, while in production, it's recommended to set ERROR

# Guacamole Server ip,default is 127.0.0.1
# GUA_HOST: 127.0.0.1

# Guacamole Server port number,default is 4822
# GUA_PORT: 4822

# The type of session share [local, redis], default is local
# SHARE_ROOM_TYPE: local

# Redis configuration
# REDIS_HOST: 127.0.0.1
# REDIS_PORT: 6379
# REDIS_PASSWORD:
# REDIS_DB_ROOM:

1.5 Start Guacd⚓︎

/etc/init.d/guacd start

1.6 Start Lion⚓︎

./lion