遠程安裝oracle 1021 for redhat 50 2618-53el5xen_第1頁
遠程安裝oracle 1021 for redhat 50 2618-53el5xen_第2頁
遠程安裝oracle 1021 for redhat 50 2618-53el5xen_第3頁
遠程安裝oracle 1021 for redhat 50 2618-53el5xen_第4頁
遠程安裝oracle 1021 for redhat 50 2618-53el5xen_第5頁
已閱讀5頁,還剩48頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、遠程安裝oracle 10.2.1 for redhat 5.0 2.6.18-53.el5xen今天有個朋友打電話告訴我說,要我幫他裝一個oracle正好閑著沒事,我就答應了。他告訴我:要裝數據庫的機子在江西,只能通過遠程安裝。還說現在只開了SSH,其他都沒有開。我根據他給我的信息如:IP,SSh協議,ROOT用戶名與密碼。思考了一下,得去如下安裝步聚:為了把數據庫軟件傳上去,就須開個FTP,還用到一個FTP工具:FlashFXP 3.6.0。為了要用到圖像界面來安裝數據庫軟件與建立數據庫,因為我不習慣用靜默來安裝數據庫軟件與建立數據庫,所以我用到了兩個軟件:xmanager enterpr

2、ise 3.0, secureCRT 6.12。通過圖像界面來安裝數據庫軟件與建立數據庫。上面提出了三個步聚,下面我來一步一步的解決:為機器開個FTP,首先看一下是不是安裝了FTP包:rootoracleERP # rpm -q ftpftp-0.17-33.fc6呵呵!很好,已經安裝了FTP了,現在看一下是不是啟動了FTP服務:rootoracleERP vsftpd# /etc/init.d/vsftpd statusvsftpd is stopped唉!還沒有啟動,下面我就來啟動:rootoracleERP vsftpd# /etc/init.d/vsftpd startStarting

