Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3552348
  • 博文数量: 715
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7745
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(715)

文章存档

2023年(75)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

最近访客

分类: 数据库开发技术

2021-11-25 10:58:33

下载介质需要去官方





  1. groupadd dinstall
    useradd -g dinstall -m -d /home/dmdba -s /bin/bash dmdba
    echo "dmdba"|passwd dmdba --stdin


    cat >> /etc/security/limits.conf < < !

  2. dmdba hard nofile 65536
    dmdba soft nofile 65536
    dmdba hard stack 32768
    dmdba soft stack 16384
    !

  1. unzip dm8_20210712_x86_rh6_64_ent.zip -d /tmp
  2. mount -r /tmp/dm8_20210712_x86_rh6_64_ent/dm8_20210712_x86_rh6_64_ent_8.1.2.38_pack1.iso /mnt
  3. mkdir /dm8
  4. chown dmdba:dinstall -R /dm8/
  5. chmod -R 755 /dm8

  6. su - dmdba
  7. cd /mnt/
  8. ./DMInstall.bin -i

  1. [dmdba@apex mnt]$ ./DMInstall.bin -i
  2. Please select the installer

  1. 安装图形X11,用于启动 dbca.sh

  2. mount -r /dev/sr0 /mnt

  3. cat > /etc/yum.repos.d/yum.repo<<EOF

  4. [RHEL77]
  5. name=RHEL77
  6. baseurl=file:///mnt
  7. gpgcheck=0
  8. EOF

  9. yum makecache
  10. yum install xorg-x11-xauth xorg-x11-fonts-* xclock
  11. yum -y groupinstall "Server with GUI"

  1. [dmdba@apex mnt]$ su -
  2. Password:
  3. Last login: Wed Nov 24 17:39:30 PST 2021 on pts/0
  4. [root@apex ~]# /dm8/script/root/root_installer.sh
  5. 移动 /dm8/bin/dm_svc.conf 到/etc目录
  6. 修改服务器权限
  7. 创建DmAPService服务
  8. Created symlink from /etc/systemd/system/multi-user.target.wants/DmAPService.service to /usr/lib/systemd/system/DmAPService.service.
  9. 创建服务(DmAPService)完成
  10. 启动DmAPService服务
  11. [root@apex ~]#

  12. export PATH=$PATH:$DM_HOME/bin:$DM_HOME/tool

  13. mkdir /dm8/data
  14. dminit path=/dm8/data

  15. cd /dm8/script/root
  16. ./dm_service_installer.sh -t dmserver -dm_ini /dm8/data/DAMENG/dm.ini -p DMSERVER
  17. systemctl status DmServiceDMSERVER.service
  18. systemctl start DmServiceDMSERVER.service
  19. [root@apex root]# su - dmdba
  20. Last login: Wed Nov 24 18:20:57 PST 2021 on pts/0
  21. [dmdba@apex ~]$ disql
  22. disql V8
  23. 用户名:SYSDBA
  24. 密码:

  25. 服务器[LOCALHOST:5236]:处于普通打开状态
  26. 登录使用时间 : 2.989(ms)
  27. SQL> select name from v$database;

  28. 行号 NAME
  29. ---------- ------
  30. 1 DAMENG

  31. 已用时间: 6.037(毫秒). 执行号:53300.

阅读(981) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~