当前位置:网站首页>Install Damon database
Install Damon database
2022-06-26 04:29:00 【good writings make people copy them】
One 、 Basic hardware requirements
1.CPU
Intel Pentium 4 Above processor
2. Memory
Minimum memory recommended for database installation 1g
Linux The server swap Partition to physical memory 1.5 More than times
3. Hard disk
Divide the disk space according to the requirements , For data storage . Install the dream program , If you need to record a large number of databases SQL journal , Need to expand the partition /tmp Temporary directory at least 600M.
Two 、 Dameng software
DM8 Development Edition
Winning Qilin
3、 ... and 、 Installation steps
Create a dmdba user , Installed in the dm8 Under the folder
[[email protected] /]# mkdir -p /dm81. establish dmdba user
[[email protected] /]# groupadd dinstall
[[email protected] /]# useradd -g dinstall dmdba
[[email protected] /]# passwd dmdba
[[email protected] /]# chown dmdba:dinstall -R /dm8chown to grant authorization , Be sure to operate , Otherwise, there will be no permission behind , You have to come back and do it .
2. Set the maximum number of open files
[[email protected] /]# vi /etc/security/limits.confdmdba[[email protected] /]# ulimit -n 655363. Graphical interface installation
I usually execute the following commands in the location where the installation package is located
[[email protected] dmdba]# mount -o loop dm8_20201107_x86_rh7_64_ent_8.1.1.144.iso /mnt
mount: /dev/loop0 Write protect , Will mount... As read-only [[email protected] dmdba]# su - dmdba
Last login : 5、 ... and 5 month 28 03:06:53 CST 2021pts/1 On
[[email protected] ~]$ cd /mnt
[[email protected] mnt]$ ./DMInstall.bin
Unzip the installation program ......... problem 1. Decompress it for a while , Because I use Xshell, appear :
Failed to initialize graphical interface , If the current monitor window does not support the graphical interface , Please enter the folder where the installation files are located and use "./DMInstall.bin -i" Command line installation .
resolvent :
download XManager, Address https://www.onlinedown.net/soft/36382.htm
perhaps
yum groupinstall x11Then execute the problem 2 Solve the order , If echo $DISPLAY No output , Open another connection to see .
If it doesn't work ,
export DISPLAY=:0.0
Set the temporary variable display
problem 2: I also install on the server dm, However, the graphical interface cannot be opened
[[email protected] mnt]$ echo $DISPLAY
:0
[[email protected] mnt]$ export DISPLAY=:0
[[email protected] mnt]$ xhost +
access control disabled, clients can connect from any hostIf you execute the order , Still can't open the graphical interface , Open a console again , Or switch users to see .
problem 3: Because I touch linux Not too many systems , So the following problems , It also bothered me for a long time :
Setup temporary directory (/tmp) The available space is 465M. Setup requires at least 800M Temporary space for
-- Create a directory to put the temporary directory when installing the program
[[email protected] /]# mkdir -p /tem1
[[email protected] /]# chown dmdba.disntall /tem1 -R
-- Configure environment variables
[[email protected] ~]$ vi .bash_profile
export DM_INSTALL_TMPDIR=/tem1
-- Enable environment variables
[[email protected] ~]$ source .bash_profile
After successfully entering the graphic :



[[email protected] ~]$ su root
password :
[[email protected] dmdba]# /dm8/script/root/root_installer.sh
Move /dm8/bin/dm_svc.conf To /etc Catalog
Modify server permissions
establish DmAPService service
Created symlink from /etc/systemd/system/multi-user.target.wants/DmAPService.service to /usr/lib/systemd/system/DmAPService.service.
Create services (DmAPService) complete
start-up DmAPService service
Finally, the installation succeeded !
边栏推荐
- Analysis report on the development trend and operation status of China's environmental monitoring instrument industry from 2022 to 2028
- [Qunhui] no port access (reverse proxy + intranet penetration)
- mysql高级学习(跟着尚硅谷老师周阳学习)
- An unexpected attempt (Imperial CMS list template filters spaces and newlines in smalltext introduction)
- 1064 (42000) error occurred when installing MySQL and modifying root password
- CTF PHP audit bypasses filtering learning from topics
- Simple personal summary of tp6 multi application deployment -- Part I [original]
- Using jsup to extract images from interfaces
- Construction of art NFT trading platform | NFT mall
- The statistics in the MySQL field become strings, and then they are converted into numbers for sorting
猜你喜欢

Mutex of thread synchronization (mutex)

Sixtool- source code of multi-functional and all in one generation hanging assistant

Gateway can not connect to tcp://127.0.0.1: Connection refused

Group by and order by are used together
![[Qunhui] Internet access + custom port](/img/7d/c00caeade209a48c8f44a4fecb59d5.jpg)
[Qunhui] Internet access + custom port

Navicat connects the pit of shardingsphere sub table and sub library plug-ins
![Simple personal summary of tp6 multi application deployment -- Part I [original]](/img/7b/65fab1973423081483dacc9bed9594.jpg)
Simple personal summary of tp6 multi application deployment -- Part I [original]

Database design (3): database maintenance and optimization

MySQL enable logbin in Qunhui docker

微软禁止俄用户下载安装Win10/11
随机推荐
There is no response to redirection and jump in the laravel constructor [original]
MySQL's built-in performance testing tool, mysqlslap, performs stress testing
Gateway can not connect to tcp://127.0.0.1: Connection refused
Laravel access error could not be opened
08_ Spingboot integrated redis
List of provinces, cities and counties in China
Nailing open platform - applet development practice (nailing applet client)
[Qunhui] this suite requires you to start PgSQL adapter service
Fastadmin always prompts sqlstate[23000]: integrity constraint violation: 1052 column 'ID' in order clause is am
Report on operation mode and future development trend of China's refining and chemical market 2022-2028
[learn FPGA programming from scratch -45]: vision chapter - integrated circuits help high-quality development in the digital era -2- market forecast
An unexpected attempt (Imperial CMS list template filters spaces and newlines in smalltext introduction)
SQL related knowledge - DQL
Clickhouse stand alone installation
使用Jsoup提取接口中的图片
Compiling and installing phpredis extension on MAC
Construction of art NFT trading platform | NFT mall
Oracle 數據泵導錶
Redis cache message queue
CTF crypto (I) some simple encoding and encryption