Linux 4安裝11R2 Client
1.修改核心引數
修改/etc/sysctl.conf檔案,加上如下列
kernel.shmmax = 2147483648
kernel.sem = 270 32000 100 128
fs.file-max=6915744
net.ipv4.tcp_rmem = 4096 4194304 4194304
net.ipv4.tcp_wmem = 98304 4194304 4194304
net.ipv4.tcp_mem = 98304 4194304 4194304
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 4194304
net.ipv4.tcp_window_scaling = 1
net.ipv4.ip_local_port_range = 9000 65500
[root@rhel132 ~]# sysctl -p
2.增加使用者和組
[root@rhel132 ~]# /usr/sbin/groupadd oinstall
[root@rhel132 ~]# /usr/sbin/groupadd dba
[root@rhel132 ~]# /usr/sbin/useradd -g oinstall -G dba oracle
[root@rhel132 ~]# passwd oracle
[root@rhel132 ~]# mkdir -p /u01/app/
[root@rhel132 ~]# chown -R oracle:oinstall /u01/app/
[root@rhel132 ~]# chmod -R 775 /u01/app/
[root@rhel132 ~]# su - oracle
[oracle@rhel132 ~]$ vi .bash_profile
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10201
ORACLE_SID=orcl
TNS_ADMIN=$ORACLE_HOME
PATH=$HOME/bin:$ORACLE_HOME/bin:$PATH:$ORACLE_HOME/OPatch
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH TNS_ADMIN
3.安裝缺少的包
[root@rhel132 11g_client_packages]# rpm -ivh libaio-devel-0.3.105-2.i386.rpm
warning: libaio-devel-0.3.105-2.i386.rpm: V3 DSA signature: NOKEY, key ID a7048f8d
Preparing... ########################################### [100%]
1:libaio-devel ########################################### [100%]
[root@rhel132 11g_client_packages]# rpm -ivh elfutils-libelf-devel-0.97.1-4.i386.rpm
warning: elfutils-libelf-devel-0.97.1-4.i386.rpm: V3 DSA signature: NOKEY, key ID a7048f8d
Preparing... ########################################### [100%]
1:elfutils-libelf-devel ########################################### [100%]
[root@rhel132 11g_client_packages]# rpm -ivh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
warning: unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm: V3 DSA signature: NOKEY, key ID a7048f8d
Preparing... ########################################### [100%]
1:unixODBC-devel ########################################### [100%]
其中有一個包的版本較低,在安裝新版本時也沒有成功,應該不會影響安裝。
[root@rhel132 11g_client_packages]# rpm -q glibc
glibc-2.3.4-2.36
Prerequisite Check時系統提示需要glibc-2.3.4-2.41
[root@rhel132 11g_client_packages]# rpm -ivh glibc-2.3.4-2.41.i386.rpm
warning: glibc-2.3.4-2.41.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
glibc-common = 2.3.4-2.41 is needed by glibc-2.3.4-2.41.i386
[root@rhel132 11g_client_packages]# rpm -ivh glibc-common-2.3.4-2.41.i386.rpm
warning: glibc-common-2.3.4-2.41.i386.rpm: V3 DSA signature: NOKEY, key ID 82fd17b2
Preparing... ########################################### [100%]
file /usr/bin/gencat from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/bin/getconf from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/bin/getent from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/bin/iconv from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/bin/lddlibc4 from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/bin/locale from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/bin/localedef from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/bin/rpcgen from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/bin/sprof from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/libexec/pt_chown from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/sbin/build-locale-archive from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/sbin/rpcinfo from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/sbin/zdump from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common-2.3.4-2.36
file /usr/sbin/zic from install of glibc-common-2.3.4-2.41 conflicts with file from package glibc-common
由於需要用sqlplus,所有在Installation Type 時選擇了Administrator,下面就一步步安裝就行了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271283/viewspace-1057737/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【[Oracle】-【安裝】-Cent OS安裝Oracle ClientOracleclient
- TSM之——CLIENT安裝配置client
- OpenStack Client 安裝及配置client
- MogDB stack之mgo-client安裝Goclient
- SUSE 11 NFS server/client 安裝配置NFSServerclient
- solaris下-silent方式安裝oracle clientOracleclient
- Netbackup For Oracle client安裝寶典Oracleclient
- mysql原碼安裝(server和client)MySqlServerclient
- 安裝Oracle 11g rac for linux as 4 update 4OracleLinux
- 在x86_64linux上安裝32-bit RDBMS Client softwareLinuxclient
- 關於NetBackup的Client端安裝client
- rhel4 mysql5.1_server_client安裝備紀MySqlServerclient
- Oracle:Windows10下安裝oracle client (win32_11gR2_client)OracleWindowsclientWin32
- LINUX AS4+ORACLE10G安裝記錄LinuxOracle
- 安裝和配置 ASP.NET 4(Arch Linux)ASP.NETLinux
- Oracle client安裝the jre is 0故障處理Oracleclient
- RochyLinux 8.6安裝Oracle19c ClientLinuxOracleclient
- 【Oracle】Windows安裝oracle11gR2 clientOracleWindowsclient
- 安裝Apache(RH Enterprise Linux AS4 U4)(轉)ApacheLinux
- vnc安裝步驟,4個在Linux下vnc的個安裝步驟VNCLinux
- Linux AS4平臺Oracle10g安裝LinuxOracle
- pex+linux redhat as4自動安裝薦LinuxRedhat
- win7 for 64位安裝oracle 10.2.0.4 clientWin7Oracleclient
- linux 安裝yum 安裝phpLinuxPHP
- Linux安裝解除安裝MySQLLinuxMySql
- 4.安裝MySQLMySql
- 4-kafka安裝Kafka
- 硬碟上安裝LINUX FC4全過程(轉)硬碟Linux
- linux中安裝JDK linux中安裝Tomcat linux中安裝Mysql 及故障解析 linux系統安裝redisLinuxJDKTomcatMySqlRedis
- 安裝networker備份軟體client on Solaris10client
- Oracle instant client在windows下的安裝和使用OracleclientWindows
- Oracle 10g client靜默安裝一例Oracle 10gclient
- 不用安裝Oracle_Client就能使用PLSQL_DeveloperOracleclientSQLDeveloper
- linux 解除安裝jdk和安裝LinuxJDK
- Linux下安裝、解除安裝mysqlLinuxMySql
- Linux 解除安裝openjdk 安裝oraclejdkLinuxJDKOracle
- linux下安裝snap安裝工具Linux
- .NET Framework 4 和 .NET Framework 4 Client ProfileFrameworkclient