日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

[转]在Fedora上安装Oracle 11g XE

發布時間:2025/3/20 编程问答 23 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [转]在Fedora上安装Oracle 11g XE 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

在某處看到一篇介紹關于oracle- 11g xe在fedora上安裝的文章,轉載過來。


原文地址:http://blog.mclaughlinsoftware.com/2011/09/27/oracle-11g-xe-on-fedora/


前5步是解壓,省略...

  • You need to drop down into a Terminal session, which you can launch by clicking onApplications,System Tools, and?Terminal?in the menu.
  • [plain] view plaincopy
  • sudo?rpm?-iv?oracle-xe-11.2.0-1.0.x86_64.rpm??


  • This command will install the packages in verbose syntax and display the following messages:

    [sudo] password for mclaughlinm: Preparing packages for installation... oracle-xe-11.2.0-1.0 Executing post-install steps... You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

  • This step requires that you assume the role of the?root?user, which can be done with this syntax:
  • [plain] view plaincopy
  • sudo?sh??

  • In this?root?shell, you run the Oracle 11g XE configuration with this command:

    [plain] view plaincopy
  • /etc/init.d/oracle-xe?configure??


  • The following are the text prompts that you accept to configure Oracle 11g XE:

    [text]?view plaincopy
  • <textarea?readonly=""?name="code"?class="plain">Oracle?Database?11g?Express?Edition?Configuration??
  • -------------------------------------------------??
  • This?will?configure?on-boot?properties?of?Oracle?Database?11g?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]:??
  • ???
  • Specify?a?port?that?will?be?used?for?the?database?listener?[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?11g?Express?Edition?to?be?started?on?boot?(y/n)?[y]:??
  • ???
  • Starting?Oracle?Net?Listener...Done??
  • Configuring?database...??
  • Starting?Oracle?Database?11g?Express?Edition?instance...Done??
  • Installation?completed?successfully.</textarea><br><br>??
  • After completing the configuration, you need to do two things. First, you need to modify the.bash_profilefile for your user (covered in the next step). Second, you need to reboot your system.

  • This step requires that you exit the?root?shell by typing the?exit?command. This should put you back into your administration account withsudoer?privileges. You use?vi?to edit and add the following to the.bash_profile?file.
  • [plain] view plaincopy
  • #?Oracle?Settings??
  • TMP=/tmp;?export?TMP??
  • TMPDIR=$TMP;?export?TMPDIR??
  • ???
  • ORACLE_HOSTNAME=localhost.localdomain;?export?ORACLE_HOSTNAME??
  • ORACLE_UNQNAME=DB11G;?export?ORACLE_UNQNAME??
  • ORACLE_BASE=/u01/app/oracle;?export?ORACLE_BASE??
  • ORACLE_HOME=$ORACLE_BASE/product/11.2.0/xe;?export?ORACLE_HOME??
  • ORACLE_SID=XE;?export?ORACLE_SID??
  • NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`;?export?NLS_LANG??
  • ORACLE_TERM=xterm;?export?ORACLE_TERM??
  • PATH=/usr/sbin:$PATH;?export?PATH??
  • PATH=$ORACLE_HOME/bin:$PATH;?export?PATH??
  • ???
  • LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;?export?LD_LIBRARY_PATH??
  • CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;?export?CLASSPATH??
  • ???
  • if?[?$USER?=?"oracle"?];?then??
  • ??if?[?$SHELL?=?"/bin/ksh"?];?then??
  • ????ulimit?-p?16384??
  • ????ulimit?-n?65536??
  • ??else??
  • ????ulimit?-u?16384?-n?65536??
  • ??fi??
  • fi??


  • You can now log in to the Oracle database with the following syntax from the command line. You’ll be prompted for thesystem?password that you entered during the configuration steps. I’ll add another post on SQL Developer later this week.

    [sql]?view plaincopy
  • <textarea?readonly=""?name="code"?class="plain">sqlplus?system</textarea><br><br>??

  • 總結

    以上是生活随笔為你收集整理的[转]在Fedora上安装Oracle 11g XE的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。