Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Dameng Database Management system in Linux

2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to install Dameng database management system in Linux". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to install Dameng database management system in Linux.

Preparatory work

Prepare the centos7 server

[root@bogon ~] $cat / etc/redhat-releaseCentOS Linux release 7.9.2009 (Core)

Download Dameng database

Select the appropriate version of Dameng database

Create an installation user group dinstall

Groupadd dinstall

Create and install user dmdba

Useradd-g dinstall dmdba

Initialize user password

Passwd dmdba

Modify parameters

Vim / etc/security/limits.conf* soft nofile 65535 * hard nofile 65535

Install the database

The download of the Dameng database installation package is a zip file with an iso image. Put the Dameng installation package iso into the / home/dmdba/ directory and mount it before you can read it.

[root@bogon dm] # mount / home/dmdba/dm8_20210712_x86_rh7_64_ent/dm8_20210712_x86_rh7_64_ent_8.1.2.38_pack1.iso dmisomount: / dev/loop0 write protection, which will be mounted read-only

Display path

[root@bogon dm8_20210712_x86_rh7_64_ent] # pwd/home/dmdba/dm8_20210712_x86_rh7_64_ent

View the files in the installation package

[root@bogon dm8_20210712_x86_rh7_64_ent] # lsdm8_20210712_x86_rh7_64_ent_8.1.2.38_pack1.iso dm8_20210712_x86_rh7_64_ent_8.1.2.38_pack1.iso_SHA256.txt

Copy the installation file

[root@bogon dmiso] # cp DMInstall.bin / home/dmdba/

Change permissions to dmdba user rights

[root@bogon dmdba] # chown dmdba.dinstall DMInstall.bin

Silent installation

[dmdba@bogon dm] $. / DMInstall.bin-I Please choose the installation language (C _ DMInstall.bin c: Chinese E _ max e: English) [C _ max]: extract the installer .core file size (blocks,-c) 0data seg size (kbytes,-d) unlimitedscheduling priority (- e) 0file size (blocks) -f) unlimitedpending signals (- I) 3795max locked memory (kbytes,-l) 64max memory size (kbytes,-m) unlimitedopen files (- n) 4096pipe size (512bytes,-p) 8POSIX message queues (bytes,-Q) 819200real-time priority (- r) 0stack size (kbytes -s) 8192cpu time (seconds,-t) unlimitedmax user processes (- u) 3795virtual memory (kbytes,-v) unlimitedfile locks (- x) unlimited can open too few files It is recommended to set it to at least 65536 or more. Welcome to Dameng database installer. Do you want to enter the Key file path? (Y _ y: yes _ time zone? [1]: GTM-12= date line west [2]: GTM-11= Samoa [3]: GTM-10= Hawaii [4]: GTM-09= Alaska [5]: GTM-08= Pacific time (United States and Canada) [6]: GTM-07= Arizona [7]: central GTM-06= time (United States and Canada) [ GTM-05= Eastern time (United States and Canada) [9]: GTM-04= Atlantic time (United States and Canada) [10]: GTM-03= Brasilia [11]: GTM-02= Central Atlantic [12]: GTM-01= Azores [13]: GTM= Greenwich mean time [14]: GTM+01= Sarajevo [15]: GTM+02= Cairo [16]: GTM+03= Moscow [17]: GTM+04= Abu Dhabi [ GTM+05= Islamabad [19]: GTM+06= Dhaka [20]: GTM+07= Bangkok Hanoi [21]: GTM+08= China Standard time [22]: GTM+09= Seoul [23]: GTM+10= Guam [24]: GTM+11= Solomon Islands [25]: GTM+12= Fiji [26]: GTM+13= Nuku Alfa [27]: GTM+14= Kiribati Please choose a time zone [21]: installation type: 1 typical installation 2 servers 3 client 4 Custom Please select the numerical serial number of the installation type [1 typical installation]: required Space: 1181m Please select the installation directory [/ home/dmdba/dmdbms]: free space: 25g confirm the installation path (/ home/dmdba/dmdbms)? [y _ home/dmdba/dmdbms]: summary before installation location: / space required: 1181m free space: 25g version information: effective date: installation type: typical installation confirmed installation? (y2021-08-18 18:37:05 [INFO] install Damon database... 2021-08-18 18:37:05 [INFO] install basic module... 2021-08-18 18:37:10 [INFO] install server module... 2021-08-18 18:37:10 [INFO] install client module... 2021-08-18 18 37:16 [INFO] install driver module... 2021-08-18 18:37:22 [INFO] installation manual module... 21-08-18 18:37:22 [INFO] install service module... 2021-08-18 18:37:24 [INFO] move log files. 2021-08-18 18:37:24 [INFO] installation of Dameng database completed. Please execute the command as the root system user: / home/dmdba/dmdbms/script/root/root_installer.sh installation ends

Initialize an instance

[dmdba@bogon] $dminit PATH=/dm/dmdbms/data DB_NAME=chao INSTANCE_NAME=dave PORT_NUM=6236initdb V8db version: 0x7000cfile dm.key not found, use default license will expire on 2022-07-09Normal of FASTNormal of DEFAULTNormal of RECYCLENormal of KEEPNormal of ROLLlog file path: / dm/dmdbms/data/chao/chao01.loglog file path: / dm/dmdbms/data/chao/chao02.logwrite to dir [/ dm/dmdbms/data/chao] .create dm database success. 2021-08-18 19:13:32

Create a service

[root@bogon root] #. / dm_service_installer.sh-t dmserver-dm_ini / dm/dmdbms/data/chao/dm.ini-p DAVECreated symlink from / etc/systemd/system/multi-user.target.wants/DmServiceDAVE.service to / usr/lib/systemd/system/DmServiceDAVE.service. Creation of service (DmServiceDAVE) completed

Start the service

[root@bogon root] # systemctl start DmServiceDAVE.service [root@bogon root] # ps-ef | grep dm.inidmdba 18790 1 18 19:25? 00:00:06 / home/dmdba/dmdbms/bin/dmserver path=/dm/dmdbms/data/chao/dm.ini-noconsoleroot 18856 13592 0 19:25 pts/1 00:00:00 grep-- color=auto dm.ini

Verification

[dmdba@bogon ~] $disql SYSDBA/SYSDBA@127.0.0.1:6236 server [127.0.0.1 disql V8SQL 6236]: login time: 3.687 (ms) disql V8SQL > SQL > Thank you for reading. This is the content of "how to install Dameng Database Management system in Linux". After the study of this article I believe that you have a deeper understanding of how to install the Dameng database management system in Linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report