Welcome 微信登录

首页 / 数据库 / MySQL / Oracle 11g在Linux6下安装及报错 C [ld-linux-x86-64.so.2+0x14d70]的解决方法

1.zip/unzip,tar#/*---------------------压缩举例
 
[root@instructor Share]# pwd
/var/Share
[root@instructor Share]# touch 1.txt 2.txt
 
-----------------1.zip压缩
[root@instructor Share]# zip txt1.zip *.txt
  adding: 1.txt (stored 0%)
  adding: 2.txt (stored 0%)
[root@instructor Share]# mkdir text
[root@instructor Share]# rm -rf txt1.zip
[root@instructor Share]# zip txt1.zip *.txt -C text
 
-------------2.zip压缩的指定目录
 
[root@instructor Share]# zip  text/txt1.zip *.txt
  adding: 1.txt (stored 0%)
  adding: 2.txt (stored 0%)
 
[root@instructor Share]# cd text
[root@instructor text]# ls
txt1.zip
------------------------------
[root@instructor text]# cd ..
[root@instructor Share]# pwd
/var/Share
[root@instructor Share]# ls
1.txt  apache-tomcat-6.0.14      database  jdk1.6.0_27           linux.x64_11gR2_database_1of2.zip  text
2.txt  apache-tomcat-6.0.14.zip  javacord  jdk-6u27-linux-x64.bin  linux.x64_11gR2_database_2of2.zip
[root@instructor Share]# rm -rf 1.txt 2.txt
[root@instructor Share]# ls
apache-tomcat-6.0.14      database  jdk1.6.0_27           linux.x64_11gR2_database_1of2.zip  text
apache-tomcat-6.0.14.zip  javacord  jdk-6u27-linux-x64.bin  linux.x64_11gR2_database_2of2.zip
----------------------3.unzip 解压至指定目录[root@instructor Share]# ls
apache-tomcat-6.0.14      database  jdk1.6.0_27           linux.x64_11gR2_database_1of2.zip  text
apache-tomcat-6.0.14.zip  javacord  jdk-6u27-linux-x64.bin  linux.x64_11gR2_database_2of2.zip
[root@instructor Share]# unzip text/txt1.zip  -d /var/Share/
Archive:  text/txt1.zip
extracting: /var/Share/1.txt       
extracting: /var/Share/2.txt       
 
-------------------4.tar压缩,解压
 
[root@instructor Share]# tar -cvf text/txt.tar *.txt#指定压缩目录
1.txt
2.txt
[root@instructor Share]# tar -tvf text/txt.tar *.txt
-rw-r--r-- root/root       0 2012-10-21 17:23 1.txt
-rw-r--r-- root/root       0 2012-10-21 17:23 2.txt
[root@instructor Share]# rm -rf *.txt
[root@instructor Share]# ls
apache-tomcat-6.0.14      database  jdk1.6.0_27           linux.x64_11gR2_database_1of2.zip  text
apache-tomcat-6.0.14.zip  javacord  jdk-6u27-linux-x64.bin  linux.x64_11gR2_database_2of2.zip
[root@instructor Share]# tar -xvf text/txt.tar -C text#指定解压目录
1.txt
2.txt
[root@instructor Share]# cd text
[root@instructor text]# ls
1.txt  2.txt  txt1.zip  txt.tar
 
 
4.Oracle安装
  -------------------------------1.yum安装依赖包
 
[root@instructor yum.repos.d]# yum install binutils
[root@instructor ~]# yum install compat-libstdc*
[root@instructor yum.repos.d]# yum install elfutils-libelf-devel
[root@instructor ~]# yum install glibc
[root@instructor ~]# yum install glibc-common
[root@instructor ~]# yum install glibc-devel
[root@instructor ~]# yum install gcc-
[root@instructor ~]# yum install gcc-c++
[root@instructor ~]# yum install libaio-devel
[root@instructor ~]# yum install libaio
[root@instructor ~]# yum install libgcc
[root@instructor ~]# yum install libstdc++
[root@instructor ~]# yum install libstdc++-devel
[root@instructor ~]# yum install make
[root@instructor ~]# yum install sysstat
[root@instructor ~]# yum install unixODBC
[root@instructor ~]# yum install unixODBC-devel
 
------------------------------------------------------------
 
-------------------------------2.内核参数修改
 
root@instructor ~]# vi /etc/sysctl.conf
 
#oracle conf
#共享内存
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmin = 4096
#互斥量
kernel.sem = 250 32000 100 128
#最大同时打开文件数
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
#net.core.rmen_default = 4194304
#net.core.rmen_max = 4194304
#net.core.wmen_default = 2621144
#net.core.wmen_max = 2621144
 
[root@instructor ~]# /sbin/sysctl –p
 
#---------------内核参数生效命令
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 下一页
ORA-01031:insufficient privileges,ORA-01925: maximum of 30 enabled roles exceOracle 修改 MEMORY_TARGET相关资讯      Oracle 11g 
  • Oracle 11g导入到10g引起的错误  (11/16/2015 10:55:27)
  • Oracle 11g 导库导不出空表问题  (08/19/2015 19:55:58)
  • Oracle 11g统计信息收集--多列统计  (07/24/2015 10:32:39)
  • Oracle 11gClone安装方法  (08/24/2015 20:25:41)
  • Oracle 11g中和SQL TUNING相关的新  (08/12/2015 11:22:52)
  • Oracle 11g数据泵详解  (07/08/2015 08:29:51)
本文评论 查看全部评论 (0)
表情: 姓名: 字数