RHEL6.1 _ ORACLE 11G Installation

Source: Internet
Author: User

 

The next step is to switch to the oracle user and run the installation.

Based on past experience, you only need to run the installer on shell su-oracle. This time I encountered a problem in suse.

This is the second problem encountered during this installation.

Problem:

You cannot use the command/usr/bin/xdpyinfo to automatically check the display color. Check whether the DISPLAY variable is set.

In fact, I have already met the last installation. At that time, I used xhost local: oracle to solve the problem. However, according to the introduction on the internet, suse and redhat are somewhat different. Even setting DISPLAY = 192.168.1.103: 0.0 does not work. If you use su-oracle to switch to an oracle user, an error will occur when running xclock. can't open display

I have been helpless for several days. Finally, we found a solution:

Log out-switch user-Log On directly using oracle

This method can be used to find that xclock can run normally, so it can also run the oracle installer normally.

 

Third problem: Garbled characters on the installation Interface

 

This was the last time I remembered this problem when I used oracle 10 Gb. The solution at night was to download the jdk and reset the settings. I felt that this method was too troublesome, in my opinion, the installation interface does not have to be in Chinese or English.

So change to the English environment.

Set the language environment LANG and LC_ALL

$ Export LANG = en_US.utf8

Export LANG

$ Export LC_ALL = en_US.utf8

Export LC_ALL

 

Finally, it succeeded. The first step was to set up the email. I skipped it.

Step 2: select only install software

 

Step 3: separate databases, not clusters.

(Note: if there is insufficient disk space, you can check where there is excess data. 16 GB is sufficient by default. You can clear the TMP directory and clear the command rm-rf *

-R is recursive down. No matter how many levels of directories are there, delete them together.

-F means to delete the file directly without any prompts)

 

Step 4: language: English

 

Step 5: select the first Enterprise Edition

 

Step 6: The system has automatically read the installation directory according to the variables we set.

 

Step 7: Continue default

 

Step 8: You have also read the group dba oinstall

 

Step 9: perform installation check. Everything is okay, but the error is that the system memory is insufficient. You can increase the memory size on the VM, but I chose to ignore it here.

 

Step 10: everything is ready.

 

Step 2: Wait for it to install

 

Last step: Execute the script.

Set environment variables and write them into the. bash_profile file so that each restart takes effect.

PATH =/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin: $ PATH

ORACLE_HOME =/home/oracle/app/oracle/product/11.2.0/dbhome_1

The installation is a Chinese display and LANG = en_US.utf8 needs to be written.

At this point, oracle can be used normally

Related Article

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.