3、 vsftpd for vsftpd: OK 下面我來測試一下可不可以FTP上去。Microsoft Windows XP 版本 5.1.2600(C) 版權所有 1985-2001 Microsoft Corp.D:Documents and Settingsdb2adminftp 59Connected to 59.220 (vsFTPd 2.0.5)User (59:(none): oracle331 Please specify the password.Password:230 Login successful.ftp很好,可以FTP上去。下面我就用FlashFXP這個工具uploa

4、d數據庫軟件上去。幸好我這里的網速還可以upload時,可達2M,這樣節省了我好多時間了,6分鐘就upload完了。二、這步是怎樣圖形界面連到遠程的機器上。首先到網上去下載:xmanager enterprise 3.0, secureCRT 6.12。好久沒去搜這兩人個軟件了,它們都升級了,我原來都用xmanager 2.0與secureCRT 5.1,升級還真快啊。好費話不多說了。把兩個軟件安裝到電腦上面去,這兩個軟件都被破解了的,我個人喜歡用破解版。好了,下面我來配置XMANGER,這樣的方法很多。下面我就來講幾種方法:用Xmanager遠程連接rdhat=法一:直接開啟一個gnome-

5、session1.點擊桌面圖標XmanagerEnterprise2.右擊Xmanager圖標-Xstart3.在右邊的空白處右擊,newXstart session4.出現如下的界面:在Session:里輸入:會話名:xstarttestHOST:,你連上去的IP地址。Protocol:SSH輸入username和passwdExecutionCommand:/usr/bin/gnome-session -display $DISPLAY如下圖:點擊確定出現如下的圖片: 雙擊xstarttest.如果網絡好的話,很快就會出現期待已久的遠程桌面。如下圖:現在我們就可以在上面做操作了。=法二:開

6、啟一個登錄窗口,下面的方法是在遠程機器上開啟XDMCP,然后再用Xstart連接上去。服務器:redhat as 5.0終端:Xmanagerenterprise 3.0服務器配置:(Gnome)1. Change runlevel to 5 修改/etc/inittab,將運行級別設置為5,即:id:5:initdefault:2. Enable XDMCP 打開/etc/gdm/custom.conf,然后把Enable改為1,即: xdmcpEnable=13.KDM: 打/usr/share/config/kdm/Xaccess,然后把下面兩行的“”去掉。#* #any host ca

7、n get a login window =* #any host can get a login window打開/user/share/config/kdm/kdmrc,然后把Enable設成:true.即如下: xdmcpEnable=true 4.配置防火墻:即允許TCP/UPD通過。如下:Open UDP port 177 from the PC to the remote host direction.Open incoming TCP ports 60006010 from the remote host to your PC. 5.重起遠程的機器。開始使用XMANGER ent

8、erprise 3.0# init 3; init 5終端配置1、點擊XmanagerEnterprise圖標,打開Xbrowser這時Xbrowser窗口中會顯示局域網中所有的可用服務器(若沒有顯示,則表示服務器配置有問題)直接雙擊你想使用的服務器即可開啟一個登錄窗口終端配置(通過ssh登陸)如果只能通過ssh登錄,則需要進行一些配置首先配置Xshell1、打開Xshell,右擊你想要連接的session,如果沒有的話,就創建一個新的session2、右擊session,選擇“Properties”,Connection部分:“Name”中輸入session的名字(隨便寫)“Method”為

9、“SSH”,“Host”為服務器IP地址“PortNumber”為“22”UserAuthentication部分“Method”為“Password”“UserName”/“Password”為你的帳號和密碼3、點擊Connection部分中“Method”后面的“Setup”選擇“Tunneling”,點擊“TCP/IPForwarding”中的“Add”,出現對話框,進行下面的操作:“Type”改為“Outgoing”,“ListenPort”取“6020”“DestinationHost”改為“localhost”“DestinationPort”取“6020”(注:Listen/De

10、stinationPort可以是6020至6255中任意一個沒有使用的值)保存設置Xshell配置完成,下面開始配置Xbrowser1、點擊XmanagerEnterprise圖標,打開Xbrowser選擇“Tools”-“Option”在“NewAddress”輸入服務器的IP地址,然后點擊“Add”,保存設置。2、回到Xbrowser窗口,這時能看到你增加的服務器圖標。右擊服務器圖標,選擇“SaveAs”,創建一個新的session,然后右擊這個session,選擇“Properties”。在“Proxy”部分打勾,Host為“”,PortNumber為“6020”(注:這個值應該與Xsh

11、ell配置中第三步的“ListenPort”相同)3、點擊“XServer”,把“Allocatedisplaynumberautomatically”前面的勾去掉,在“DisplayNumberbox”中輸入“20”(這個數字應等于上一步中的PortNumber減去6000)保存設置4、雙擊該服務器圖標即可開啟一個登錄窗口方法三:xmanager secureCRT結合使用 環境:在xp中安裝虛擬機vmware ,host-only方式虛擬Linux系統。xp的ip為,虛擬機Linux為8 在xp中安裝xmanager和secureCRT ,默認情況下CRT不能顯示圖形界面,通過以下配置可以

12、實現在Windows下的CRT里顯示Linux中的oracle圖形界面: 以oracle用戶登陸Linux,修改.bash_profile $ vi .bash_profile 在最后加上以下內容: DISPLAY=:0.0 export DISPLAY 然后 $source .bash_profile 就大功告成。最后一步、上面的條件都具備了,下面就是來安裝數據庫軟件與建立數據庫。下面安裝數據庫軟件全是按照官方文檔來的。下面我就不細細的講。稍稍講一下要做的步聚:解壓文件。unzip 10201_database_linux32.zipYou should now have a single

13、directory containing installation files. Depending on the age of the download this may either be named db/Disk1 or database.設置內核參數:為/etc/sysctl.conf文件加上如下的內容。Add the following lines to the /etc/sysctl.conf file:#kernel.shmall = 2097152#kernel.shmmax = 2147483648kernel.shmmni = 4096# semaphores: semm

14、sl, semmns, semopm, semmnikernel.sem = 250 32000 100 128#fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default=262144net.core.rmem_max=262144net.core.wmem_default=262144net.core.wmem_max=262144運行下面的命令,來改變當的的內核參數。Run the following command to change the current kernel param

15、eters:/sbin/sysctl -p在/etc/security/limits.conf加上如下的內容。Add the following lines to the /etc/security/limits.conf file:* soft nproc 2047* hard nproc 16384* soft nofile 1024* hard nofile 65536在/etc/pam.d/login文件加上如下的內容。Add the following line to the /etc/pam.d/login file, if it does not already exist:se

16、ssion required /lib/security/pam_limits.so關閉防火墻:Disable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows:SELINUX=disabledAlternatively, this alteration can be done using the GUI tool (System Administration Security Level and Firewall). Click on the

17、 SELinux tab and disable the feature.安裝需要的包:Install the following packages:# From RedHat AS5 Disk 1cd /media/cdrom/Serverrpm -Uvh setarch-2*rpm -Uvh make-3*rpm -Uvh glibc-2*rpm -Uvh libaio-0*cd /eject# From RedHat AS5 Disk 2cd /media/cdrom/Serverrpm -Uvh compat-libstdc+-33-3*rpm -Uvh compat-gcc-34-3

18、*rpm -Uvh compat-gcc-34-c+-3*rpm -Uvh gcc-4*rpm -Uvh libXp-1*cd /eject# From RedHat AS5 Disk 3cd /media/cdrom/Serverrpm -Uvh openmotif-2*rpm -Uvh compat-db-4*cd /eject創建用戶名與用戶組:Create the new groups and users:groupadd oinstallgroupadd dbagroupadd operuseradd -g oinstall -G dba oraclepasswd oracle為數據

19、庫軟件創建目錄。Create the directories in which the Oracle software will be installed:mkdir -p /u01/app/oracle/product/10.2.0/db_1chown -R oracle.oinstall /u01修改/etc/redhat-releas文件,這樣做的目的是為了在安裝時能通過。因為oracle 10G 檢查文件里對操作系統有要求。所要把它改成redhat-4。Edit the /etc/redhat-release file replacing the current release inf

20、ormation (Red Hat Enterprise Linux Server release 5 (Tikanga) with the following:redhat-4設置環境變量:編輯:.bash_profile,在里面填上如下的內容。Login as the oracle user and add the following lines at the end of the .bash_profile file:# Oracle SettingsTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIRORACLE_BASE=/u01/app/or

21、acle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOMEORACLE_SID=TSH1; export ORACLE_SIDORACLE_TERM=xterm; export ORACLE_TERMPATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATHLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PA

22、THCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATHif $USER = oracle ; then if $SHELL = /bin/ksh ; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fifiInstallationLog into the oracle user. If you are using X emulation then set the DISPLAY envir

23、onmental variable:DISPLAY=本機的IP地址:0.0; export DISPLAYStart the Oracle Universal Installer (OUI) by issuing the following command in the database directory:./runInstaller安裝完以后,要把/etc/redhat-release這個文件的內容改過來。Edit the /etc/redhat-release file restoring the original release information:Red Hat Enterpri

24、se Linux Server release 5 (Tikanga)Edit the /etc/oratab file setting the restart flag for each instance to Y:TSH1:/u01/app/oracle/product/10.2.0/db_1:Y注:在安裝完數據庫后的總結。我首先是把數據庫軟件安裝以后,再運行DBCA的。在運行DBCA時。我把內存分高了。提示:ORA-27123:unable to attach to shared memory segment。后來我把內存分低一點。就通過了。在操作系統下看:共享內存:rootoracle

25、ERP # cat /proc/sys/kernel/shmmax 2999999999只有2999999999而我把它分了:7294967295,臨時給shmmax分內存。Echo 7294967295 /proc/sys/kernel/shmmax.。這樣臨時給shmmax分好了。如果想永久的分shmmax,。就要編輯:/etc/sysctl.conf設置:kernel.shmmax = 7294967295就可以了。好了!寫了幾個小時終于寫完了。附錄資料:不需要的可以自行刪除 Oracle10g在AIX上的安裝準備工作Oracle For Aix安裝1:安裝Oracle10.2的最基本要

26、求硬件: 64位 內存與交換區 硬盤空間:除數據外,Oracle軟件本身至少需要3G 軟件: 操作系統: AIX 5L version 5.2, Maintenance Level 04 or later , or AIX 5L version 5.3, Maintenance Level 02 or later. AIX的軟件包:o bos.adt.baseo bos.adt.libo bos.adt.libmo bos.perf.libperfstato bos.perf.perfstato ctoolso xlC.aix50.rte: or latero xlC.rte: or late

27、r2:AIX的修補: 對于(APARs) for AIX 5L v5.2 ML 04: IY63133: large percentage of CPU time spent in ldata_balance routine IY64978: deadlock with concurrent renaming and unlinking under JFS IY63366: dlsym returns null even for valid symbol in AIX520 ML-4 IY64691: chvg -b can cause corruption and crash IY64737

28、: AIO can hang in knotunlock IY65001: mklvcopy on a striped lv is failing to update lvcb 對于(APARs) for AIX 5L v5.3 ML 02: IY58143: REQUIRED UPDATE FOR AIX 5.3 IY59386: libdepend.mk files are all empty IY60930: Unable to delete network routes IY66513: LDR_CNTRL turns on undesirable option when initia

29、lized with incorrect value IY70159: krtl relocation problem 3:安裝AIX 5L 53-001 插入CD 5.3第一片盤。 2 啟動計算機,聽見嘀嘀兩聲,按F1鍵進入systerm management services 界面,選擇boot sequence 。 3 將CD-ROM設置為啟動順序1,保存設置。 4 進入安裝界面,開始一個全新系統安裝。 5 提示插入后續盤片,繼續安裝。 6 注意安裝時Kernel 選擇64bit,用命令prtcont查看。 7 如選擇中文語言,則要求安裝盤1、2、7,如不選,則安裝盤1、2 機器啟動 1

30、. 進入Configerition assistant界面 2. 設定IP地址為70,掩碼為。 在安裝Oracle前對系統進行配置步驟一檢查系統所需軟件和修補包4:檢查系統安裝軟件 n 確認安裝的AIX版本是否高于5.2-01,否則升級系統版本。 # oslevel -r 5300-00確認是否是 5300-04)需升級到5300-02以上版本就可以。按如下升級: 升級前需打包: bos.adt pat bos. cifs 按smitty-一路回車 a) 擴充usr文件系統到3G 檢查usr空間的大小 # df -k Filesystem 1024-blocks Free %Used Iuse

31、d %Iused Mounted on /dev/hd4 16384 4588 72% 1509 19% / /dev/hd2 1064960 8608 100% 24103 10% /usr 確認文件系統類型jfs jfs2 lsvg -l rootvg (查看文件系統類型,例如如下查看到的是jfs) rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd5 boot 1 1 1 closed/syncd N/A hd6 paging 32 32 1 open/syncd N/A hd8 jfslog 1 1 1 open/syncd

32、 N/A hd4 jfs 1 1 1 open/syncd / hd2 jfs 65 65 1 open/syncd /usr hd9var jfs 1 1 1 open/syncd /var hd3 jfs 2 2 1 open/syncd /tmp hd1 jfs 1 1 1 open/syncd /home hd10opt jfs 7 7 1 open/syncd /opt 如是jfs 選擇日志文件系統類型,如是 jfs2則選擇擴展文件系統 用如下命令查看大小,此時查看到的usr的大小為3 G # df -k Filesystem 1024-blocks Free %Used Iused

33、 %Iused Mounted on /dev/hd4 16384 4584 73% 1509 19% / /dev/hd2 3014656 1897104 38% 24103 4% /usr /dev/hd9var 16384 10048 39% 362 9% /var /dev/hd3 32768 31596 4% 51 1% /tmp /dev/hd1 16384 15820 4% 18 1% /home /proc - - - - - /proc /dev/hd10opt 114688 25600 78% 2202 8% /opt b) 將IY58143上傳到/usr/sys/inst

34、.images c) 進入/usr/sys/inst.images目錄,運行inutoc d) smitty update_all (接受license yes) (而非install APAR) # instfix -ik IY58143 All filesets for IY58143 were found. # oslevel -r 5300-00 e) 重啟AIX #shutdown Fr f) 將升級包上傳到/usr/sys/inst.images g) 進入/usr/sys/inst.images目錄,運行inutoc # cd / # pwd / # cd usr # cd sy

