Home > database >  Linux redhat6.9 oracle11g installation
Linux redhat6.9 oracle11g installation

Time:09-16

Close the firewall
Service iptables stop
The chkconfig iptables off

Service iptables status
Service iptables stop
The chkconfig iptables off
Vi/etc/selinux/config
SELINUX=disabled
Query the IP
Ipconfig query IP
The Ifconfig Linux query IP
Set the gateway

Modify url


Restart gateway



Create a user group
Groupadd dba - g 1024
Groupadd oinstall - g 1023
Dba oracle oinstall useradd - g - g - u 1024
Passwd oracle

Create a folder and give permission
Mkdir -p/oracle/app/oracle
The mkdir/oradata
Chmod 755/oradata
Chown oracle: oinstall/oradata
Chown -r oracle: oinstall/oracle
Chmod -r 755/oracle

Modifying kernel parameters
The/etc/sysctl. Conf
# kernel. Shmall=2097152
# kernel. Shmmax=2147483648
The kernel. Shmmni=4096
Kernel. Sem=250, 32000, 100, 128
Net. Core. Rmem_default=4194304
Net. Core. Rmem_max=4194304
Net. Core. Wmem_default=262144
Fs. File - Max=6815744
Net. Ipv4. Ip_local_port_range=9000, 65500
Net. Core. Wmem_max=1048576
Fs. Aio - Max - nr=1048576

Sysctl -p effect immediately;

Modify/etc/security/limits. Conf join content
Oracle soft nproc 2047
Oracle hard nproc 16384
Oracle soft nofiles 1024
Oracle hard nofiles 65536

Sysctl -p effect immediately;

Su - oracle
Modify the following, add content
The export is=dzyx
Export ORACLE_BASE=/oracle/app/oracle
Export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
The export PATH=$PATH: $HOME/bin: $ORACLE_HOME/bin
Export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib

Sysctl -p effect immediately;


Create the source folder and mount


Su - root

Rm - rf/etc/yum. Repos. D/*
Touch the/etc/yum. Repos. D/DVD. '
The cat & gt;> The/etc/yum. Repos. D/DVD. Repo & lt; [DVD]
Name=DVD
The enable=1
Gpgcheck=0
Baseurl=file:///mnt/dvd
EOF
The mkdir/MNT/DVD
The mount -o remount, rw/dev/sr0/MNT/DVD
Mount/dev/sr0/MNT/DVD

Source
yum -y install binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33*i686 compat-libstdc++-33*.devel compat-libstdc++-33 compat-libstdc++-33*.devel gcc gcc-c++ glibc glibc*.i686 glibc-devel glibc-devel*.i686 ksh libaio libaio*.i686 libaio-devel libaio-devel*.devel libgcc libgcc*.i686 libstdc++ libstdc++*.i686 libstdc++-devel libstdc++-devel*.devel libXi libXi*.i686 libXtst libXtst*.i686 make sysstat unixODBC unixODBC*.i686 unixODBC-devel unixODBC-devel*.i686 elfutils-libelf-devel*

Yum install binutils compat - libstdc++ - 33 elfutils - libelf elfutils libelf - devel elfutils libelf - devel - static GCC GCC - c + + glibc glibc - common glibc - devel glibc - headers KSH libaio libaio - devel libgcc libgomp libstdc++ libstdc++ - devel make sysstat unixODBC unixODBC - devel compat - libstdc++ - 33. I686 libaio. I686 libaio - devel. I686 libstdc++. I686 unixODBC. I686 unixODBC - devel. I686 glibc - devel. I686 glibc. I686 libgcc. I686 libstdc++ - devel. I686 compat - libcap1-1.10 - y

Upload installation package
Yum install - y LRZSZ


Create folder authorized
The Mkdir/software
Chown -r oracle: oinstall/software
Chmod -r 775/software

Su - oracle
The CRT using set upload


Rz upload
Unpack the oracle package

Unzip p13390677_112040_Linux - x86-64 _1of7.zip
Unzip p13390677_112040_Linux - x86-64 _2of7.zip

Su root
Disable security policy closed SElinux
Vi/etc/selinux/config
SELINUX=disabled


Install the PDKSH - 5.2.14




Open the XManager software

Modify the parameter
Export DISPLAY=192.168.52.99:0.0

Perform the installation
./runInstaller

CodePudding user response:

Can open a blog record is convenient

CodePudding user response:

Mark, ready to Ann on centos
  • Related