文档详情

(oracle安装步骤.doc

发布:2017-01-20约1.28万字共9页下载文档
文本预览下载声明
1. 建议完全方式安装Linux 2.视窗方式运行Linux,如果不是视窗,可以更改一下配置使启动的时候变为图形方式,配置如下 #vi /etc/inittab [root@localhost ~]# vi /etc/inittab # # inittab This file describes how the INIT process should set up # the system in a certain run-level. # # Author: Miquel van Smoorenburg, miquels@ # Modified for RHS Linux by Marc Ewing and Donnie Barnes # # Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:5:initdefault: #将此处改为 id:3:initdefault: # System initialization. si::sysinit:/etc/rc.d/rc.sysinit l0:0:wait:/etc/rc.d/rc 0 3. 新建一个oracle用户,新建用户密码为oracle。 [root@localhost ~]# useradd oracle [root@localhost ~]# passwd oracle Changing password for user oracle. New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: passwd: all authentication tokens updated successfully. 4.新建一个dba组 [root@localhost ~]# groupadd dba 5.将oracle用户加入dba组 [root@localhost ~]# usermod -G dba oracle ------说明:此步如果写为 usermod -G oracle dba将会导致如下错误循环 [oracle@localhost oracle10files]$ ./runInstaller Starting Oracle Universal Installer... Checking installer requirements... Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2 Passed All installer requirements met. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-09-08_01-21-44PM. Please wait ...sh: /tmp/oracle10files/install/unzip: Permission denied Error in writing to directory /tmp/OraInstall2011-09-08_01-21-44PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue. : Success 6.建立oracle安装目录/oracle,和数据库安装目录/oradata [root@localhost ~]# mkdir /oracle [
显示全部
相似文档