- 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
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
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
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