在linux下建立网站详细过程(3)

<2>安装Oracle服务器端 -- 用于web server与db server 使用一台服务器上、db server

(1)安装oracle
用oracle用户登陆
进入X_window
启动终端
cd /Oracle8iR2
运行./runInstaller开始安装
Welcome:
按next
File Locations:
按next
UNIX Group Name:
输入dba,按next
出错,提示要以root权限运行/u1/oracle/8i/orainstRoot.sh
CTRL+ALT+F2,打开一个新的控制台(字符窗口)
以root登录
[root@wapdb /root]# cd /u1/oracle/8i/
这时/u1/oracle/8i/目录下有一个文件orainstRoot.sh,运行它
[root@wapdb /8i]# ./orainstRoot.sh
CTRL+ALT+F7,回到安装界面(图形窗口)
按Retry按钮,就可以继续安装了,
Available Products:
选Oracle8i Enterprise Edition 8.1.6.1.0,选择安装server(服务器端)按next
Installation Types:
方法1:选Typical(540MB),按next,这时,屏幕右上角出现一个进度标尺
这里可以选制订安装 来指定语言
Database Identification:
Global Database Name:输入dba(可以任意)
SID:保留orcl
按next
Database File Location:
任意目录,本例设为“/u1/oracle/8i/”,按Next,这时,屏幕右上角进度标尺
继续前进
出现Summary,对你想要安装的产品作一个总结
按Install,出现Install画面,等待... 可以看到窗口底部提示的安装等log
文件目录,可供以后查询。
弹出Setup Privileges窗口
提示:在安装继续进行之前,需要以root运行一个脚本
“/u1/oracle/8i//root.sh”,
CTRL+ALT+F2,回到刚才运行的第2个终端窗口
以root权限执行该文件,
[root@wapdb /8i]# sh root.sh
屏幕显示:
Enter the full pathname of the local bin directory:[/usr/local/bin]:
回车
系统开始执行一些动作,执行完毕,CTRL+ALT+F7按返回OUI,按OK。
Database Creation Progress开始,逐步进行以下4个过程
Creating and starting Oracle instance
Copying database files
Initializing database
Database creation completed
以上4个过程完成,弹出Oracle Database Configuration Assistant Alert窗
口,提示:数据库创建完成,告诉你数据库的一些基本信息
global databse name:dba
database system identifier(SID):orcl
SYS account password:change_on_install
SYSTEM account password:manager
按ok
End of Installation,按Exit退出OUI,完成安装

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wwwxzz.html