Middle Tier HostPREPARE THE HOST /u01 50GB /u10 50GB / 400GB as root yum repolist yum update yum search preinstall yum install oracle-database-server-12cR2-preinstall visudo ## Allow root to run any commands anywhere oracle ALL=(ALL) ALL ## Same thing without password %dba ALL=(ALL) NOPASSWD: ALL vi /etc/hosts ## make sure your fqhn is in here for MT and DB 192.168.1.113 aemidbs04.localdomain aemidbs04 192.168.1.114 aemimts01.localdomain aemimts01 vi /etc/sysconfig/network ## make sure your HOSTNAME= value is populated Hey Add more RPM's # OL6 and OL7 yum install make -y yum install binutils -y yum install gcc -y yum install libaio -y yum install glibc-common -y yum install libstdc++ -y yum install libXtst -y yum install sysstat -y yum install glibc -y yum install glibc-devel -y yum install glibc-devel.i686 -y as root mkdir -p /u01/app/oracle/product/emgc13c mkdir -p /u01/app/oracle/product/agent13c mkdir -p /u10/shiphome/em13 mkdir -p /u10/scratch chown -R oracle:dba /u01 chown -R oracle:dba /u10 as vi /etc/oraInst.loc inventory_loc=/u01/app/oracle/product/oraInventory inst_group=oinstall chmod 755 /etc/oraInst.loc INSTALL THE SOFTWARE as oracle cd /u10/shiphome/em13 download the software http://www.oracle.com/technetwork/oem/grid-control/downloads/oem-linux64-2823270.html as root vi /etc/oracle-release change 6.8 to 6.5 remember to change back after installation as root sysctl -w net.ipv4.ip_local_port_range="11000 65000" check sysctl net.ipv4.ip_local_port_range use vncviewer to connect and run the installer /u10/shiphome/em13/em13100_linux64.bin -J-Djava.io.tmpdir=/u10/scratch/ -invPtrLoc /etc/oraInst.loc Install Software Only /u01/app/oracle/product/emgc13c/sysman/install/ConfigureGC.sh Prepare the DB Host as root
yum repolist yum update yum search preinstall yum install oracle-database-server-12cR2-preinstall visudo ## Allow root to run any commands anywhere oracle ALL=(ALL) ALL ## Same thing without a password %dba ALL=(ALL) NOPASSWD: ALL vi /etc/hosts ## Make sure FQHN and Alias are in here, for both MT and DB 192.168.1.113 aemidbs04.localdomain aemidbs04 192.168.1.114 aemimts01.localdomain aemimts01 # OL6 and OL7, most packages will already be there yum install binutils -y yum install compat-libcap1 -y yum install compat-libstdc++-33 -y yum install compat-libstdc++-33.i686 -y yum install gcc -y yum install gcc-c++ -y yum install glibc -y yum install glibc.i686 -y yum install glibc-devel -y yum install glibc-devel.i686 -y yum install ksh -y yum install libgcc -y yum install libgcc.i686 -y yum install libstdc++ -y yum install libstdc++.i686 -y yum install libstdc++-devel -y yum install libstdc++-devel.i686 -y yum install libaio -y yum install libaio.i686 -y yum install libaio-devel -y yum install libaio-devel.i686 -y yum install libXext -y yum install libXext.i686 -y yum install libXtst -y yum install libXtst.i686 -y yum install libX11 -y yum install libX11.i686 -y yum install libXau -y yum install libXau.i686 -y yum install libxcb -y yum install libxcb.i686 -y yum install libXi -y yum install libXi.i686 -y yum install make -y yum install sysstat -y yum install unixODBC -y yum install unixODBC-devel -y mkdir -p /u01/app/oracle/product/12cDB mkdir -p /u05/oradata mkdir -p /u07/archive mkdir -p /u10/shiphome chown -R oracle:dba /u01 chown -R oracle:dba /u05 chown -R oracle:dba /u07 chown -R oracle:dba /u10 # Set Password for Oracle passwd oracle # Update 90-nproc.conf ... ref. MOS Note vi /etc/security/limits.d/90-nproc.conf # Change this * soft nproc 1024 # To this * - nproc 16384 # Change selinux vi /etc/selinux/config SELINUX=permissive # Run Setenforce setenforce Permissive # Turn off Firewall service iptables stop chkconfig iptables off as root xhost + <hostname.localdomain> vi /etc/oraInst.loc inventory_loc=/u01/app/oracle/product/oraInventory inst_group=oinstall as oracle download the oracle database software http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html to this location /u10/shiphome as oracle download the oracle database template for 13c http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/db-templates-2767916.html to this location /u10/shiphome as oracle cd /u10/shiphome cksum * unzip linuxamd64_12102_database_1of2.zip unzip linuxamd64_12102_database_2of2.zip as oracle DISPLAY=<hostname.localdomain>:0.0; export DISPLAY ./runInstaller
0 Comments
Leave a Reply. |
AuthorThere are some that call me Tim. Categories
All
Archives |