首先创建dmdba用户
groupadd dminstall
useradd -g dminstall dmdba
sudo passwd dmdba
修改dmdba的权限
cd /etc/security/ limits.d 增加两行代码
dmdba soft nofile 65536
dmdba hard nofile 65536
创建安装文件夹 授权dmdba
mkdir -p /app/dbDB8
mkdir installData
mkdir data
chown -R dmdba:dminstall /app/dmDB8/
关闭防火墙
firewall-cmd --state
systemctl stop firewalld
systemctl disable firewalld
挂载安装包
mount -o loop dmxxx.iso /mnt
切换dmdba用户命令行安装
export DISPLAY=192.168.31.101:0.0
./DMInstall.bin -i
安装路径 /app/dmDB8/installData
root用户创建服务
/app/dmDB8/installData/script/root/root_installer.sh
切换dmdba用户创建实例
./dminit path=/app/dmDB8/data PAGE_SIZE=32 EXTENT_SIZE=32 CASE_SENSITIVE=n CHARSET=1 LENGTH_IN_CHAR=y SYSDBA_PWD=密码 PORT_NUM=5236
切换root用户注册服务
./dm_service_installer.sh -t dmserver -p DMSERVER -dm_ini /app/dmDB8/data/DAMENG/dm.ini
启动服务
systemctl enable DmServiceDMSERVER
systemctl status DmServiceDMSERVER
systemctl start DmServiceDMSERVER
systemctl status DmServiceDMSERVER
连接工具测试是否连接成功
连接成功