35、s # cd inst.images # inutoc h) smitty update_all (接受license yes) i) OK后 重新啟動系統后查看oslevel r (5300-03) # oslevel -r 5300-03 # instfix -i |grep ML All filesets for _AIX_ML were found. All filesets for 5300-02_AIX_ML were found. All filesets for 5300-01_AIX_ML were found. All filesets for 5300-03_AIX_ML

36、 were found. 如果不成功就執行:Instfix ik 5300-03_AIX_ML 會列出不成功的包 # instfix -ik 5300-03_AIX_ML All filesets for 5300-03_AIX_ML were found.說明已經成功 5:檢查AIX系統的安裝情況是否符合要求 Oracle要求的AIX的軟件包:o bos.adt.baseo bos.adt.libo bos.adt.libmo bos.perf.libperfstato bos.perf.perfstato ctoolso xlC.aix50.rte: or latero xlC.rte:

37、or later確認需要的軟件是否安裝: # lslpp -l bos.adt.base Fileset Level State Description - Path: /usr/lib/objrepos bos.adt.base 0 COMMITTED Base Application Development Toolkit # lslpp -l bos.adt.lib Fileset Level State Description - Path: /usr/lib/objrepos bos.adt.lib 0 COMMITTED Base Application Development L

38、ibraries # lslpp -l bos.adt.libm lslpp: 0504-132 Fileset bos.adt.libm not installed. # lslpp -l bos.perf.libperfstat Fileset Level State Description - Path: /usr/lib/objrepos bos.perf.libperfstat 0 COMMITTED Performance Statistics Library Interface Path: /etc/objrepos bos.perf.libperfstat COMMITTED

