ORACLE配置.docx
《ORACLE配置.docx》由会员分享,可在线阅读,更多相关《ORACLE配置.docx(14页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、1说明:在用VNC安装ORACLE时,需要使用oracle用户启动vncserver(oracle用户的vnc文件)/home/oracle/.vnc/xstartup2、解压软件包:rootlc oracle#unzip 10201_database_linux32.zip3、修改系统内核:rootlc oracle# vi /etc/sysctl.conf 在文件中添加如下内容:kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 # semaphores: semmsl, semmns, semop
2、m, semmni kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default=4194304 net.core.rmem_max=4194304 net.core.wmem_default=262144 net.core.wmem_max=262144 rootlc oracle# /sbin/sysctl -p #使设置生效4、rootlc /# vi /etc/security/limits.conf 添加如下内容:*
3、soft nproc 2047* hard nproc 16384* soft nofile 1024* hard nofile 655365、rootlc /# vi /etc/pam.d/login添加如下内容:session required /lib/security/pam_limits.sosession required pam_limits.so 6、rootlc /# vi /etc/selinux/config SELINUX=disabled #关闭selinuxrootlc /# vi /etc/redhat-release Red Hat Enterprise Lin
4、ux Server release 4 (Tikanga) 将原来的版本 5.1 改成了现在的47、安装相关的开发包(rpm包):rpm -Uvh xxxx.rpmrootlc Server# rpm -q binutils compat-db control-center gcc gcc-c+ glibc li bXp-1.0.0 libstdc+ libstdc+-devel make openmotif-2.3.0binutils-2.17.50.0.6-5.el5 compat-db-4.2.52-5.1 control-center-2.16.0-14.el5 gcc-4.1.2-1
5、4.el5 gcc-c+-4.1.2-14.el5 glibc-2.5-18 libXp-1.0.0-8.1.el5 libstdc+-4.1.2-14.el5 libstdc+-devel-4.1.2-14.el5 make-3.81-1.1 openmotif-2.3.0-0.3.el5我已经安装完成了。8、创建Oracle用户组和必须的目录(1)、创建用户组rootlc /# groupadd dbagrouprootlc /# groupadd oinstall(2)、添加oracle用户rootlc /# useradd -g oinstall -G dbagroup oracler
6、ootlc /# passwd oracle(3)、创建oracle的安装目录rootlc /# mkdir -p /opt/oracle/product/10.2.0rootlc /# chown oracle:oinstall /opt/oraclechown -R oracle:oinstall /opt/oraclechmod -R 775 /opt/oracle9、为了防止安装oracle时出现乱码,先把语言环境改为英文,在终端里输入:# vi /etc/sysconfig/i18n LANG=”en_US.UTF-8 用oracle用户登陆,建立环境变量rootlc /# su -
7、 oracle oraclelc $ oraclelc $ vi .bash_profile 添加如下设置:# Oracle Settings TMP=/tmp; export TMP TMPDIR=$TMP; export TMP ORACLE_BASE=/opt/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/10.2.0/;export ORACLE_HOME ORACLE_SID=orcl;export ORACLE_SID ORACLE_TERM=xterm;export ORACLE_TERM PATH=$PA
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ORACLE 配置
限制150内