二、Oracle软件安装
从10201_database_linux_x86_64.cpio软件包,解压出database文件夹到/home/oracle下。
使用oracle用户登录桌面,开一个终端窗口:
cd database
./runInstaller
将UNIX DBA Group选择为dba。设置sys、system用户密码。点击Next。

将群组选择为dba。点击Next。

鼠标勾选Checking Network Configuration requirements。点击Next。

点击Install。


出现了一个错误,网上说是个bug,点击继续。


点击OK。

新开个终端:
su - root
执行这两个脚本:
[root@localhost ~]# /u01/oracle/oraInventory/orainstRoot.sh
Changing permissions of /u01/oracle/oraInventory to 770.
Changing groupname of /u01/oracle/oraInventory to dba.
The execution of the script is complete
[root@localhost ~]# /u01/oracle/product/10.2.0/db_1/root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/oracle/product/10.2.0/db_1
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.sh script.
Now product-specific root actions will be performed.
The following J2EE Applications have been deployed and are accessible at the URLs listed below.

安装完成。
以下是一些组件的访问地址:
iSQL*Plus URL:
http://localhost:5560/isqlplus
iSQL*Plus DBA URL:
http://localhost:5560/isqlplus/dba
Enterprise Manager 10g Database Control URL:
http://localhost:1158/em
启动监听和em和isqlplus:
lsnrctl start
emctl start dbconsole
isqlplusctl start
更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-10/147652.htm