39、Performance Statistics Library Interface # lslpp -l ctools Fileset Level State Description - Path: /usr/lib/objrepos ctools 0 COMMITTED Proc Filesystem Tools # # lslpp -l xlC.* Fileset Level State Description - Path: /usr/lib/objrepos xlC.aix50.rte 3 COMMITTED C Set + Runtime for AIX 5.0 xlC.cpp COM

40、MITTED C for AIX Preprocessor xlC.msg.en_US.cpp COMMITTED C for AIX Preprocessor Messages-U.S. English xlC.msg.en_US.rte COMMITTED C Set + Runtime Messages-U.S. English xlC.rte COMMITTED C Set + Runtime # bos.adt.limb不存在,需要安裝。 安裝bos.adt.libm 進入菜單smitty,選擇安裝和更新軟件 : 選擇安裝軟件: 進入安裝軟件后,按F4選擇安裝軟件用到的輸入設備,選擇

41、CD安裝: 進入對于要安裝的軟件菜單項: 按F4 給出安裝列表。在列表中,軟件項目之前的符號代表此軟件已經安裝,+代表未安裝: 輸入“/”查找軟件bos.adt.libm 按F7選擇,點擊Enter安裝: 選擇接受License Agreements: 回車開始安裝: # lslpp -l bos.adt.libm Fileset Level State Description - Path: /usr/lib/objrepos bos.adt.libm COMMITTED Base Application Development Math Library 檢查安裝oracel所需操作系統的修

