接https://blog.51cto.com/12784425/2310379此文
Oracle 11.2.0.4 下載地址https://download.csdn.net/download/uu5620/11125227
1、準(zhǔn)備工作
Oracle11.2.0.4的安裝包;
VNC客戶端vnc Viewer;
2、將Oracle11.2.0.4的安裝包用vsftp上傳到服務(wù)器/soft目錄下
更改/soft目錄的訪問(wèn)權(quán)限
[root@oracle-learn ~]# chmod -R 777 /soft
進(jìn)入到/soft目錄下
[oracle@oracle-learn ~]$ cd /soft
[oracle@oracle-learn soft]$ ll
總用量 2487224
-rwxrwxrwx. 1 root root 1395582860 10月 29 18:50 linux11.2.0.4-1_Linux-x86-64.zip
-rwxrwxrwx. 1 root root 1151304589 10月 29 18:50 linux11.2.0.4-2_Linux-x86-64.zip
drwxrwxrwx. 2 root root 16384 10月 29 2018 lost+found
[oracle@oracle-learn soft]$
解壓oracle軟件包unzip linux11.2.0.4-1_Linux-x86-64.zip
unzip linux11.2.0.4-2_Linux-x86-64.zip
這時(shí)會(huì)得到一個(gè)database的文件夾
[oracle@oracle-learn soft]$ ll
總用量 2487228
drwxr-xr-x. 7 oracle oinstall 4096 8月 27 2013 database
-rwxrwxrwx. 1 root root 1395582860 10月 29 18:50 linux11.2.0.4-1_Linux-x86-64.zip
-rwxrwxrwx. 1 root root 1151304589 10月 29 18:50 linux11.2.0.4-2_Linux-x86-64.zip
drwxrwxrwx. 2 root root 16384 10月 29 2018 lost+found
[oracle@oracle-learn soft]$
3、安裝VNC服務(wù)器:
[root@oracle-learn ~]# yum install tigervnc-server -y
切換到oracle用戶下,啟動(dòng)vnc服務(wù)并設(shè)置密碼oracle。
[root@oracle-learn ~]# su - oracle
[oracle@oracle-learn ~]$ vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth: creating new authority file /home/oracle/.Xauthority
New 'oracle-learn:1 (oracle)' desktop is oracle-learn:1
Creating default startup script /home/oracle/.vnc/xstartup
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/oracle-learn:1.log
[oracle@oracle-learn ~]$
New 'oracle-learn:1 (oracle)' desktop is oracle-learn:1
啟動(dòng)本地VNC Viewer鏈接服務(wù)器192.168.8.120:1
輸入密碼oracle
登錄之后會(huì)讓你輸入root的密碼
好了,現(xiàn)在登錄到oracle用戶的遠(yuǎn)程桌面了
打開(kāi)終端設(shè)置環(huán)境變量
[oracle@oracle-learn ~]$ export LANG=en_US
進(jìn)入/soft/database目錄下
[oracle@oracle-learn ~]$ cd /soft/database/
[oracle@oracle-learn database]$ ll
總用量 60
drwxr-xr-x. 4 oracle oinstall 4096 8月 27 2013 install
-rw-r--r--. 1 oracle oinstall 30016 8月 27 2013 readme.html
drwxr-xr-x. 2 oracle oinstall 4096 8月 27 2013 response
drwxr-xr-x. 2 oracle oinstall 4096 8月 27 2013 rpm
-rwxr-xr-x. 1 oracle oinstall 3267 8月 27 2013 runInstaller
drwxr-xr-x. 2 oracle oinstall 4096 8月 27 2013 sshsetup
drwxr-xr-x. 14 oracle oinstall 4096 8月 27 2013 stage
-rw-r--r--. 1 oracle oinstall 500 8月 27 2013 welcome.html
運(yùn)行安裝程序
[oracle@oracle-learn database]$ ./runInstaller
Oracle安裝界面啟動(dòng)成功
1、如圖取消訂閱,接下來(lái)會(huì)有提示框,點(diǎn)yes
2、取消升級(jí),下一步
3、選擇只安裝database
4、下一步
5、選擇中文簡(jiǎn)體,英文過(guò)關(guān)的可以無(wú)視,下一步
6、第一個(gè)企業(yè)版安裝,下一步
7、顯示的路徑應(yīng)該與配置好的環(huán)境變量一樣
然后會(huì)有一個(gè)提示,直接點(diǎn)yes
8、默認(rèn),下一步
9、默認(rèn),下一步
10、這里會(huì)有一個(gè)配置的檢測(cè)
11、點(diǎn)擊install
開(kāi)始安裝。
安裝過(guò)程中會(huì)有提示要運(yùn)行的腳本如圖:
在root用戶下按順序運(yùn)行這兩個(gè)命令,第二個(gè)命令運(yùn)行后會(huì)有一個(gè)按enter建的命令。
[root@oracle-learn ~]# /oracle/app/oraInventory/orainstRoot.sh
Changing permissions of /oracle/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /oracle/app/oraInventory to oinstall.
The execution of the script is complete.
[root@oracle-learn ~]# /oracle/app/oracle/product/11.2.0/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle/app/oracle/product/11.2.0
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 script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
然后回到遠(yuǎn)程桌面點(diǎn)擊ok
未完待續(xù)?。?!
另外有需要云服務(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ì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。
當(dāng)前名稱:OracleLinux6.5下Oracle11.2.0.4的安裝-創(chuàng)新互聯(lián)
URL鏈接:http://aaarwkj.com/article40/ccoieo.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供做網(wǎng)站、標(biāo)簽優(yōu)化、App開(kāi)發(fā)、網(wǎng)站改版、ChatGPT、全網(wǎng)營(yíng)銷(xiāo)推廣
聲明:本網(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)
猜你還喜歡下面的內(nèi)容