<del id="d4fwx"><form id="d4fwx"></form></del>
      <del id="d4fwx"><form id="d4fwx"></form></del><del id="d4fwx"><form id="d4fwx"></form></del>

            <code id="d4fwx"><abbr id="d4fwx"></abbr></code>
          • redhat6.4簡易安裝oracle12C-創(chuàng)新互聯(lián)

            這里只是把安裝用到的三個腳本貼出來,詳細(xì)安裝文檔請下載附件

            創(chuàng)新互聯(lián)建站服務(wù)項目包括英山網(wǎng)站建設(shè)、英山網(wǎng)站制作、英山網(wǎng)頁制作以及英山網(wǎng)絡(luò)營銷策劃等。多年來,我們專注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢、行業(yè)經(jīng)驗、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機(jī)構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,英山網(wǎng)站推廣取得了明顯的社會效益與經(jīng)濟(jì)效益。目前,我們服務(wù)的客戶以成都為中心已經(jīng)輻射到英山省份的部分城市,未來相信會繼續(xù)擴(kuò)大服務(wù)區(qū)域并繼續(xù)獲得客戶的支持與信任!

            service_close.sh

             說明:安裝好系統(tǒng)后關(guān)閉不必須的服務(wù)

            #!/bin/bash
            #description :the script is used to close some unnecessary services
            #by lineqi
            #2014-06-28
            chkconfig --level 2345 NetworkManager off
            service NetworkManager stop

            chkconfig --level 2345 cups off
            service cups stop

            chkconfig --level 2345 ip6tables off
            service ip6tables stop

            chkconfig --level 345 netfs off
            service netfs stop

            chkconfig --level 345 nfslock off
            service nfslock stop

            chkconfig --level 2345 postfix off
            service postfix stop

            chkconfig --level 2345 iptables off
            service iptables stop

            set_userinfo.sh

            說明:設(shè)置oracle用戶信息及安裝目錄

            #!/bin/bash
            #description:this script used to create a oracle groups user user environment settings the installation directory
            #by lineqi
            #2014-07-26

            #Add oracle groups
            groupadd -g 501 oinstall
            groupadd -g 502 dba
            groupadd -g 503 oper

            #Add oracle user and Seting a oracle user password
            useradd -u 502 -g oinstall -G dba,oper oracle;echo "oracle"|passwd --stdin oracle

            #Seting a oracle user password
            #passwd oracle<<EOF
            #oracle
            #oracle
            #EOF

            #mkdir the oracle installation directory
            mkdir -p /u01/app/oracle
            mkdir -p /u01/app/oraInventory
            chmod -R 777 /u01/app
            chown -R oracle:oinstall /u01/app/

            #Add the following content to /home/oracle/.bash_profile
            cat>>/home/oracle/.bash_profile<<EOF
            export ORACLE_SID=orcl
            export ORACLE_BASE=/u01/app/oracle
            export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
            export PATH=\$ORACLE_HOME/bin:.:\$PATH
            export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
            export ORACLE_UNQNAME=orcl
            EOF
            su - oracle -c ". .bash_profile"

            set_para.sh

            說明:設(shè)置安裝oracle時所需要的參數(shù)

            #!/bin/bash
            #description:this script is used to set the oracle installation environment parameters
            #by lineqi
            #2014-07-26

            #Add the following contents to /etc/security/limits.conf

            cat>>/etc/security/limits.conf<<EOF
            #for oracle
            oracle          soft   nproc          2047
            oracle          hard   nproc          16384
            oracle          soft   nofile         1024
            oracle          hard   nofile         65536
            oracle          soft   stack          10240
            oracle          hard   stack          10240
            EOF
            sleep 2

            #Add the following contents to /etc/pam.d/login

            cat>>/etc/pam.d/login<<EOF
            # for oracle
            session   required    pam_limits.so
            EOF

            sleep 1

            #Add the following contents to /etc/sysctl.conf

            cat>>/etc/sysctl.conf<<EOF
            # for oracle
            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
            fs.aio-max-nr = 1048576
            fs.file-max = 6815744
            EOF
            sysctl -p >>/dev/null 2>&1

            #Add the following contents to /etc/profile

            cat>>/etc/profile<<EOF
            # for oracle
            if [ \$USER = "oracle" ]; then
            if [ \$SHELL = "/bin/ksh" ]; then
            ulimit -p 16384
            ulimit -n 65536
            else
            ulimit -u 16384 -n 65536
            fi
            umask 022
            fi
            EOF

            #Replace the following contents to /etc/selinux/config
            sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" `grep SELINUX=enforcing -rl /etc/selinux/config`

            附件:http://down.51cto.com/data/2364856

            另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

            本文標(biāo)題:redhat6.4簡易安裝oracle12C-創(chuàng)新互聯(lián)
            地址分享:http://www.jbt999.com/article0/ceedio.html

            成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供外貿(mào)建站企業(yè)建站、手機(jī)網(wǎng)站建設(shè)網(wǎng)站策劃、建站公司、營銷型網(wǎng)站建設(shè)

            廣告

            聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:[email protected]。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

            成都app開發(fā)公司

              <del id="d4fwx"><form id="d4fwx"></form></del>
              <del id="d4fwx"><form id="d4fwx"></form></del><del id="d4fwx"><form id="d4fwx"></form></del>

                    <code id="d4fwx"><abbr id="d4fwx"></abbr></code>
                  • 婷婷导航 | 韩日精品在线 | 北条麻妃99精品青青久久 | 午夜国产无码在线视频 | 内射视频在线观看国产 |