42、補包根據所要安裝產品,檢查下列修補是否安裝: 6: 確認APAR是否安裝 AIX所需的修補包如下:: 對于(APARs) for AIX 5L v5.3 ML 02: IY58143: REQUIRED UPDATE FOR AIX 5.3 IY59386: libdepend.mk files are all empty IY60930: Unable to delete network routes IY66513: LDR_CNTRL turns on undesirable option when initialized with incorrect value IY70159: kr

43、tl relocation problem 驗證以上的包是否已經安裝 # instfix -ik IY58143 Not all filesets for IY58143 were found. # instfix -ik IY59386 All filesets for IY59386 were found. # instfix -ik IY60930 All filesets for IY60930 were found. # instfix -ik IY66513 All filesets for IY66513 were found. # instfix -ik IY70159 All

44、 filesets for IY70159 were found. 通過驗證 # instfix -ik IY58143 Not all filesets for IY58143 were found. 步驟三創建安裝Oracle所需的UNIX組和用戶如果系統首次安裝ORACLE數據庫軟件,則需要創建一些UNIX組和用戶。 所需安裝如下UNIX組和用戶:OSDBA組(dba)、OSOPER(oper)組、Oracle Inventory 組(oinstall)、擁有Oracle軟件的用戶(oracle)。所創建用戶必須把Oracle Inventory 組作為首要組,可以把OSDBA和OSOP

