NeoKylin5.6 installation of the Dream (DM7) database

Source: Internet
Author: User
Tags character classes

1. Preparing the operating system1.1 System Login Interface

1.2 Operating system version information

[Email protected] ~]# uname-2.6. -238. El5xen #1: £ x86_64 x86 _64 x86_64 gnu/~]# cat/etc/5.6  (manaslu) Kernel \ r on an \m

2. Install the Dream database2.1 Configuring the user Environment

Creating a user as an installation user for a database is generally not recommended for root user installation, based on security considerations.

[Email protected]/]# export lang=Zh_cn.gbk[[email protected]/]# groupadd dinstall[[email protected]/]# Useradd-g Dinstall dm7[[email protected]/]# passwd dm7changing password foruser Dm7. You can now choose theNewpassword or passphrase. A valid password should be a mix of upper and lower CaseLetters,digits, and other characters. You can use an8CharacterLongPassword with characters fromAt least2Of these4classes. An upper CaseLetter that begins the password and a digit thatends it DoNot count towards the number of character classes used. A passphrase should is of at least3Words8To +charactersLongAnd contain enough different characters. Alternatively,ifNooneElsecan see your terminal now, you canpick This  asYour password:"seem;chance-treat". EnterNewPassword:re-typeNewPassword:passwd:all authentication Tokens updated successfully. [[Email protected]/]# mkdir-p/dm7/Dbms[[email protected]/]# ls-ld/dm7/dbms/drwxr-xr-x2Root root4096 Geneva- -  the: +/dm7/dbms/[[Email protected]/]# Chown dm7.dinstall/dm7/-R[[email protected]/]# ls-ld/dm7/dbms/drwxr-xr-x2DM7 Dinstall4096 Geneva- -  the: +/dm7/dbms/

2.2 Uploading the installation package

The Linux system requires the use of FTP tools to upload the installation package to the system, you can use the third-party tools also can take advantage of the system itself with the FTP service, using commands to upload files.

[Email protected] dm7]# lsdm7_20130204_neoky5_64.tar.gz  Dm.key

2.3 Database Software Installation

When performing a database installation, you need to check that the installation files have Execute permissions. If you do not have Execute permissions, you can add execution permissions to the installation package through the chmod +x file name method, which can be installed directly through the GUI on the rocky system's KDE interface. It is important to note that the current user must have read and write access to the database's installation directory.

1. Unpack the installation package first

[Email protected] ~]$ Tar-xzvf dm7_20130204_neoky5_64.tar.gz./dm7_20130204_neoky5_64/Dminstall.bin./dm7_20130204_neoky5_64/dm_install.pdf./dm7_20130204_neoky5_64/Dm.key[[email protected]~]$ ls-l./dm7_20130204_neoky5_64/Total338768-rw-r--r--1DM7 Dinstall344636887  -- Geneva-GenevaDminstall.bin-rw-r--r--1DM7 Dinstall1905926  -- Geneva-Genevadm_install.pdf-rw-r--r--1DM7 Dinstall648  --Geneva- -Dm.key[[email protected]~]$ chmod +x./dm7_20130204_neoky5_64/Dminstall.bin [[email protected]~]$ ls-l./dm7_20130204_neoky5_64/Total338768-rwxr-xr-x1DM7 Dinstall344636887  -- Geneva-GenevaDminstall.bin-rw-r--r--1DM7 Dinstall1905926  -- Geneva-Genevadm_install.pdf-rw-r--r--1DM7 Dinstall648  --Geneva- -Dm.key

2. Perform Dminstall.bin installation

3. Select language and time zone

4. Go to the Installation Wizard

5. Acceptance of the license agreement

6. Version Overview information

7. Import the license file

8. Select the installation mode or component

9. Specify the installation location (ensure that the current user has read and write access to the installation directory)

10. Installation Overview Information

11. Perform the installation process

12. Installation complete, software installation finished

2.3 Creating the configuration database

When the database software installation is complete, will automatically eject whether to perform the operation of the database initialization, this step is to configure the data, we can choose not to initialize the database, only as a client to use, later when the database is initialized, or can be initialized immediately.

1. Select Initialize Database

2. Start the Configuration Wizard

3. Create a DB instance

3. Specify the type of database to create

4. Specify the data storage directory

5. Specify data name and instance name

6. Specify the control file, data file, and log file location of the database

7. Adding control files to the database (recommended)

8. View the table space and data file configuration

9. View the log file and add a log file (recommended)

10. Configuration of database initialization parameters

The configuration here is more important, according to the system's business type configuration, improper configuration will affect the efficiency of the system, in addition,The system default log size is512m64m

11. Configure the Administrator user password

12. Create a sample library (depending on your situation)

13. Overview of database creation information

14. Perform Database creation

15. Database Creation Complete

2.4 Configuring environment variables
[Email protected] ~]$ env |grep Ld_library_pathld_library_path=/opt/soft/supermap/support/objectsjava/Bin:[[email protected]~]$ vi. bash_profile[[email protected]~]$ Cat. Bash_profile |grep dm7export PATH= $PATH: $HOME/bin:/dm7/dbms/Binexport Ld_library_path=/dm7/dbms/Bin: $LD _library_path[[email protected]~]$ source. Bash_profile[[email Protected]~]$ env |grep Pathld_library_path=/dm7/dbms/bin:/opt/soft/supermap/support/objectsjava/Bin:path=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/java/jdk1.6.0_35/bin:/home/dm7/bin:/home/dm7/bin:/dm7/dbms/Binclasspath=.:/ Usr/java/jdk1.6.0_35/lib/dt.jar:/usr/java/jdk1.6.0_35/lib/tools.jar

2.5 Starting the database service

After the installation is complete, the dream is started by default, as follows Pstree view the process of the Dream service.

Stop the Dream service and restart:

2.6 DM management tool test

NeoKylin5.6 installation of the Dream (DM7) database

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.