Install the Oracle 11gR2 client on CentOs

Source: Internet
Author: User
Tags tmp folder


1. Download The 11gR2 linux client from the oracle website. http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linuxsoft-085393.html 2. use ftp to transfer the Installation File linux_11gR2_client.zip to CentOs. Note that the binary transmission method is also used # bin # unzip linux_11gR2_client.zip-d/usr/local/oracle 3. root users cannot install oracle. Therefore, you must create an oracle user # groupadd oinstall # useradd-g oinstall oracle # passwd oracle "oracle" as the new user. "Oinstall" is the new user group. 4. Unzip the package and run "runInstaller" in the folder. If there is an error in space shortage, it may be because the/tmp folder space is insufficient. You can manually modify $ TEMP to another place, provided that the space is sufficient. For example, in/home/oracle/tmp # export TEMP =/home/oracle/tmp, if the newly created user cannot access the GUI (root user is allowed), the error message is as follows: TPD cocould not write to your authorization file. this cocould mean that you are out of disk space or that your home directory cocould not be opened for writing. please contact your system administrator. www.2cto.com may have the following reasons: 1. if the space is insufficient, run the df-h command to view and delete unnecessary files before logging on. the/tmp folder has insufficient permissions. chmod 1777/tmp: Change permissions. 5. use oracle user login graphical interface for Installation Otherwise, an error occurs when the oracle image installation interface is started. During installation, components may be insufficient. Ignore the component and continue the installation. Wait until the system prompts the root user to run files such as root. sh. 6. after the installation is complete, modify the settings. modify the bash_profile file for the oracle user # view/home/oracle /. add the following information to bash_profile: export ORACLE_HOME =/home/oracle/app/oracle/product/11.2.0/client_1 export PATH = $ PATH: $ HOME/bin: $ ORACLE_HOME/bin save and execute # source/home/oracle /. bash_profile 7. configure tnsname under $ ORACLE_HOME/network/admin. ora should be configured the same as that on windows machines. Example: ICC = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = FENGZHI-16) (PORT = 1521) (CONNECT_DATA = (SERVICE_NAME = icc )) www.2cto.com) 8. the following error may occur when sqlplus is started during the sqlplus test: sqlplus: error while loading shared libraries:/u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1: cannot restore segment prot after reloc: Permission denied invalidates SELINUX. Modify the/etc/selinux/config file to SELINUX = disabled and save and restart the file. Connection Failed with host name example: sqlplus icc/fengzhi@192.168.1.109: 1521/icc author lvze1983

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.