Install oracle client on linux graphical interface

1. Add or modify the following lines in the "/etc/sysctl.conf" file:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core . wmem_max=1048586


2. Run the following command to change the current kernel parameters
/sbin/sysctl -p


3. Add the following lines in the "/etc/security/limits.conf" file
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
4. If the "/etc/pam.d/login" file does not exist, add the following line
session required pam_limits.so
5. Turn off the firewall 6.
Disable SELinux Edit /etc/selinux/config file, and ensure that the SELinux flag is set as follows
SELINUX=disabled


7. Install the missing dependency packages
yum install binutils
yum install compat-libstdc++-33   
yum install compat-libstdc++-33.i686  
yum install gcc
yum install gcc-c++
yum install glibc
yum install glibc.i686
yum install glibc-common
yum install glibc-devel
yum install glibc-devel.i686
yum install glibc-headers   


yum install libaio
yum install libaio.i686
yum install libaio-devel
yum install libaio-devel.i686
yum install libgcc
yum install libgcc.i686
yum install libstdc++
yum install libstdc++.i686
yum install libstdc++-devel
yum install make
yum install numactl-de vel
yum install sysstat
yum install unixODBC
yum install unixODBC.i686
yum install unixODBC-devel
yum install unixODBC-devel.i686 
Finally, if there is a prompt during the installation process: pdksh-5.2.14 is not missing, install pdksh-5.2.14-37.el5_8.1. During the process of installing the i386.rpm package, it was found that this package conflicts with the ksh package. I uninstalled the ksh package (sudo rpm -ivh ksh), and then installed the pdksh-5.2.14-37.el5_8.1.i386.rpm package. The installation was normal. conduct.
       If you chose full installation when installing Fedora, then most of the software packages that Oracle depends on have already been installed. The only ones that need to be installed are the following packages. If there are still missing packages during the pre-installation check of Oracle, you can yum installation, if it is not in the source, you can search on websites such as rpmfind.net, download the rpm package and install it yourself (a good place to find the rpm package download: http://rpm.pbone.net/) Code: yum install


             binutils
          yum install libaio libaio-devel


           yum install sysstat
            yum install unixODBC unixODBC-devel

            yum install compat-libstdc++-33


Note: Each system lacks different dependent libraries.


Guess you like

Origin blog.csdn.net/yinzhiqing/article/details/52411721