欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

RedHat5.5安裝oracle10G-創(chuàng)新互聯(lián)

  一.學(xué)習(xí)的東西越多,越需要整理,于是就有誕生了該博客。作為第一篇博客,必須是oracle了,因?yàn)槲乙鯠BA。廢話不多說(shuō),搞起。

我們提供的服務(wù)有:網(wǎng)站建設(shè)、成都做網(wǎng)站、微信公眾號(hào)開(kāi)發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認(rèn)證、羅田ssl等。為成百上千家企事業(yè)單位解決了網(wǎng)站和推廣的問(wèn)題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的羅田網(wǎng)站制作公司

  二.準(zhǔn)備工作:10201_database_linux32.zip.

       libXp-1.0.0-8.1.el5.i386.rpm(該包在鏡像里有)

  三.按照公司的需求,做的配置:

1.調(diào)整內(nèi)核參數(shù)和安裝rpm包:

root登錄,在X-Windows下執(zhí)行xhost + (設(shè)置Xserver訪問(wèn)權(quán)限)

echo 400000000 > /proc/sys/kernel/shmmax

source /etc/profile 

rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm

2.創(chuàng)建DBA組和Oracle用戶:

groupadd dba

useradd oracle –g dba

passwd oracle

mkdir –p /home/oracle/product/1020

chown oracle.dba /home/oracle/product/1020

mkdir -p /home/oracle/tmp

chown oracle.dba /home/oracle/tmp

3.登錄oracle,設(shè)置oracle環(huán)境變量 (以后變量在/etc/profile也要添加)

登陸oracle使用命令:su - oracle

vi .bash_profile

export ORACLE_BASE=/home/oracle

export ORACLE_HOME=/home/oracle/product/1020

export ORACLE_SID=orcl

export LD_LIBRARY_PATH=/lib:/usr/lib:$ORACLE_HOME/lib

export PATH=$PATH:$ORACLE_HOME/bin

export TMPDIR=/home/oracle/tmp

export NLS_LANG=AMERICAN_AMERICA.UTF8

export LANG=en_us.utf8

4.把10201_database_linux32.zip復(fù)制到/home/oracle目錄中,并解壓。(以下操作因?yàn)樾枰獔D形化操作,需在服務(wù)器端執(zhí)行)

復(fù)制時(shí)使用命令: cp  10201_database_linux32.zip  /home/oracle

解壓時(shí)使用命令: unzip 10201_database_linux32.zip

登錄oracle:su – oracle

cd database

[oracle@localhost database]$ ./runInstaller

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2

                   Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2014-11-21_12-31-14AM/installActions2014-11-21_12-31-14AM.log

出錯(cuò)了:oracle只支持AS4以下的系統(tǒng),修改配置文件如下即可

vi /etc/redhat-release

Red Hat Enterprise Linux Server release 4 (Tikanga)

5.繼續(xù)安裝即可成功。安裝比較簡(jiǎn)單,內(nèi)核也沒(méi)優(yōu)化,后續(xù)還會(huì)有更詳細(xì)的oracle安裝記錄。

Red Hat 5.5安裝oracle 10G

Red Hat 5.5安裝oracle 10G

這一步需要用root用戶執(zhí)行該腳本:

[root@localhost oracle]# /home/oracle/oraInventory/orainstRoot.sh

Changing permissions of /home/oracle/oraInventory to 770.

Changing groupname of /home/oracle/oraInventory to oracle.

The execution of the script is complete

[root@localhost oracle]# /home/oracle/product/1020/root.sh

Running Oracle10 root.sh script...

The following environment variables are set as:

  ORACLE_OWNER= oracle

  ORACLE_HOME=  /home/oracle/product/1020

Enter the full pathname of the local bin directory: [/usr/local/bin]:

  Copying dbhome to /usr/local/bin ...

  Copying oraenv to /usr/local/bin ...

  Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

Red Hat 5.5安裝oracle 10G

四.下面是我第一次安裝出現(xiàn)的錯(cuò)誤:

  1. 如果有這個(gè)錯(cuò)誤,就是libXp-1.0.0-8.1.el5.i386.rpm包沒(méi)安裝。

[oracle@localhost database]$ ./runInstaller

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2

                   Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-11-21_12-31-50AM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-11-21_12-31-50AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory

    at java.lang.ClassLoader$NativeLibrary.load(Native Method)

    at java.lang.ClassLoader.loadLibrary0(Unknown Source)

    at java.lang.ClassLoader.loadLibrary(Unknown Source)

    at java.lang.Runtime.loadLibrary0(Unknown Source)

    at java.lang.System.loadLibrary(Unknown Source)

    at sun.security.action.LoadLibraryAction.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)

    at sun.awt.DebugHelper.<clinit>(Unknown Source)

    at java.awt.Component.<clinit>(Unknown Source)

2.如果有下面問(wèn)題,用root用戶執(zhí)行安裝過(guò)程中出現(xiàn)的兩個(gè)腳本。

/home/oracle/oraInventory/orainstRoot.sh

/home/oracle/product/1020/root.sh

Red Hat 5.5安裝oracle 10G

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

網(wǎng)站欄目:RedHat5.5安裝oracle10G-創(chuàng)新互聯(lián)
網(wǎng)站路徑:http://chinadenli.net/article32/dicspc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供手機(jī)網(wǎng)站建設(shè)、網(wǎng)站策劃、網(wǎng)頁(yè)設(shè)計(jì)公司自適應(yīng)網(wǎng)站、網(wǎng)站內(nèi)鏈搜索引擎優(yōu)化

廣告

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

成都app開(kāi)發(fā)公司