达梦DCA认证

达梦数据库是一款国产数据库,近年来在信息项目中起着至关重要的作用,作为信息化项目从业人员,有幸参加了DCA培训,在此分享下培训及考试心得。


一、安装前准备

   1.1查看 cpu 的信息

[root@localhost 桌面]# lscpu

特别是注意国产 cpu 的型号,例如龙芯、飞腾
   1.2查看内存的信息
[root@localhost 桌面 ]# free -m
内存至少要 1G
   1.3查看硬盘和分区的信息
[root@localhost tmp]# fdisk -l
[root@localhost tmp]# df -h
注意: /tmp 分区至少为 1GB
    1.4网络配置
网卡支持 TCP/IP 协议, 100M
如果数据库需要远程访问,要么开放数据库对应的端口号,要么就是关闭防火墙
关闭防火墙:
root@localhost tmp]# systemctl stop firewalld
[root@localhost tmp]# systemctl disable firewalld
[root@localhost tmp]# systemctl status firewalld
   1.5系统要求
内核在 2.6 以上即可
[root@localhost tmp]# uname -ar
Linux localhost.localdomain 4.19.90-24.4.v2101.ky10.x86_64 #1 SMP Mon May 24 12:14:55 CST
   1.6 创建用户
   1.7 规划安装路径
二、安装数据库
[root@localhost mnt]# xhost +
access control disabled, clients can connect from any host
[root@localhost mnt]# echo $DISPLAY
:0.0
[root@localhost mnt]# su - dmdba
[dmdba@localhost ~]$ export DISPLAY=:0.0
[dmdba@localhost ~]$ xhost +
access control disabled, clients can connect from any host
[dmdba@localhost ~]$ cd /mnt
[dmdba@localhost mnt]$ ls
'DM8 Install.pdf'
DMInstall.bin
[dmdba@localhost mnt]$ ./DMInstall.bin
注意!安装后用图形化界面操作会简单很多
三、数据库实例创建
[dmdba@localhost ~]$ cd /dm8/tool/
[dmdba@localhost tool]$ ./dbca.sh
创建好后,打开相对于的达梦工具就可以图形化操作。在自己电脑虚拟机上操作老师上课的内容都挺顺利的,但是真正考试的时候个人感觉题目难一些!想考DCA的小伙伴上课记得认真听讲!多多练习,祝通过~
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值