当前位置: 首页 > 工具软件 > DCA > 使用案例 >

达梦DCA认证

汪鸿波
2023-12-01

达梦数据库是一款国产数据库,近年来在信息项目中起着至关重要的作用,作为信息化项目从业人员,有幸参加了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的小伙伴上课记得认真听讲!多多练习,祝通过~
 类似资料: