## 创建数据库实例
./dminit
input system dir: /home/dmdba/dmdatas
input db name: dmtest
input port num: 5236
input page size(4, 8, 16, 32): 8
input extent size(16, 32, 64): 16
input sec priv mode(0, 1): 0
input time zone(-12:59,+14:00): +08:00
string case sensitive? ([Y]es, [N]o): N
which charset to use? (0[GB18030], 1[UTF-8], 2[EUC-KR]): 1
length in char? ([Y]es, [N]o): N
enable database encrypt? ([Y]es, [N]o): N
input slice size(512, 4096): 512
page check mode? (0/1/2): 0
input elog path: /home/dmdba/dmdatas/logs
only create huge table with delta? (0/1): 1
rlog generate for huge? (0/1): 0
auto_overwrite mode? (0/1/2): 0
## 注册服务及启动
chmod -R 777 dmtest
cd /home/dmdba/dmdbms/script/root
./dm_service_installer.sh -t dmserver -dm_ini /home/dmdba/dmdatas/dmtest/dm.ini -p DMTEST
systemctl start DmServiceDMTEST
## 删除服务
./dm_service_uninstaller.sh -n DmServiceDMTEST
网友评论