45、ER組作為次組。 % 7:創建組 1創建Oracle Inventory組 # smit security 選擇Groups項,創建oinstall組 按下Enter鍵創建。 2. 創建OSDBA組(dba): 用上述過程相同的方法創建。 8:創建用戶: 1 創建Oracle用戶: # smit security 選擇Users項,創建oracle用戶, 將oinstall作為primary group, 將dba 作為secondary group(group set). 按下enter鍵創建。 注意: primary group oinstall group set dba 2、設置ora

46、cle用戶的密碼: # passwd oracle Changing password for oracle oracles New password: Enter the new password again: 設置密碼為oracle 創建好用戶后到/home目錄下查看 # cd /home # ls -al total 13 drwxr-xr-x 6 bin bin 512 Aug 16 20:59 . drwxr-xr-x 22 root system 1024 Aug 16 21:35 . drwxr-xr-x 2 root system 512 Aug 16 19:27 TT_DB

47、drwxr-xr-x 2 guest usr 512 Aug 04 2004 guest drwx- 2 root system 512 Aug 04 2004 lost+found drwxr-xr-x 4 oracle oinstall 512 Aug 16 21:34 oracle 確認nobody用戶是否存在: # id nobody uid=4294967294(nobody) gid=4294967294(nobody) 步驟內核參數和Shell Limits:9:配置Shell Limits: # smitty 選擇Users選項,再選擇Change/Show Character

48、istics of a User選項 在用戶名處輸入oracle用戶名; 修改Soft FILE size為-1;修改Soft CUP time為-1;修改Soft DATA segment為-1;修改Soft STACK size為-1; 按下Enter鍵確認。 10:配置系統配置參數: # smitty chgsys 設置Maximum number of PROCESSES allowed per user 為2048。 11:創建安裝oracle的文件系統查看當前空閑磁盤: # lspv hdisk0 00023f7f00040265 None hdisk1 00023f7f1955b

49、7e1 rootvg active 創建新的vg查看系統中pp的大小 # lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: 00023f7f00004c00000000001e122e40 VG STATE: active PP SIZE: 16 megabyte(s) VG PERMISSION: read/write TOTAL PPs: 542 (8672 megabytes) MAX LVs: 256 FREE PPs: 312 (4992 megabytes) LVs: 9 USED PPs: 230 (3680 megabytes) O

50、PEN LVs: 8 QUORUM: 2 TOTAL PVs: 1 VG DESCRIPTORS: 2 STALE PVs: 0 STALE PPs: 0 ACTIVE PVs: 1 AUTO ON: yes MAX PPs per VG: 32512 MAX PPs per PV: 1016 MAX PVs: 32 LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no HOT SPARE: no BB POLICY: relocatable # lspv hdisk0 00023f7f00040265 datavg active hdisk1 0

