v2.0
- 简介
- 环境依赖
- 快速上手
- 配置文件
- 命令介绍
- mtk
- init-project
- config
- license
- mig
- show
- sync
- sync-schema
- sync-sequence
- sync-object-type
- sync-domain
- sync-wrapper
- sync-server
- sync-user-mapping
- sync-queue
- sync-table
- sync-nickname
- sync-rule
- sync-table-data
- sync-table-data-estimate
- sync-index
- sync-constraint
- sync-db-link
- sync-view
- sync-mview
- sync-function
- sync-procedure
- sync-package
- sync-trigger
- sync-synonym
- sync-table-data-com
- sync-alter-sequence
- sync-coll-statistics
- check-table-data
- gen
- gen completion
- encrypt
- convert-plsql
- report
- self
- mvd
- usql
- 图形化
- 常见问题
- Release
安装
下载
通过发布记录下载对应平台的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端口.
后台启动
nohup mtkd &
通过浏览器访问部署机器的8080端口.
服务方式启动
-
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
-
启动服务
systemctl status mtkd systemctl enable mtkd
-
通过浏览器访问部署机器的8080端口.