DM (2) Start services and generate databases after installation

Source: Internet
Author: User
In Windows, DM is a graphic interface. But in Linux, it is a bit difficult. I don't know where to start. After reading the document for half a day, I got a little eye off. How to start related services and generate related databases. I don't know if this is true or not. 1. Generate a database. The default value is dma. Create a directory to store database files.

In Windows, DM is a graphic interface. But in Linux, it is a bit difficult. I don't know where to start. After reading the document for half a day, I got a little eye off. How to start related services and generate related databases. I don't know if this is true or not. 1. Generate a database. The default value is dm a. Create a directory to store database files.

In Windows, DM is a graphic interface. But in Linux, it is a bit difficult. I don't know where to start. After reading the document for half a day, I got a little eye off.

How to start related services and generate related databases. I don't know if this is true or not.

1. Generate a database. The default value is dm.
A. Create a directory

-- Stores the database file storage directory

Mkdir/opt/dmdbms/data

-- Save dminit logs

Mkdir/opt/dmdbms/data/log
B. Create as prompted
./Dminit

2. Start the database
Start a database in a session
./Dmserver/opt/dmdbms/data/DMSERVER/dm. ini

Dmserver command description:
[Root @ xcl12c bin] #./dmserver help
Format:./dmserver [ini_file_path] [-noconsole] [mount]

Example:
./Dmserver path =/opt/dmdbms/bin/dm. ini
./Dmserver/opt/dmdbms/bin/dm. ini

KEY WORD EXPLANATION
--------------------------------------------------------------------------------
PATH the absolute path of dm. ini or the current directory
-Noconsole start in service mode
Mount start in mount status
HELP print help information

3. You can connect to the new database in another session.
[Root @ xcl12c bin] #./Disql SYSDBA/SYSDBA @ localhost

Server [localhost: 5236]: mode is normal, state is open
Normal user login

Login used time: 8.931 (MS)
Disql V7.1.2.215-Build (2013.11.08-36626 trunc)
Connected to: DM 7.1.2.215
SQL>

MAIL: xcl_168@aliyun.com

BLOG: http://blog.csdn.net/xcl168

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.