选择显示字体大小

oracle 10g 安装 for linux86


   configuring linux for the installation of oracle database 10gpurpose
in this lesson, you learn how to configure linux and prepare for the installation of oracle database 10g.
topics
this lesson covers the following topics:

overviewprerequisiteschecking the hardware requirementsconfiguring the kernel and creating the oracle user
viewing screenshots
place the cursor on this icon to display all the screenshots in the lesson. you can also place the cursor on each individual icon in the following steps to see only the screenshot that is associated with that step.
overview
back to list

the lesson prepares the linux operating system for the installation of oracle database 10g.

prerequisites
back to topic list

before starting this lesson, you should have:

1.
installed an oracle database 10g certified version of linux on a platform certified for that version of linux. to see the latest certification information, use metalink and select certify & availability. you can also use otn.

 



checking the hardware requirements
back to topic list

the system on which you install linux must meet the following requirements:


512 mb of physical random access memory (ram)

1 gb of swap space (or twice the size of ram)

swap space between one and two times the size of ram (on systems with 2 gb or more of ram)

400 mb of disk space in the /tmp directory

2.1 gb of disk space for the oracle software and sample schema database

configuring the kernel and creating the oracle user
back to topic list

to configure the system, follow these steps (written for bourne, korn, and bash shells):

1.
open a terminal window and log in as the root user.

 
2.
the following local unix groups and user must exist on the system:

groups: oinstall and dba
user: oracle

optionally, the oper group can be created.

group: oper

we now create the three groups oinstall, dba, and oper:

/usr/sbin/groupadd oinstall/usr/sbin/groupadd dba/usr/sbin/groupadd oper



 
3.
create the operating system user oracle:

/usr/sbin/useradd -g oinstall -g dba,oper oracle




4.
enter the following command to set the password of the oracle user:

/usr/bin/passwd oracle



 
5.
with an editor of your choosing, open /home/oracle/.bash_profile. if you are using another shell, please add the entries to the appropriate file.

umask 022path=/bin:/usr/bin:/usr/local/bin:/usr/x11r6/binld_library_path=/usr/lib:/usr/x11r6/lib oracle_base=/u01/app/oracleoracle_home=$oracle_base/product/10.1.0/db_1oracle_sid=orclpath=$oracle_home/bin:$pathexport path ld_library_pathexport oracle_base oracle_home oracle_sid



 
6.
create the directory for the software installation and assign ownership to oracle:oinstall. in the example, you use /u01/app/oracle.

mkdir -p /u01/app/oraclechown -r oracle:oinstall /u01/appchmod -r 775 /u01/app



 
7.
set required kernel parameters:

parameter value---------------------------- -----------------kernel.semmsl 250kernel.semmns 3200kernel.semopm 100kernel.semmni 128kernel.shmall 2097152kernel.shmmax 2147483648kernel.shmmni 4096fs.file-max 6553.net.ipv4.ip_local_port_range 1024 65000

open the /etc/sysctl.conf file in any text editor and add lines similar to the following:

kernel.sem = 250 32000 100 128
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
fs.file-max = 65536
.net.ipv4.ip_local_port_range = 1024 65000

with specified values for these parameters in the /etc/sysctl.conf file, the values persist when you reboot the system.



 
8.
the kernel changes made previously take effect with each reboot.

issue this command to set the kernel parameters:

/sbin/sysctl -p



 
9.
log in as operating system user oracle. you must install the software from an x window system workstation, an x terminal, or a pc or other system with x server software installed.

 

installing oracle database 10g on linuxpurpose
in this lesson, you learn how to install oracle database 10g on linux.
topics
this lesson covers the following topics:

overviewprerequisitesinstalling oracle database 10g on linux
viewing screenshots
place the cursor on this icon to display all the screenshots in the lesson. you can also place the cursor on each individual icon in the following steps to see only the screenshot that is associated with that step.
overview
back to list

using the oracle universal installer, you install the oracle database 10g software and create a database.

prerequisites
back to topic list

before starting this lesson, you should have:

1.
completed the configuring linux for the installation of oracle database 10g lesson.

 



installing oracle database 10g on linux
back to topic list

to install the oracle software, you must use the gui installer.

1.
log in to the linux box as user oracle and mount the oracle database 10g cd. change directory to the cd and execute the script /mnt/cdrom/runinstaller from your home directory:


/mnt/cdrom/runinstaller



 



 
2.
at the welcome window, click next.



 
3.
you need to specify your inventory directory. the location should be set to /u01/app/oracle/orainventory. accept the default operating system group name, oinstall. then click next.



 
4.
the following window appears. leave this window open.



 
5.
you need to execute orainstroot.sh as the root user. open a terminal window and enter the following commands:

su<rootpassword>cd /u01/app/oracle/orainventory./orainstroot.shexitexit



 
6.
switch back to the universal installer window and click continue.



 
7.
at the specify file locations window, change the path to /u01/app/oracle/product/10.1.0/db_1. then click next.



 
8.
make sure the installation type enterprise edition is selected and click next.



 
9.
the installer now verifies that the system meets all the minimum requirements for installing and configuring the chosen product. please correct any reported issues before continuing. when the check successfully completes, click next.



 
10.
you want to create a starter database. make sure that create a starter database and general purpose are both selected. then click next.



 
11.
enter orcl.oracle.com in the global database name field, and select the create database with example schemas check box. then click next. if you plan to perform any of the multilingual lessons, you should select unicode standard utf-8 al32utf8 as the database character set.



 
12.
the select database management option window enables you to choose between database control or grid control of your database. in this example, you accept the default, which is database control. click next.



 
13.
specify the database file location as /u01/app/oracle/oradata and click next.



 
14.
in the specify backup and recovery options window, you do not want to enable automated backups at this time. accept the default and click next.



 
15.
enter and confirm a password for all accounts, and then click next.



 
16.
review the summary window to verify what is to be installed. then click install.



 
17.
the progress window appears.



 
18.
the configuration assistants window appears.



 
19.
your database is now being created.



 
20.
when the database is created, click ok.



 
21.
when the setup privileges window appears, open a new terminal window.



 
22.
you need to execute root.sh as the root user. from your terminal window, enter the following commands:

cd &#36;oracle_base/product/10.1.0/db_1su<rootpassword>./root.shexitexit



 
23.
the end of installation summary appears. the ports shown in the summary can be found in &#36;oracle_base/product/10.1.0/db_1/portlist.ini. click ok.



 
24.
click yes to exit.



 


place the cursor on this icon to hide all screenshots.


 


关键字 本文所属关键字

相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons