手机版
你好,游客 登录 注册
背景:
阅读新闻

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

[日期:2012-11-09] 来源:Linux社区  作者:cswggod [字体:大 中 小]

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
 
#---------------内核参数生效命令

linux
相关资讯       Oracle 11g 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款