隨筆-109  評(píng)論-187  文章-25  trackbacks-0

          (1) ubuntu 6.06

          (2): 由于 ubuntu debian 的內(nèi)核,所以要在 oracle 官方上下載 oracle-xe-universal_10.2.0.1-1.0_i386.deb

          ?

          開始安裝(先看下面要注意的問題,第四項(xiàng))

          ?

          1:dpkg –I oracle-xe-universal_10.2.0.1-1.0_i386.deb

          ?

          出現(xiàn)一下問題

          ?

          正在解壓縮將用于更替的包文件 oracle-xe-universal ...

          dpkg :依賴關(guān)系問題使得 oracle-xe-universal 的配置工作不能繼續(xù):

          ?oracle-xe-universal 依賴于 libaio (>= 0.3.96) | libaio1 (>= 0.3.96);然而:

          ? 軟件包 libaio還沒有被安裝。

          ? 軟件包 libaio1還沒有被安裝。

          dpkg :處理 oracle-xe-universal (--install)時(shí)出錯(cuò):

          ? 依賴關(guān)系問題 - 仍未被配置

          在處理時(shí)有錯(cuò)誤發(fā)生:

          ?oracle-xe-universal

          ?

          原來是libaio缺少,沒有安裝,我就下載下來,是個(gè)rpm,然后安裝這個(gè)rpm

          ?

          sudo apt-get libaio-0.3.96-7.i386.rpm

          ?

          正在讀取軟件包列表... 完成

          正在分析軟件包的依賴關(guān)系樹... 完成

          E: 無(wú)法找到軟件包 libaio-0.3.96-7.i386.rpm

          ?

          真是郁悶反復(fù)試驗(yàn)都不行

          ?

          ?

          放棄這樣安裝,到網(wǎng)上查找其他方案安裝libaio

          ?

          網(wǎng)上說采用apt-get -f install安裝方式可能自動(dòng)獲取包

          ?

          ?

          apt-get -f? install 果然可以日志如下

          root@ubuntu:/home/oem# apt-get -f? install

          正在讀取軟件包列表... 完成

          正在分析軟件包的依賴關(guān)系樹... 完成

          正在更正依賴關(guān)系... 完成

          將會(huì)安裝下列額外的軟件包:

          ? libaio1

          下列【新】軟件包將被安裝:

          ? libaio1

          共升級(jí)了 0 個(gè)軟件包,新安裝了 1 個(gè)軟件包,要卸載 0 個(gè)軟件包,有 7 個(gè)軟件未被升級(jí)。

          1 個(gè)軟件包沒有被完全安裝或卸載。

          需要下載 5182B 的軟件包。

          解壓縮后會(huì)消耗掉 61.4kB 的額外空間。

          您希望繼續(xù)執(zhí)行嗎?[Y/n]y

          獲取:1 http://mirror.lupaworld.com dapper/main libaio1 0.3.104-1ubuntu6 [5182B]下載 5182B,耗時(shí) 2s (2346B/s)

          選中了曾被取消選擇的軟件包 libaio1

          ( 正在讀取數(shù)據(jù)庫(kù) ... 系統(tǒng)當(dāng)前總共安裝有 76207 個(gè)文件和目錄。)

          正在解壓縮 libaio1 ( .../libaio1_0.3.104-1ubuntu6_i386.deb) ...

          正在設(shè)置 libaio1 (0.3.104-1ubuntu6) ...

          ?

          正在設(shè)置 oracle-xe-universal (10.2.0.1-1.0) ...

          Executing Post-install steps...

          You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

          ?

          ?

          2

          ?

          root@ubuntu:/home/oem#? /etc/init.d/oracle-xe configure

          ?

          ?

          Oracle Database 10g Express Edition Configuration

          -------------------------------------------------

          This will configure on-boot properties of Oracle Database 10g Express

          Edition.? The following questions will determine whether the database should

          be starting upon system boot, the ports it will use, and the passwords that

          will be used for database accounts.? Press <Enter> to accept the defaults.

          Ctrl-C will abort.

          ?

          Specify the HTTP port that will be used for Oracle Application Express [8080]:8080

          ?

          Specify a port that will be used for the database listener [1521]:1521

          ?

          Specify a password to be used for database accounts.? Note that the same

          password will be used for SYS and SYSTEM.? Oracle recommends the use of

          different passwords for each database account.? This can be done after

          initial configuration:

          Confirm the password:

          ?

          Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y

          ?

          Starting Oracle Net Listener...Done

          Configuring Database...

          ?

          Starting Oracle Database 10g Express Edition Instance...Done

          Installation Completed Successfully.

          To access the Database Home Page go to "http://127.0.0.1:8080/apex"

          ?

          ?

          ? 這就安裝完了?真是不可思以,比9I快很多啊,總共花了10幾分鐘,中間的配置少了好多啊。

          ?

          3 :訪問數(shù)據(jù)

          http://127.0.0.1:8080/apex

          根據(jù)設(shè)置的密碼沒有問題,能夠正確訪問

          ?

          ?

          4: 需要注意的問題:

          在剛開始安裝的時(shí)候可能出現(xiàn)一下問題

          ?

          root@ubuntu:/home/oem# dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb

          選中了曾被取消選擇的軟件包 oracle-xe-universal

          ( 正在讀取數(shù)據(jù)庫(kù) ... 系統(tǒng)當(dāng)前總共安裝有 73613 個(gè)文件和目錄。)

          正在解壓縮 oracle-xe-universal ( oracle-xe-universal_10.2.0.1-1.0_i386.deb) ...

          This system does not meet the minimum requirements for swap space.? Based on

          the amount of physical memory available on the system, Oracle Database 10g

          Express Edition requires 750 MB of swap space. This system has 711 MB

          of swap space.? Configure more swap space on the system and retry the installation.

          dpkg :處理 oracle-xe-universal_10.2.0.1-1.0_i386.deb (--install)時(shí)出錯(cuò):

          ? 子進(jìn)程·pre-installation script·返回了錯(cuò)誤號(hào)·1

          在處理時(shí)有錯(cuò)誤發(fā)生:

          ?oracle-xe-universal_10.2.0.1-1.0_i386.deb

          ?

          這個(gè)問題是由于SWAP分區(qū)不夠的原因造成的,那就增加一個(gè)SWAP分區(qū)


          ?

          1 :采用文件的方式增加swap分區(qū)

          Dd if=/dev/zero of=/tmp/tmp.swap bs=1M count =100( 建立一個(gè)100M的文件)

          mkswap /tmp/tmp.swap( 標(biāo)識(shí)swap文件)

          swapon /tmp/tmp.swap( 激活swap)

          修改/etc/fstab文件增加一行

          ?

          /tmp/tmp.swap swap swap defaluts 0 0

          Swapon –s 查看當(dāng)前的swap分區(qū)情況

          發(fā)現(xiàn)已經(jīng)有2個(gè)SWAP分區(qū)了,空間這下子夠了,可以繼續(xù)安裝了

          ?

          2 :也可已采用直接增加SWAP方式(我沒有采用這樣的辦法)

          ?

          ?

          ?

          ?

          ?

          ?

          posted on 2006-10-23 11:13 小小程序程序員混口飯吃 閱讀(2183) 評(píng)論(0)  編輯  收藏 所屬分類: oracle
          主站蜘蛛池模板: 扬州市| 石泉县| 天镇县| 文化| 晋江市| 白水县| 长海县| 高碑店市| 灯塔市| 穆棱市| 卢龙县| 禄劝| 行唐县| 内江市| 潮安县| 穆棱市| 轮台县| 平和县| 精河县| 鄂伦春自治旗| 微博| 湘阴县| 西和县| 长垣县| 渝北区| 平顺县| 大庆市| 沾益县| 乌兰县| 石楼县| 漠河县| 丹阳市| 祁门县| 二连浩特市| 东至县| 高邑县| 凤庆县| 吉水县| 克什克腾旗| 准格尔旗| 自治县|