Home Database Mysql Tutorial 达梦(1)数据库安装

达梦(1)数据库安装

Jun 07, 2016 pm 03:23 PM
Function Install database

最近在看达梦数据库。功能看起来应当不错,就是资料少得可怜,附的文档估计是更新不即时,很多都没说清楚或没说。 在这记录下数据库的安装,非常简单。 一。安装在指定用户下。 1. DM数据库系统用户 groupadd dinstalluseradd -g dinstall -m -d /home/dmdba

最近在看达梦数据库。功能看起来应当不错,就是资料少得可怜,附的文档估计是更新不即时,很多都没说清楚或没说。

在这记录下数据库的安装,非常简单。

一。安装在指定用户下。

1. DM数据库系统用户

groupadd dinstall
useradd -g dinstall -m -d /home/dmdba -s /bin/bash dmdba
passwd dmdba
mkdir -p /opt/dmdbms
chmod -R 755 /opt/dmdbms
Copy after login
2. 执行安装 ./DMInstall.bin -i
3. DM数据库随机启动服务
/* bin目录下的DmServiceDMSERVER文件拷贝到/etc/rc.d/init.d 目录下如果手工执行: 设默认安装路径: /opt/dmdbms 服务名: DMSERVER ln –s /etc/rc.d/init.d/DmServiceDMSERVER /etc/rc.d/rc0.d/K02DmServiceDMSERVER ln –s /etc/rc.d/init.d/DmServiceDMSERVER /etc/rc.d/rc3.d/S98DmServiceDMSERVER ln –s /etc/rc.d/init.d/DmServiceDMSERVER /etc/rc.d/rc5.d/S98DmServiceDMSERVER ln –s /etc/rc.d/init.d/DmServiceDMSERVER /etc/rc.d/rc6.d/K02DmServiceDMSERVER chkconfig --add DmServiceDMSERVER
但在新的 DM 7 下没找到这些。。。 */
[dmdba@xclos dm7_20131111_neoky5_64]$ ./DMInstall.bin -i
rm: cannot remove `/tmp/DMInstall/source': Permission denied
rm: cannot remove `/tmp/DMInstall/install': Permission denied
Extract install files.........
chmod: changing permissions of `/tmp/DMInstall/': Operation not permitted
chmod: changing permissions of `/tmp/DMInstall/source': Operation not permitted
chmod: cannot read directory `/tmp/DMInstall/source': Permission denied
chmod: changing permissions of `/tmp/DMInstall/install': Operation not permitted
/tmp/DMInstall/install/install.sh: line 35: /tmp/DMInstall/source/script/ckdmstat.sh: Permission denied
Welcome to DM Install Program
Whether to input the path of Key File? (Y/y:Yes N/n:No) [Y/y]:^C
-- 在 root 用户下删除掉 /tmp/DMInstall 后再执行安装
[dmdba@xclos dm7_20131111_neoky5_64]$ ./DMInstall.bin -i
Extract install files.........
Welcome to DM Install Program
Whether to input the path of Key File? (Y/y:Yes N/n:No) [Y/y]:n
Whether to Set The TimeZone? (Y/y:Yes N/n:No) [Y/y]:n
Installation Type:
1 Typical
2 Server
3 Client
4 Custom
Please Input the number of the Installation Type [1 Typical]:1
Require Space: 380M
Please Input the install path [/home/dmdba/dmdbms]:
Available Space: 99G
Please Confirm the install path? (Y/y:Yes N/n:No) [Y/y]:
Pre-Installation Summary
Installation Location: /home/dmdba/dmdbms
Require Space: 380M
Available Space: 99G
Version Information:
Expire Data:
Installation Type: Typical
Confirm to Install? (Y/y:Yes N/n:No) [Y/y]:
2014-01-06 17:38:27
[INFO] Installing default Module...
2014-01-06 17:38:27
[INFO] Installing DM DBMS...
2014-01-06 17:39:01
[INFO] Installing server Module...
2014-01-06 17:40:06
[INFO] Installing client Module...
2014-01-06 17:40:11
[INFO] Installing drivers Module...
2014-01-06 17:40:11
[INFO] Installing manual Module...
2014-01-06 17:40:11
[INFO] Installing service Module...
2014-01-06 17:40:15
[ERROR] /etc/dm_svc.conf (Permission denied)
2014-01-06 17:40:15
[INFO] Move ant log file to log directory.
2014-01-06 17:40:16
[INFO] Installed DM DBMS completely.
End
[dmdba@xclos dm7_20131111_neoky5_64]$
Copy after login

