Skip to content

Magnus Deployment⚓︎

1 Magnus Component Description⚓︎

1.1 Enviroment Requirement⚓︎

Operating System Architecture type Name
Linux amd64 magnus-v3.10.5-linux-amd64.tar.gz
Linux arm64 magnus-v3.10.5-linux-arm64.tar.gz
Linux loong64 magnus-v3.10.5-linux-loong64.tar.gz
Darwin amd64 magnus-v3.10.5-darwin-amd64.tar.gz
Darwin arm64 magnus-v3.10.5-darwin-arm64.tar.gz
  • Magnus need communicate to JumpServer with Wisp,you can get latest copy Release from Github web site.
Operating System Architecture type Name
Linux amd64 wisp-v0.1.16-linux-amd64.tar.gz
Linux arm64 wisp-v0.1.16-linux-arm64.tar.gz
Linux loong64 wisp-v0.1.16-linux-loong64.tar.gz
Darwin amd64 wisp-v0.1.16-darwin-amd64.tar.gz
Darwin arm64 wisp-v0.1.16-darwin-arm64.tar.gz
Windows amd64 wisp-v0.1.16-windows-amd64.tar.gz

1.2 Select deployment type⚓︎

  • Extract the compressed package

cd /opt
wget https://github.com/jumpserver/magnus-release/releases/download/v3.10.5/magnus-v3.10.5-linux-amd64.tar.gz
tar -xf magnus-v3.10.5-linux-amd64.tar.gz
cd magnus-v3.10.5-linux-amd64
wget https://github.com/jumpserver/wisp/releases/download/v0.1.16/wisp-v0.1.16-linux-amd64.tar.gz
tar -xf wisp-v0.1.16-linux-amd64.tar.gz
mv wisp-v0.1.16-linux-amd64/wisp /usr/local/bin/
chown root:root /usr/local/bin/wisp /opt/magnus-v3.10.5-linux-amd64/magnus
chmod 755 /usr/local/bin/wisp /opt/magnus-v3.10.5-linux-amd64/magnus

  • Update config file

cp config_example.yml config.yml
vi config.yml
# URL of Jumpserver, the API request for registration will be utilized.
CORE_HOST: http://127.0.0.1:8080   # URL of Core

# Bootstrap Token, shared secret key, magnus use it to register  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

# Service binds URL
BIND_HOST: "0.0.0.0"

# The port exposed by the database proxy
MYSQL_PORT: 33060
MARIA_DB_PORT: 33061
POSTGRESQL_PORT: 54320

# Log level
LOG_LEVEL: "info"

# jumpserver api grpc component address
WISP_HOST: "localhost"
WISP_PORT: 9090

  • startup Wisp。
export CORE_HOST="http://127.0.0.1:8080"   # URL of Core 
export BOOTSTRAP_TOKEN=********            # Keep consistency value with Core config.yml
export WORK_DIR="/opt/magnus-v3.10.5-linux-amd64"
export COMPONENT_NAME="magnus"
export EXECUTE_PROGRAM="/opt/magnus-v3.10.5-linux-amd64/magnus"
wisp
  • Extract the compressed package

cd /opt
wget https://github.com/jumpserver/magnus-release/releases/download/v3.10.5/magnus-v3.10.5-linux-arm64.tar.gz
tar -xf magnus-v3.10.5-linux-arm64.tar.gz
cd magnus-v3.10.5-linux-arm64
wget https://github.com/jumpserver/wisp/releases/download/v0.1.16/wisp-v0.1.16-linux-arm64.tar.gz
tar -xf wisp-v0.1.16-linux-arm64.tar.gz
mv wisp-v0.1.16-linux-arm64/wisp /usr/local/bin/
chown root:root /usr/local/bin/wisp /opt/magnus-v3.10.5-linux-arm64/magnus
chmod 755 /usr/local/bin/wisp /opt/magnus-v3.10.5-linux-arm64/magnus

  • Update configuration file

cp config_example.yml config.yml
vi config.yml
# URL of Jumpserver, the API request for registration will be utilized.
CORE_HOST: http://127.0.0.1:8080   # URL of the Core

# Bootstrap Token, shared secret key, magnus use it to register  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

# Service binds URL
BIND_HOST: "0.0.0.0"

# The port exposed by the database proxy
MYSQL_PORT: 33060
MARIA_DB_PORT: 33061
POSTGRESQL_PORT: 54320

# Log level
LOG_LEVEL: "info"

# jumpserver api grpc component URL
WISP_HOST: "localhost"
WISP_PORT: 9090

  • startup Wisp。
export CORE_HOST="http://127.0.0.1:8080"   # URL of Core
export BOOTSTRAP_TOKEN=********            # Keep consistency value with Core config.yml
export WORK_DIR="/opt/magnus-v3.10.5-linux-arm64"
export COMPONENT_NAME="magnus"
export EXECUTE_PROGRAM="/opt/magnus-v3.10.5-linux-arm64/magnus"
wisp