快速业务通道

Install Oracle(Two) - Oracle11g on Ubuntu Linux 8

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-30
hown -R oracle:oinstall /opt/oracle Step Eleven 1. Login as robert(administration), export DISPLAY=:0.0
run xhost 3. Login as oracle, Before login, you maybe need activate the oracle user. sudo usermod -U oracle su oracle export DISPLAY=127.0.0.1:0.0 Fire up the installer as the oracle user itself. This is what you will probably see on the output window:
# su - oracle

$ cd /path/to/extracted/zip/file

$ ./runInstaller

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 80 MB. Actual 58633 MB Passed

Checking swap space: must be greater than 150 MB. Actual 2900 MB Passed

Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-07-11_04-38-56PM. Please wait ...

Oracle Universal Installer, Version 11.1.0.2.0 Production

Copyright (C) 1999, 2007, Oracle. All rights reserved.

ulimit: 1: Illegal option -u

ulimit: 1: Illegal option -u

rpm: To install rpm packages on Debian systems, use alien. See README.Debian.

error: cannot open Packages index using db3 - No such file or directory (2)

error: cannot open Packages database in /var/lib/rpm

rpm: To install rpm packages on Debian systems, use alien. See README.Debian.

error: cannot open Packages index using db3 - No such file or directory (2)

error: cannot open Packages database in /var/lib/rpm


拥有帝国一切,皆有可能。欢迎访问phome.net Because it is useing SSL to connect to EM. 

 

Discussion

 



The oracle user itself belongs to the db group, so it can login sqlplust or is used to startup or shutdown the db. You need add you own user to dba group. Then you can use robert to manage the oracle db. 

Add some environment variants in ~/.bashrc

#Oracle Related
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/11.1.0/db_1
export ORACLE_SID=orcl
export ORACLE_ORA=/opt/oracle/product/11.1.0/db_1/bin/network/admin
export PATH=$PATH:/opt/oracle/product/11.1.0/db_1/bin

The startup can be so simple like this,
1. Login with robert user.
2. lsnrctl start
3. sqlplus / as sysdba
sql> startup

The shutdown is like this,
1. Login with robert user.
2. sqlplus /as sysdba
sql> shutdown immediate
3. lsnrctl stop 拥有帝国一切,皆有可能。欢迎访问phome.net

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号