最低配置: 1 GB of RAM 推薦配置: 2 GB of RAM or more 確定內存大小,輸入下面的命令:grep MemTotal /proc/meminfo 確定系統(tǒng)版本,輸入下面的命令:uname –m 確定交換空間的大小,輸入下面的命令:grep SwapTotal /proc/meminfo 確定可用的內存和交換空間,輸入下面的命令:free |
數(shù)據(jù)庫軟件 | 數(shù)據(jù)庫軟件需要的大小 |
企業(yè)版 | 4.7G |
標準版 | 4.6G |
數(shù)據(jù)庫文件 | 數(shù)據(jù)庫文件需要的大小 |
企業(yè)版 | 1.7G |
標準版 | 1.5G |
■ Asianux Server 3 SP2 ■ Asianux Server 4 SP3 ■ Oracle Linux 4 Update 7 ■ Oracle Linux 5 Update 2 (with Red Hat Compatible Kernel) ■ Oracle Linux 5 Update 5 ■ Oracle Linux 6 ■ Oracle Linux 6 (with Red Hat Compatible Kernel) ■ Oracle Linux 7 ■ Oracle Linux 7 (with the Red Hat Compatible Kernel) ■ Red Hat Enterprise Linux 4 Update 7 ■ Red Hat Enterprise Linux 5 Update 2 ■ Red Hat Enterprise Linux 6 ■ Red Hat Enterprise Linux 7 ■ SUSE Linux Enterprise Server 10 SP2 ■ SUSE Linux Enterprise Server 11 |
■ On Oracle Linux 4 and Red Hat Enterprise Linux 4 2.6.9 or later ■ On Oracle Linux 5 Update 2 with Red Hat Compatible Kernel 2.6.18 or later ■ On Oracle Linux 5 Update 5 with Red Hat Compatible Kernel 2.6.18 or later ■ On Oracle Linux 5 Update 5 with Unbreakable Enterprise Kernel 2.6.32-100.0.19 or later ■ On Oracle Linux 6 2.6.32-100.28.5.el6.x86_64 or later ■ On Oracle Linux 6 with Red Hat Compatible Kernel 2.6.32-71.el6.x86_64 or later ■ On Oracle Linux 7 3.8.13-33.el7uek.x86_64 or later ■ On Oracle Linux 7 with Red Hat Compatible Kernel 3.10.0-54.0.1.el7.x86_64 or later ■ On Red Hat Enterprise Linux 5 Update 2 2.6.18 or later ■ On Red Hat Enterprise Linux 5 Update 5 2.6.18 or later ■ On Red Hat Enterprise Linux 6 2.6.32-71.el6.x86_64 or later ■ On Red Hat Enterprise Linux 7 3.10.0-54.0.1.el7.x86_64 or later ■ On Asianux Server 3 2.6.18 or later ■ On Asianux Server 4 2.6.32-71.el6.x86_64 or later ■ On SUSE Linux Enterprise Server 10 2.6.16.21 or later ■ On SUSE Linux Enterprise Server 11 2.6.27.19 or later |
確定所需的內核安裝,輸入下面的命令:uname –r
binutils-2.15.92.0.2 compat-libstdc++-33-3.2.3 compat-libstdc++-33-3.2.3 (32 bit) elfutils-libelf-0.97 elfutils-libelf-devel-0.97 expat-1.95.7 gcc-3.4.6 gcc-c++-3.4.6 glibc-2.3.4-2.41 glibc-2.3.4-2.41 (32 bit) glibc-common-2.3.4 glibc-devel-2.3.4 glibc-headers-2.3.4 libaio-0.3.105 libaio-0.3.105 (32 bit) libaio-devel-0.3.105 libaio-devel-0.3.105 (32 bit) libgcc-3.4.6 libgcc-3.4.6 (32-bit) libstdc++-3.4.6 libstdc++-3.4.6 (32 bit) libstdc++-devel 3.4.6 make-3.80 numactl-0.6.4.x86_64 pdksh-5.2.14 sysstat-5.0.5 |
binutils-2.17.50.0.6 compat-libstdc++-33-3.2.3 compat-libstdc++-33-3.2.3 (32 bit) coreutils-5.97-23.el5_4.1 elfutils-libelf-0.125 elfutils-libelf-devel-0.125 gcc-4.1.2 gcc-c++-4.1.2 glibc-2.5-24 glibc-2.5-24 (32 bit) glibc-common-2.5 glibc-devel-2.5 glibc-devel-2.5 (32 bit) glibc-headers-2.5 ksh-20060214 libaio-0.3.106 libaio-0.3.106 (32 bit) libaio-devel-0.3.106 libaio-devel-0.3.106 (32 bit) libgcc-4.1.2 libgcc-4.1.2 (32 bit) libstdc++-4.1.2 libstdc++-4.1.2 (32 bit) libstdc++-devel 4.1.2 make-3.81 sysstat-7.0.2 |
binutils-2.20.51.0.2-5.11.el6 (x86_64) compat-libcap1-1.10-1 (x86_64) compat-libstdc++-33-3.2.3-69.el6 (x86_64) compat-libstdc++-33-3.2.3-69.el6.i686 gcc-4.4.4-13.el6 (x86_64) gcc-c++-4.4.4-13.el6 (x86_64) glibc-2.12-1.7.el6 (i686) glibc-2.12-1.7.el6 (x86_64) glibc-devel-2.12-1.7.el6 (x86_64) glibc-devel-2.12-1.7.el6.i686 ksh libgcc-4.4.4-13.el6 (i686) libgcc-4.4.4-13.el6 (x86_64) libstdc++-4.4.4-13.el6 (x86_64) libstdc++-4.4.4-13.el6.i686 libstdc++-devel-4.4.4-13.el6 (x86_64) libstdc++-devel-4.4.4-13.el6.i686 libaio-0.3.107-10.el6 (x86_64) libaio-0.3.107-10.el6.i686 libaio-devel-0.3.107-10.el6 (x86_64) libaio-devel-0.3.107-10.el6.i686 make-3.81-19.el6 sysstat-9.0.4-11.el6 (x86_64) |
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 |
binutils-2.16.91.0.5 compat-libstdc++-5.0.7 gcc-4.1.0 gcc-c++-4.1.2 glibc-2.4-31.63 glibc-devel-2.4-31.63 glibc-devel-32bit-2.4-31.63 ksh-93r-12.9 libaio-0.3.104 libaio-32bit-0.3.104 libaio-devel-0.3.104 libaio-devel-32bit-0.3.104 libelf-0.8.5 libgcc-4.1.2 libstdc++-4.1.2 libstdc++-devel-4.1.2 make-3.80 numactl-0.9.6.x86_64 sysstat-8.0.4 |
binutils-2.19 gcc-4.3 gcc-32bit-4.3 gcc-c++-4.3 glibc-2.9 glibc-32bit-2.9 glibc-devel-2.9 glibc-devel-32bit-2.9 ksh-93t libaio-0.3.104 libaio-32bit-0.3.104 libaio-devel-0.3.104 libaio-devel-32bit-0.3.104 libstdc++33-3.3.3 libstdc++33-32bit-3.3.3 libstdc++43-4.3.3_20081022 libstdc++43-32bit-4.3.3_20081022 libstdc++43-devel-4.3.3_20081022 libstdc++43-devel-32bit-4.3.3_20081022 libgcc43-4.3.3_20081022 libstdc++-devel-4.3 make-3.81 sysstat-8.1.5 |
確定所需的安裝包, 輸入下面的命令: rpm -q package_name
4.1 創(chuàng)建Oracle Inventory組:/usr/sbin/groupadd oinstall 4.2 創(chuàng)建OSDBA組:/usr/sbin/groupadd dba 4.3 創(chuàng)建OSASM組: /usr/sbin/groupadd asmadmin 4.4 創(chuàng)建OSDBA組: /usr/sbin/groupadd asmdba 4.5 創(chuàng)建軟件用戶:/usr/sbin/useradd -g oinstall -G dba asmdba oracle 4.6 創(chuàng)建用戶密碼:passwd oracle |
Vim /etc/sysctl.conf //添加或者編輯
fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 536870912 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.tcp_wmen = 262144 262144 262144 net.ipv4.tcp_rmen = 4194304 4194304 4194304 |
命令:/sbin/sysctl –p //參數(shù)生效
命令:/sbin/sysctl –a //檢測參數(shù)。
Vim /etc/security/limits.conf
oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240 oracle hard stack 32768 |
session required pam_limits.so
6.1 mkdir -p /u01/app/oracle 6.2 chown -R oracle:oinstall /u01/app/ 6.3 chmod -R 775 /u01/app/ |
7.1 mkdir /mount_point/oradata 7.2 chown oracle:oinstall /mount_point/oradata 7.3 chmod 775 /mount_point/oradata |
8.1 mkdir /mount_point/fast_recovery_area 8.2 chown oracle:oinstall /mount_point/fast_recovery_area 8.3 chmod 775 /mount_point/fast_recovery_area |
9.1 su – oracle
9.2 vi .bash_profile
umask 022 export TMP=/mount_point/tmp export TMPDIR=/mount_point/tmp export ORACLE_BASE=/u01/app/oracle export ORACLE_SID=orcle export ORACLE_HOME=/u01/app/oracle/ product/11.2.0/db_1 export PATH=$ORACLE_HOME/bin/PATH |
另外有需要云服務器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。
文章題目:Linux下安裝oracle11g數(shù)據(jù)庫(一)-創(chuàng)新互聯(lián)
分享地址:http://jinyejixie.com/article44/cesehe.html
成都網站建設公司_創(chuàng)新互聯(lián),為您提供響應式網站、網站建設、網站維護、企業(yè)建站、域名注冊、自適應網站
聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)