Installing Oracle 11gR2 (11.2.0.1) on CentOS6.0 and basic configuration (i)

Source: Internet
Author: User

It's needless to say that you install centos6.0  first. Installation can be done. The only thing to note is that the checking the software requirements part of the Oracle 11G Installation Guide will require a subset of the software to be installed in the CentOS6 DVD image. You can configure a DVD image repos yourself.   Check the command format as follows: Rpm-qa | grep name binutils-2.17.50.0.6            okcompat-libstdc++-33-3.2.3       &NB sp;okelfutils-libelf-0.125            OKELFUTILS-LIBELF-DEVEL-0.125-- elfutils-libelf-devel-static-0.125--gcc-4.1.2                okgcc-c++-4.1.2 & nbsp              okglibc-2.5-24                OKGL ibc-common-2.5            okglibc-devel-2.5                okglibc-headers-2.5            okkernel-headers-2.6.18         &N Bsp  okksh-20060214                oklibaio-0.3.106                oklibaio-devel-0.3.106            --libgcc- 4.1.2                oklibgomp-4.1.2             &NB Sp  oklibstdc++-4.1.2             oklibstdc++-devel-4.1.2         &NBS P  okmake-3.81                oknumactl-devel-0.9.8.i386       & nbsp;--sysstat-7.0.2                --unixodbc-2.2.11                --unixodbc-devel-2.2.11            --  from The Centos-5.5-i386-bin-dvd.iso\centos file finds the missing package and uploads it to Linux,  ls *.RPMRPM-IVH *.rpm centos6.0 Basic Environment Configuration ======== = = = #建立dba和 Oinstall user group. Used to distinguish between ordinary users groupadd oinstallgroupadd dbamkdir-p/u01/oracle# Add an Oracle user, the root directory is/u01/oracle, the primary group is Oinstall Vice Group is Dbauseradd -G Oinstall-g dba-d/u01/oracle oracle# Copy a few users. bash* file DEMOCP/ETC/SKEL/.BASH_PROFILE/U01/ORACLECP/ETC/SKEL/.BASHRC/U01/ORACLECP/ etc/skel/.bash_logout/u01/oracle# set the password for Oracle user 123456passwd oraclechown-r oracle:oinstall u01# Check if nobody exists,   ID Nobody is present by default. #如果不存在 #/usr/sbin/useradd-g nobody############################### #内核参数修改 (preferably modified according to Oracle installation requirements) #vi/etc/ SYSCTL.CONFFS.AIO-MAX-NR = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 32000 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_ max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048586  #立刻使内核参数生效 without restarting #sysctl-p#vi/etc/ Security/limits.conforacle           soft    nproc   2047oracle     &NBS P     Hard    nproc   16384oracle           soft    nofile &nbsp ; 1024oracle           Hard    nofile  65536#vi/proc/sys/fs/file-max   120300/512# (not verified unimportant)   #vi/etc/pam.d/login  # I don't know what to do.  session    required     pam_limits.so ###################### #设置oracle user Environment Variables # Su-oracle#vim ~/.bash_profileoracle_base=/u01oracle_home= $ORACLE _base/oracleoracle_sid=wilsonpath= $ORACLE _home/ Bin: $PATH: $HOME/binexport oracle_base oracle_home oracle_sid path  #查看设置的环境变量ITPUB个人空间. [[email protected] ~]$ env | grep ora # This specific function is still unknown #vi/etc/profileif [$USER = "Oracle"]; then       if [$SHELL = "/bin/ksh"]; then           ulimit-p 16384           ulimit-n 65536       else           ulimit-u 16384-n 65536       fifi& nbsp;# ifconfig #要改IP为固定的IP # vi/etc/hosts Edit inside content   Remove a local name]## #这个请根据情况改变 when installing Linux. The role should be remote connection requires this IP192.168.0.100 oracle11g   install oracle11gr2============ installation files (the way you choose) #此处注意, due to the English installation environment, need Lang support, otherwise Chinese garbled. Export Lang=en_us./runinstaller perform the installation (Oracle user, non-root) installation to the end requires root execution of two scripts to execute the following command [[email protected] ~]#/u01/ Orainventory/orainstroot. [[email protected] ~]#/u01/oracle/root.sh[[email protected] database]# netca   Configuring listeners [[email  Protected] database]# ps-ef view listener [[email protected] database]# dbca   Install database   Test Oracle Connection Sqlplus dbsnmp/ passwordsql>!ps-efsql>!ps-ef | grep Oracle Oracle Database Some common processes   boot listeners [[email protected] ~]$ lsnrctl start Enterprise Manager [[email protected] ~]$ Emctl start dbconsolehttps://192.168.70.128:1158/em/console/aboutapplication This is my own computer. Using the net Manager configuration local name [email  protected] ~]#  netmgrlinux start ftp [[email protected] ~]# service vsftpd start in DOS C:\Users\ Administrator>ftp 192.168.48.130    ok connected to 192.168.48.130. Liunx shut down the firewall [[email protected] ~]# service iptables stop[[email protected] ~]# vi/etc/inittab I can only see id:3:i. Nitdefault,But I don't know how to change 3 to 5?   Reduce memory overhead:

Install Oracle 11gR2 (11.2.0.1) on CentOS6.0 and basic configuration (i)

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.