文档中心MogDBMogDB StackUqbar

文档:v2.0

支持的版本:

安装

下载

通过发布记录下载对应平台的mtkd程序.

安装客户端

参考MTK Environment. 并配置对应的环境变量

安装mtkd

mkdir /opt/mtkd/
cp mtkd /opt/mtkd/mtkd
chmod +x /opt/mtkd/mtkd

申请授权

mtkd license gen
# 复制邮箱授权信息到 /opt/mtkd/license.json

start mtkd

前台启动

./mtkd

通过浏览器访问部署机器的8080端口.

MTKD Overview

后台启动

nohup mtkd &

通过浏览器访问部署机器的8080端口.

MTKD Overview

服务方式启动

  1. vi /etc/systemd/system/mtkd.service

    # -*- mode: conf -*-
    
    [Unit]
    Description=mtkd
    After=network.target
    
    [Service]
    # 设置oracle/db2的lib目录
    WorkingDirectory=/opt/mtkd
    Environment="LD_LIBRARY_PATH="
    ExecStart=/opt/mtkd/mtkd --httpAddr=:8080 --logDir=/opt/mtkd/logs --dbDir=/opt/mtkd/
    Restart=on-failure
    
    [Install]
    WantedBy=multi-user.target
  2. 启动服务

    systemctl status mtkd
    systemctl enable mtkd
  3. 通过浏览器访问部署机器的8080端口.

    MTKD Overview

Copyright © 2011-2024 www.enmotech.com All rights reserved.