1. Check the system version number:
uname-a
Linux node2 3.10.0-123.el7.x86_64 #1 SMP Mon June 12:09:22 UTC x86_64 x86_64 x86_64 gnu/linux
Cat/etc/redhat-release
#CentOS Linux release 7.0.1406 (Core) Comment out the previous version number
Redhat-7 manually added
2. Create users and Groups
Groupadd Oinstall
Groupadd dba
USERADD-G oinstall-g dba-m Oracle
passwd Oracle
Create home directories, data catalogs, and dictionary directories and authorize
mkdir-p/01/app/oracle/oraclebase
Mkdir/01/app/oracle/oralnventory
Chown-r oracle.oinstall/01/app/oracle/oraclebase/
Chown-r oracle.oinstall/01/app/oracle/oralnventory/
3. Modify the System kernel
cat/etc/sysctl.conf
Net.ipv4.icmp_echo_ignore_broadcasts = 1
Net.ipv4.conf.all.rp_filter = 1
Fs.file-max = 6815744 #设置最大打开文件数
FS.AIO-MAX-NR = 1048576
Kernel.shmall = 2097152 #共享内存的总量, 8G memory setting: 2097152*4k/1024/1024
Kernel.shmmax = 2147483648 #最大共享内存的段大小
Kernel.shmmni = 4096 #整个系统共享内存端的最大数
Kernel.sem = 250 32000 100 128
Net.ipv4.ip_local_port_range = 9000 65500 #可使用的IPv4端口范围
Net.core.rmem_default = 262144
net.core.rmem_max= 4194304
net.core.wmem_default= 262144
net.core.wmem_max= 1048576
Save exit Execute the following command in effect
sysctl-p
4. Limit the number of open files to Oracle user settings
vim +/etc/security/limits.conf Add the following command to the last line of the file
Oracle soft nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofie 65535
5. Modify User Environment variables
vim +/home/oracle/.bash_profile
Export oracle_base=/01/app/oracle/#oracle Database installation directory
Export Oracle_home= $ORACLE _base/product/11.2.0/db_1 #oracle数据库路径
Export ORACLE_SID=ORCL #oracle Start DB instance Name
Export Oracle_term=xterm #xterm Window mode installation
Export path= $ORACLE _home/bin:/usr/sbin: $PATH #添加系统环境变量
Export ld_library_path= $ORACLE _home/lib:/lib:/usr/lib #添加系统环境变量
Export #防止安装过程乱码
Export Nls_lang=american_america. ZHS4GBK #设置oracle客户端字符集 must be consistent with the set of character sets at Oracle installation.
Keep exiting after executing the following command:
Source/home/oracle/.bash_profile Immediate effect
6. Detecting Dependent Packages
Binutils-2.23.52.0.1-12.el7.x86_64
Compat-libcap1-1.10-3.el7.x86_64
Gcc-4.8.2-3.el7.x86_64 gcc-c++-4.8.2-3.el7.x86_64
glibc -2.17-36 . el7.i686 glibc -2.17-36 . el7.x86_64
glibc -devel-2.17-36 . el7.i686 glibc -devel-2.17-36 . el7.x86_64
Ksh
Libaio -0.3.109-9 . el7.i686 Libaio -0.3.109-9 . el7.x86_64
Libaio -devel-0.3.109-9 . el7.i686
Libaio -devel-0.3.109-9 . el7.x86_64
LIBGCC -4.8.2-3 . el7.i686 LIBGCC -4.8.2-3 . el7.x86_64
LIBSTDC ++-4.8.2-3 . el7.i686
LIBSTDC ++-4.8.2-3 . el7.x86_64
LIBSTDC ++-devel-4.8.2-3 . el7.i686
LIBSTDC ++-devel-4.8.2-3 . el7.x86_64
Libxi -1.7.2-1 . el7.i686 Libxi -1.7.2-1 . el7.x86_64
libxtst -1.2.2-1 . el7.i686
libxtst -1.2.2-1 . el7.x86_64
Make -3.82-19 . el7.x86_64
Sysstat -10.1.5-1.el7.x86_64
Install the required packages
Yum install gcc* gcc-* gcc-c++-* glibc-devel-* glibc-headers-* compat-libstdc* libstdc* elfutils-libelf-devel* libaio-devel* sysstat* unixodbc-* pdksh-* binutils-y
Export display=192.168.1.234:0.0 Output screen
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/75/06/wKiom1YwlfLz45X_AAJdxamSYjw899.jpg "style=" float: none; "title=" Image001.png "alt=" Wkiom1ywlflz45x_aajdxamsyjw899.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/75/03/wKioL1Ywliax_dblAALES1cwXOc879.gif "style=" float: none; "title=" Image002.gif "alt=" Wkiol1ywliax_dblaales1cwxoc879.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/75/06/wKiom1YwlfKCcyVQAAHq8OaPFjQ358.jpg "style=" float: none; "title=" Image003.png "alt=" Wkiom1ywlfkccyvqaahq8oapfjq358.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/75/03/wKioL1Ywliej9mL_AAKeN1f_jTg695.gif "style=" float: none; "title=" Image004.gif "alt=" Wkiol1ywliej9ml_aaken1f_jtg695.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/06/wKiom1YwlfOi8IHoAAHq-3KBEgc898.jpg "style=" float: none; "title=" Image005.png "alt=" Wkiom1ywlfoi8ihoaahq-3kbegc898.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/75/03/wKioL1YwlifTUmbOAAJUeC1j9qs918.gif "style=" float: none; "title=" Image006.gif "alt=" Wkiol1ywliftumboaajuec1j9qs918.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/75/03/wKioL1YwlijS31oIAAKJxNskaxo362.jpg "style=" float: none; "title=" Image007.png "alt=" Wkiol1ywlijs31oiaakjxnskaxo362.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/75/06/wKiom1YwlfPQ4nJLAAHc1AqPStg626.gif "style=" float: none; "title=" Image008.gif "alt=" Wkiom1ywlfpq4njlaahc1aqpstg626.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/06/wKiom1YwlfPgFRfzAALubFlLQt8506.jpg "style=" float: none; "title=" Image009.png "alt=" Wkiom1ywlfpgfrfzaalubfllqt8506.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/75/03/wKioL1YwlijCY5ZCAAL945FeqN8224.gif "style=" float: none; "title=" Image010.gif "alt=" Wkiol1ywlijcy5zcaal945feqn8224.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/75/03/wKioL1YwlijSdaN3AAKTvh9iCLk665.jpg "style=" float: none; "title=" Image011.png "alt=" Wkiol1ywlijsdan3aaktvh9iclk665.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/75/06/wKiom1YwlfSyKQ0ZAALDGYULU1o374.gif "style=" float: none; "title=" Image012.gif "alt=" Wkiom1ywlfsykq0zaaldgyulu1o374.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/03/wKioL1Ywlimg20EfAAKhYOYXof4441.jpg "style=" float: none; "title=" Image013.png "alt=" Wkiol1ywlimg20efaakhyoyxof4441.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/75/06/wKiom1YwlfXhpoc3AALaP9CJOUU214.gif "style=" float: none; "title=" Image014.gif "alt=" Wkiom1ywlfxhpoc3aalap9cjouu214.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/75/06/wKiom1YwlfXDsZuGAAKVE6ucqCk337.jpg "style=" float: none; "title=" Image015.png "alt=" Wkiom1ywlfxdszugaakve6ucqck337.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/75/03/wKioL1YwlinBKtWjAALlS1X7gRg493.gif "style=" float: none; "title=" Image016.gif "alt=" Wkiol1ywlinbktwjaalls1x7grg493.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/75/06/wKiom1YwlfXwyVMoAANFVPeakwM227.jpg "style=" float: none; "title=" Image017.png "alt=" Wkiom1ywlfxwyvmoaanfvpeakwm227.jpg "/>
Because 64 of the packages are installed, installing the I386 package again will make an error, but using the RPM--force option to force the installation can be Linux learning, HTTP .//linux.it.net.cn
# rpm -ivh --force libaio-0.3.106-5.i386.rpm # rpm -ivh --force compat-libstdc++-33-3.2.3-61.i386.rpm # rpm -ivh --force libaio-devel-0.3.106-5.i386.rpm # rpm -ivh -- force libgcc-4.1.2-52.el5.i386.rpm # rpm -ivh --force pdksh-5.2.14-37.el5.x86_64.rpm # rpm -ivh --force unixodbc-libs-2.2.11-10.el5.i386.rpm # rpm -ivh --force unixodbc-2.2.11-10.el5.i386.rpm # rpm -ivh --force libstdc++-4.1.2-52. el5.i386.rpm # rpm -ivh --force unixodbc-devel-2.2.11-10.el5.i386.rpm |
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/75/03/wKioL1YwlirADcCOAAIZ1l46h0k051.gif "style=" float: none; "title=" Image018.gif "alt=" Wkiol1ywliradccoaaiz1l46h0k051.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/06/wKiom1YwlfawWH_lAALVeh5XBKQ550.jpg "style=" float: none; "title=" Image019.png "alt=" Wkiom1ywlfawwh_laalveh5xbkq550.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/75/03/wKioL1YwlirRfyn8AAIwPJsfzPs977.gif "style=" float: none; "title=" Image020.gif "alt=" Wkiol1ywlirrfyn8aaiwpjsfzps977.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/75/06/wKiom1YwlfbAyzd8AANBKmYgIPo032.jpg "style=" float: none; "title=" Image021.png "alt=" Wkiom1ywlfbayzd8aanbkmygipo032.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/75/03/wKioL1YwliujnSTRAAJy37Ayt3E854.gif "style=" float: none; "title=" Image022.gif "alt=" Wkiol1ywliujnstraajy37ayt3e854.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/75/06/wKiom1YwlfbhnZBNAANIxGjQk_Y897.jpg "style=" float: none; "title=" Image023.png "alt=" Wkiom1ywlfbhnzbnaanixgjqk_y897.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/75/03/wKioL1YwliviTeuSAAMM3NkzPl4118.gif "style=" float: none; "title=" Image024.gif "alt=" Wkiol1ywliviteusaamm3nkzpl4118.gif "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/06/wKiom1YwlfniECXOAAG49SrmnJ0031.jpg "style=" float: none; "title=" Image026.png "alt=" Wkiom1ywlfniecxoaag49srmnj0031.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/75/03/wKioL1Ywli2DPoEnAAIynZpTrdM508.gif "style=" float: none; "title=" Image027.gif "alt=" Wkiol1ywli2dpoenaaiynzptrdm508.gif "/>
This article is from the "on the Road" blog, please be sure to keep this source http://zailushang.blog.51cto.com/1199537/1707376
CENTOS7 Installing Oracle 11G