Welcome 微信登录

首页 / 数据库 / MySQL / 红帽企业Linux 5.4下安装Oracle 10g 全程图解

1、安装环境:红帽企业Linux 5.4,内存不小于1G,硬盘要大于8G,在本环境中Linux的地址192.168.1.80。Oracle版本:10g安装步骤:2、修改hosts文件:[root@www.linuxidc.com ~]# hostnameEleven.localdomain[root@www.linuxidc.com ~]# vim /etc/hosts# Do not remove the following line, or various programs# that require network functionality will fail.127.0.0.1               Eleven.localdomain localhost.localdomain localhost::1             localhost6.localdomain6 localhost6192.168.1.80    Eleven.localdomain3、以root登录,挂载linux iso文件:[root@www.linuxidc.com ~]# mkdir /mnt/cdrom[root@www.linuxidc.com ~]# mount /dev/cdrom /mnt/cdrom/4、检查所需的软件包是否安装,如果还没安装,则需安装:sudo-1.6.9p17-5.el5.i386.rpmbinutils-2.17.50.0.6-12.el5.i386.rpmcompat-db-4.2.52-5.1.i386.rpmcompat-libstdc++-296-2.96-138.i386.rpmcontrol-center-2.16.0-16.el5.i386.rpmgcc-4.1.2-46.el5.i386.rpmgcc-c++-4.1.2-46.el5.i386.rpmglibc-2.5-42.i386.rpmglibc-common-2.5-42.i386.rpmlibstdc++-4.1.2-46.el5.i386.rpmlibstdc++-devel-4.1.2-46.el5.i386.rpmmake-3.81-3.el5.i386.rpmpdksh-5.2.14-36.el5.i386.rpmsysstat-7.0.2-3.el5.i386.rpmsetarch-2.0-1.1.i386.rpmlibXp-1.0.0-8.1.el5.i386.rpm(此软件包如不安装下面一步将无法进行)以上软件包都在系统光盘的Server的仓库里,因在此使用的是linux5.4光盘,不同的光盘镜像这些软件包的版本可能不相同。5、创建所需的用户和组:[root@www.linuxidc.com Server]# groupadd dba[root@www.linuxidc.com Server]# groupadd oinstall[root@www.linuxidc.com Server]# groupadd oper[root@www.linuxidc.com Server]# useradd -g oinstall -G dba,oper oracle给用户oracle设置密码,这里将密码设为oracle:[root@www.linuxidc.com Server]# passwd oracleChanging password for user oracle.New UNIX password:BAD PASSWORD: it is based on a dictionary wordRetype new UNIX password:6、[root@www.linuxidc.com Server]# vim /etc/sysctl.conf加入下面的内容:kernel.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default = 1048576net.core.rmem_max = 1048576net.core.wmem_default = 262144net.core.wmem_max = 2621447、[root@www.linuxidc.com Server]# vim /etc/security/limits.conf添加下面的内容:oracle              soft    nproc   2047oracle              hard    nproc   16384oracle              soft    nofile 1024oracle              hard    nofile 655368、[root@www.linuxidc.com Server]# vim /etc/pam.d/login添加下面的内容:session    required     /lib/security/pam_limits.sosession    required     pam_limits.so9、[root@www.linuxidc.com Server]# vim /etc/profile添加下面的内容:if [ $USER = "oracle" ]; thenif [ $SHELL = "/bin/ksh" ]; thenulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fifi
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 下一页
Oracle教程:设置iSQL*Plus以DBA或者OPER登录Oracle 10g数据库基础之基本DDL和DML语句相关资讯      Oracle安装教程 
  • Oracle教程之Oracle静默安装  (04/15/2013 16:32:58)
  • CentOS 5.5下安装配置Oracle数据库  (11/10/2012 10:38:26)
  • Linux下使用Oracle Instant Client  (10/09/2012 11:36:49)
  • CentOS 6.3 下安装Oracle 11.2  (12/21/2012 19:12:20)
  • 用NoMachine安装Oracle出错解决方  (10/13/2012 16:53:52)
  • openSUSE 12.1安装Oracle 10g  (10/06/2012 10:53:35)
本文评论 查看全部评论 (0)
表情: 姓名: 字数