二。 root用户下的安装 直接执行就行了。
[root@xcl12c soft]# tar -xzvf dm7_20131111_neoky5_64.tar.gz
dm7_20131111_neoky5_64/DMInstall.bin
dm7_20131111_neoky5_64/DM_Install_en.pdf
dm7_20131111_neoky5_64/DM_Install_zh.pdf
dm7_20131111_neoky5_64/dm.key
[root@xcl12c soft]# ./dm7_20131111_neoky5_64/DMInstall.bin -i
Extract install files.........
Welcome to DM Install Program
Whether to input the path of Key File? (Y/y:Yes N/n:No) [Y/y]:N
Whether to Set The TimeZone? (Y/y:Yes N/n:No) [Y/y]:n
Installation Type:
1 Typical
2 Server
3 Client
4 Custom
Please Input the number of the Installation Type [1 Typical]:1
Require Space: 380M
Please Input the install path [/opt/dmdbms]:
Available Space: 10G
Please Confirm the install path? (Y/y:Yes N/n:No) [Y/y]:
Pre-Installation Summary
Installation Location: /opt/dmdbms
Require Space: 380M
Available Space: 10G
Version Information:
Expire Data:
Installation Type: Typical
Confirm to Install? (Y/y:Yes N/n:No) [Y/y]:
2014-01-06 09:35:52
[INFO] Installing DM DBMS...
2014-01-06 09:35:52
[INFO] Installing default Module...
2014-01-06 09:35:54
[INFO] Installing server Module...
2014-01-06 09:35:57
[INFO] Installing client Module...
2014-01-06 09:35:58
[INFO] Installing drivers Module...
2014-01-06 09:35:58
[INFO] Installing manual Module...
2014-01-06 09:35:59
[INFO] Installing service Module...
2014-01-06 09:36:20
[INFO] Move ant log file to log directory.
2014-01-06 09:36:21
[INFO] Create system user "dmdba" successfully.
2014-01-06 09:36:21
[INFO] Installed DM DBMS completely.
End
MAIL: xcl_168@aliyun.com BLOG: http://blog.csdn.net/xcl168
Copy after login
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

iOS 18 adds a new 'Recovered' album function to retrieve lost or damaged photos iOS 18 adds a new 'Recovered' album function to retrieve lost or damaged photos Jul 18, 2024 am 05:48 AM

Apple's latest releases of iOS18, iPadOS18 and macOS Sequoia systems have added an important feature to the Photos application, designed to help users easily recover photos and videos lost or damaged due to various reasons. The new feature introduces an album called "Recovered" in the Tools section of the Photos app that will automatically appear when a user has pictures or videos on their device that are not part of their photo library. The emergence of the "Recovered" album provides a solution for photos and videos lost due to database corruption, the camera application not saving to the photo library correctly, or a third-party application managing the photo library. Users only need a few simple steps

How does Hibernate implement polymorphic mapping? How does Hibernate implement polymorphic mapping? Apr 17, 2024 pm 12:09 PM

Hibernate polymorphic mapping can map inherited classes to the database and provides the following mapping types: joined-subclass: Create a separate table for the subclass, including all columns of the parent class. table-per-class: Create a separate table for subclasses, containing only subclass-specific columns. union-subclass: similar to joined-subclass, but the parent class table unions all subclass columns.

An in-depth analysis of how HTML reads the database An in-depth analysis of how HTML reads the database Apr 09, 2024 pm 12:36 PM

HTML cannot read the database directly, but it can be achieved through JavaScript and AJAX. The steps include establishing a database connection, sending a query, processing the response, and updating the page. This article provides a practical example of using JavaScript, AJAX and PHP to read data from a MySQL database, showing how to dynamically display query results in an HTML page. This example uses XMLHttpRequest to establish a database connection, send a query and process the response, thereby filling data into page elements and realizing the function of HTML reading the database.

How to download 360 Secure Browser on your computer How to download 360 Secure Browser on your computer Apr 12, 2024 pm 01:52 PM

How to download 360 Secure Browser on your computer? It is a very secure web browser software. This browser is very rich in functions and very simple to operate. Using 360 Secure Browser to browse the web can protect user privacy and security very well. Many people like to use this browser. Browser office, but many people still don’t know how to download and install 360 Secure Browser on their computers. This article will give you a detailed introduction to the installation process of the 360 ​​Safe Browser PC version, hoping to help you solve the problem. Overview of the installation process under the computer version of 360 Secure Browser 1. On the computer’s main page, find “360 Software Manager” and enter (as shown in the picture). 2. Open 360 Software Manager and find the search box (as shown in the picture). 3. Click Search

Detailed tutorial on establishing a database connection using MySQLi in PHP Detailed tutorial on establishing a database connection using MySQLi in PHP Jun 04, 2024 pm 01:42 PM

How to use MySQLi to establish a database connection in PHP: Include MySQLi extension (require_once) Create connection function (functionconnect_to_db) Call connection function ($conn=connect_to_db()) Execute query ($result=$conn->query()) Close connection ( $conn->close())

How to handle database connection errors in PHP How to handle database connection errors in PHP Jun 05, 2024 pm 02:16 PM

To handle database connection errors in PHP, you can use the following steps: Use mysqli_connect_errno() to obtain the error code. Use mysqli_connect_error() to get the error message. By capturing and logging these error messages, database connection issues can be easily identified and resolved, ensuring the smooth running of your application.

What is GateToken(GT) currency? Introduction to GT coin functions and token economics What is GateToken(GT) currency? Introduction to GT coin functions and token economics Jul 15, 2024 pm 04:36 PM

What is GateToken(GT) currency? GT (GateToken) is the native asset on the GateChain chain and the official platform currency of Gate.io. The value of GT coins is closely related to the development of Gate.io and GateChain ecology. What is GateChain? GateChain was born in 2018 and is a new generation of high-performance public chain launched by Gate.io. GateChain focuses on protecting the security of users' on-chain assets and providing convenient decentralized transaction services. GateChain's goal is to build an enterprise-level secure and efficient decentralized digital asset storage, distribution and transaction ecosystem. Gatechain has original

How to connect to remote database using Golang? How to connect to remote database using Golang? Jun 01, 2024 pm 08:31 PM

Through the Go standard library database/sql package, you can connect to remote databases such as MySQL, PostgreSQL or SQLite: create a connection string containing database connection information. Use the sql.Open() function to open a database connection. Perform database operations such as SQL queries and insert operations. Use defer to close the database connection to release resources.

See all articles