Considerations for installing Oracle in SUSE

Source: Internet
Author: User

1. first, SUSE and RedHat are different in the installation process. Some parameter files after installation are different. After SUSE is installed, the Oracle user, DBA, both groups are created by default. For ROOT, there is only. bashrc under its directory, and there is no. bashrc_profile file. Oracle does not have a home directory. My practice is to delete the Oracle users, DBAs, and OINSTALL groups that come with the system, and then manually recreate them and create a home directory for them.

2. After you create an Oracle user manually, the system automatically generates the/etc/sysconfig/directory and/etc/profile. d/Oracle. sh file. It does not have. bash_profile in the Oracle main directory. Therefore, if you log on to Oracle after the system is restarted, it will take/etc/profile. d/Oracle. sh as the startup parameter, which is very important. If you want to configure other Oracle parameters, you must modify the file parameters to take effect.

3. after the Oracle-related parameters are configured, restart the machine and log on to Oracle. if your parameter file does not refer to/etc/profile. d/Oracle. sh, Oracle cannot log on. After entering the system, the best way to test whether Oracle can start the graphic interface is to run: xclock. If a final table can be created, it indicates that the graphic interface has not been asked, you have to run SUSE to install Oracle.

4. during the installation process, you will be prompted to run two scripts as the ROOT user. One is a file with a header in/temp/or. I do not know yet, and the other is $ Oracle_HOME/root. sh. You will also come up with a window to confirm the default parameters. You can click continue directly.

5. I think you should choose to only install software. In this case, you must use dbca to create a database. Www.bkjia.com, of course, you can also create a database manually. If you select DBCA to create a database, an error may occur: java. lang. noClassDefFoundError. this prompt indicates that your DISPLAY parameter is not set. You only need to run this command: export DISPLAY = 0: 0 or export DISPLAY = IP address on your machine. Then run dbca.

6. after running dbca, you can change all parameters by default. Of course, if you have a deep research on installing Oracle in SUSE, you can change some parameters. If so, you need to create a database manually. But you have to change the character set. You choose ZHGB16.

7. When all the configurations are selected, you can select OK to create the database. But at this time it was wrong again. After you click OK, it does not create a database, but exits. Prompt for any problem with $ Oracle_HOME/bin/dbca. You only need to find the file, edit it, and modify the following:
# Run DBCA
$ JRE_DIR/bin/jre-native-DOracle_HOME = $ OH-DJDBC_PROTOCOL = thin-mx64m-classpath $ CLASSPATH Oracle. sysman. assistants. dbca. Dbca $ ARGUMENTS
Else
# Run DBCA
$ JRE_DIR/bin/jre-DOracle_HOME = $ OH-DJDBC_PROTOCOL = thin-mx64m-classpath $ CLASSPATH Oracle. sysman. assistants. dbca. Dbca $ ARGUMENTS

Changed:
# Run DBCA
$ JRE_DIR/bin/jre-native-DOracle_HOME = $ OH-DJDBC_PROTOCOL = thin-mx64m-classpath $ CLASSPATH Oracle. sysman. assistants. dbca. Dbca $ ARGUMENTS
Else
# Run DBCA
$ JRE_DIR/bin/jre-native-DOracle_HOME = $ OH-DJDBC_PROTOCOL = thin-mx64m-classpath $ CLASSPATH Oracle. sysman. assistants. dbca. Dbca $ ARGUMENTS

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.