Uninstall and install DB2 express-C 9.7.2 under win7 (below)

Source: Internet
Author: User

This article is too long. I will introduce some things: installation system requirements, installation process diagrams, interface Chinese box garbled solutions, tool directory database installation (Dba1176n), Command line start.

Start installation now. Before installation, let's talk about the system requirements.

The disk space is approximately 600 ~ 1300 m, the disk space required by the product depends on the selected installation type and the file system type. The DB2 Installation Wizard provides dynamic size estimates based on components selected during a typical installation, streamlined installation, or custom installation.

Most people are concerned about the valuable memory. The DB2 database system requires at least 256 mb ram. A system that only runs DB2 products and DB2 GUI tools requires at least 512 mb ram. However, we recommend that you provide 1 gb ram to improve performance. These requirements do not include the memory required by other software running on the system, but are still a bit cool.

For more information, see here. For the speed at which no installation files are available, download them here. Download a 398mdb2exc_972_win_x86.exe file and double-click it to run it. During installation, it will decompress the installation file to the temporary system folder and then run it. In fact, this is a compressed package, which can be decompressed using the 7zip tool. It is normal except that one image cannot be decompressed, it can be run directly from the extracted files during subsequent installation, saving time.

Double-click setup.exe to enter the installation launch board and select to install a new product.

 

The initial interface is as follows:

 

Next, accept the license

 

In the next step, selecting a typical installation is enough. You can also choose customization. Then you can see more options later. Generally, you can skip this step.

 

Response file, which is used for automatic installation. Sometimes, you need to install the DB2 client on multiple machines, or embed the DB2 database server into the application, and install the DB2 database server while installing the application. In these cases, the automatic installation of DB2 is an ideal method. DB2 uses the response file for automatic installation. The response file is a text file that stores the information required for installation. Next step

 

Select the installation folder

 

User Account configuration, new users only need to fill in the password and confirm the password, other remains the same, next step. You can enter an existing user who will use the DB2 instance and other services. This user must be a member of the local administrator group in windows, and the password is used when logging on to the operating system. If the user ID you entered does not exist, the user ID is created and becomes a local administrator, that is, a new system administrator. If the user does not belong to any domain, leave the domain empty. In Windows, the default user name is db2admin. Here, I select to use the System user account currently logged in (preferably the Administrator uncle)

 

You can configure the instance, for example, whether to start the service after it is started.

 

Click Finish to start Installation

 

Installation Process, Patience, patience, and patience

> Copying a new file ......

> Configuring the DB2 instance ......

> The default DB2 copy is being configured. This icon will appear in the tray at this time. It seems that the installation is successful.

> Creating the sample database ......

Complete, haha

 

Click "Step 1"

Let's take a rough look at the content. This is the reason for the FF configuration problem mentioned in the previous article. It creates a new configuration for FF in the temporary system file, to prevent warnings, I will not create them here.

Then FF is enabled, and FF has a warning.

FF page

E. Forget it. After reading the page above, I still want to allow it. Remember to check "Remember this option". Otherwise it will always play ,--!

That's the final result.

 

Check the "control center" under "General Management Tools" in the Start menu to see if all databases have sample databases. If not, you can create them in the first step above, or click "Step 1" of "setting tools" in the Start Menu ". Sometimes the interface appearsBoxThis is a Chinese Garbled text. It is good to disable and restart. You cannot try it multiple times. If the problem persists, use the following experience: Click the third icon in the toolbar, click the tool settings, click the third tab (font), and change the value in the first drop-down box, restart the control center, and the interface is better. It is not as complicated as it is on the Internet. You can change the value back. The default value is shown in the next figure.

 

Tool Setting Interface

 

This is the several services after installation. You can change them to manual startup. Otherwise, when the system starts ......

 

Data files are stored in the C: \ DB2 Directory by default.

 

Is the Installation complete after this? Of course not!

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lost separator ~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

Click "task Center" in "General Management Tools" in the Start menu."Dba1176n"Message box, because no tool directory database is installed. Install the tool directory database.

 

 

Run the installation file again. Choose to use the existing product this time.

 

This box appears

 

Select the copy you want to operate. There is only one default copy, so click the start wizard button and the following box appears. Click Yes

 

Then the second figure in this article is displayed, which is not shown here. Click Next. Here you can operate on the installed copy, select and modify, and next. Of course, if you select Delete, You Can unmount it. You can understand it. For more information, see the previous article.

 

Add or delete components. Next Step

 

Language selection, next step

 

The point is here. Create a tool directory database.

 

Do not notify

 

Security. The default value remains unchanged.

 

Next, install.

In fact, the above steps can be selected when you choose custom installation for the first installation (the fourth figure in this article ).

 

Now let's take a look at the C: \ DB2 \ node0000 data directory, there are only three

Two more

Let's look at the database of the control center.

The task center is okay. If there is no permission problem, it is not an error. You only need to configure user permissions. This is the scope of programming. I will not talk about it any more. I will study it later.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gift for parting: Command Line ~~~~~~~~~~~~~~~~~~~~~~~~~

 

Then add the command line.

Usage:

For example, the control center is the control center. In the system running box, type db2cc and press Enter. The control center is now. What a magic ~

 

 

 

At last, I have attached the official help document, which has Chinese characters but is for v9.5. You can download it here.

Http://www.ibm.com/developerworks/wikis/display/DB2/FREE+Book-+Getting+Started+with+DB2+Express-C

Download the official help documentation in English (3rd edition)

Http://public.dhe.ibm.com/software/data/sw-library/db2/express-c/wiki/Getting_Started_with_DB2_Express_v9.7.pdf

Official entry page

Http://www-01.ibm.com/software/data/db2/express/getstarted.html

 

I wish you a happy learning experience ~

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.