Oracle 11g在Linux6下安装及报错 C [ld-linux-x86-64.so.2+

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

相关推荐