Remote Installation of oracle 11g on centos 6.2

Source: Internet
Author: User


Version: 11g port: 1521 Installation File:/install/linux.x64_11gR2_database_1of2.zip, linux.x64_11gr2_database204 f2.zip www.2cto.com installation process: the installation process is centos without a graphical interface. Tool used: ssh + xmanager. The xmanager I use is 4.0. Open xmanager-passive mode to add users and user groups. [root @ centos56 ~] # Groupadd oinstall [root @ centos56 ~] # Groupadd dba [root @ centos56 ~] # Groupadd users [root @ centos56 ~] # Useradd-g oinstall-G dba oracle [root @ centos56 ~] # Passwd oracleChanging password for user oracle. New UNIX password: www.2cto.com Retype new UNIX password: passwd: all authentication tokens updated successfully. [root @ centos56 ~] # Mkdir/data/oracle11g (ORACLE_BASE) [root @ centos56 ~] # Chown-R oracle. decompress the oinstall/data/oracle11g Installation File #> cd/install #> unzip www.2cto.com #> unzip linux.x64_11gr2_database204 f2.zip switch user #> su-oracle #> cd/install/database #>. before running the/runInstaller, run the command #> export DISPLAY = 192.168.1.14: 0.0 (the IP address is the Client ip address) #> export LANG = c (the input font language is English) after running, the client xmanager outputs a graphical interface for installation. During the graphical interface installation, check dependencies are divided into installation packages and dependency configurations. The dependency configuration is automatically generated by oracle, and a terminal is run as root. The installation package is added based on the packages listed. If the server dependency package is newer than that specified by oracle11g, skip to continue the installation. In particular, pdksh is generally not available in yum install and is replaced by ksh. After the installation is complete, the user must execute two files:/home/oracle/oraInventory/orainstRoot. sh/data/oracle11g/product/11.2.0/dbhome_1/root. sh www.2cto.com run the above two files as root, modify/etc/profile with if [$ USER = "oracle"]; then if [$ SHELL = "/ben/ksh"]; then ulimit-p 16384 ulimit-n 65536 else ulimit-u 16384-n 65536 fifi Modify/home/oracle /. bash_profile export ORACLE_BASE =/data/oracle11gexport ORACLE_HOME = $ ORACLE_BASE/product/11.2.0/dbhome_1 expor T PATH = $ ORACLE_HOME/bin: $ PATH modify $ ORACLE_HOME \ bin \ dbstart ORACLE_LISTENER_HOME = $ ORACLE_HOME www.2cto.com run $ ORACLE_HOME \ bin \ netca (graphical interface network configuration) run $ ORACLE_HOME \ bin \ dbca to modify/etc/oratab and add the started database. Find an oracle self-starting script and add the service in chkconfig. Author Xiong Erxian

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.