51、0023f7f1955b7e1 rootvg active 查看激活的vg # lsvg -o datavg rootvg 創建lv 查看剛才創建的lv: # lsvg -l datavg datavg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT oralv jfs 600 600 1 closed/syncd N/A 創建文件系統,注意:mount點需要加/ 列出當前的文件系統,查看 # lsfs Name Nodename Mount Pt VFS Size Options Auto Accounting /dev/hd4 - / jfs

52、32768 - yes no /dev/hd1 - /home jfs 32768 - yes no /dev/hd2 - /usr jfs 6029312 - yes no /dev/hd9var - /var jfs 32768 - yes no /dev/hd3 - /tmp jfs 65536 - yes no /proc - /proc procfs - - yes no /dev/hd10opt - /opt jfs 229376 - yes no /dev/oralv - /oradata jfs 39321600 rw yes no 查看文件系統的大小 # df -k File

53、system 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 16384 4572 73% 1517 19% / /dev/hd2 3014656 1897104 38% 24103 4% /usr /dev/hd9var 16384 10048 39% 363 9% /var /dev/hd3 32768 31596 4% 51 1% /tmp /dev/hd1 16384 15820 4% 18 1% /home /proc - - - - - /proc /dev/hd10opt 114688 25600 78% 2202

54、8% /opt 查看當前已經mount上的文件系統 # mount node mounted mounted over vfs date options - - - - - - /dev/hd4 / jfs Aug 16 12:24 rw,log=/dev/hd8 /dev/hd2 /usr jfs Aug 16 12:24 rw,log=/dev/hd8 /dev/hd9var /var jfs Aug 16 12:24 rw,log=/dev/hd8 /dev/hd3 /tmp jfs Aug 16 12:24 rw,log=/dev/hd8 /dev/hd1 /home jfs Aug

55、16 12:25 rw,log=/dev/hd8 /proc /proc procfs Aug 16 12:25 rw /dev/hd10opt /opt jfs Aug 16 12:25 rw,log=/dev/hd8 # 12:Mount創建的文件系統 # mount /oradata # mount node mounted mounted over vfs date options - - - - - - /dev/hd4 / jfs Aug 16 12:24 rw,log=/dev/hd8 /dev/hd2 /usr jfs Aug 16 12:24 rw,log=/dev/hd8

56、/dev/hd9var /var jfs Aug 16 12:24 rw,log=/dev/hd8 /dev/hd3 /tmp jfs Aug 16 12:24 rw,log=/dev/hd8 /dev/hd1 /home jfs Aug 16 12:25 rw,log=/dev/hd8 /proc /proc procfs Aug 16 12:25 rw /dev/hd10opt /opt jfs Aug 16 12:25 rw,log=/dev/hd8 /dev/oralv /oradata jfs Aug 16 15:58 rw,log=/dev/loglv00 # df -k File

57、system 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 16384 4572 73% 1517 19% / /dev/hd2 3014656 1897104 38% 24103 4% /usr /dev/hd9var 16384 10048 39% 363 9% /var /dev/hd3 32768 31596 4% 51 1% /tmp /dev/hd1 16384 15820 4% 18 1% /home /proc - - - - - /proc /dev/hd10opt 114688 25600 78% 2202

58、8% /opt /dev/oralv 19660800 19043652 4% 17 1% /oradata 13:創建安裝Oracle軟件需要的目錄創建存放原始光盤軟件的目錄 # pwd / # cd oradata # mkdir aixsoft10.2g # ls aixsoft10.2g lost+found 創建oracle安裝目錄 具體安裝步驟要求: * from oracle install doc 1. Enter the following command to create subdirectories in the mount point directory that y

59、ou identified for the Oracle base directory: # mkdir -p /u01/app/oracle 2. If you intend to use a second file system for the Oracle Database files, then create an oradata subdirectory in the mount point directory that you identified for the Oracle data file directory (shown as /u02 in the examples):

60、 # mkdir /u02/oradata 3. Change the owner and group of the directories that you created to the oracle user and the oinstall group: # chown -R oracle:oinstall /u01/app/oracle # chown -R oracle:oinstall /u02/oradata 4. Change the permissions on the directories that you created to 775: # chmod -R 775 /

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論