In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Environmental requirements:
Xmanager Enterprise 4 VMware 11.0.0 build-2305329Red Hat Enterprise Linux Server release 5.8 (Tikanga) oracle 11g R2 for linux 64-bit http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_1of2.ziphttp://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_database_2of2.zip
Linux host related configuration
# vi / etc/sysconfig/network-scripts/ifcfg-eth0 configuration IP address IPADDR=192.168.1.15 NETMASK=255.255.255.0# vi / etc/sysconfig/network configuration Gateway HOSTNAME=dba.No1GATEWAY=192.168.1.254# vi / etc/resolv.conf configuration DNSnameserver 192.168.1.25 vi / etc/hosts Configure ip to resolve hostname 192.168.1.15 dba.No1 Test: # hostname dba.No1# ping dba.No1
Configure the linux server to support Xbrowser remote Desktop connections
Introduction to related configuration files
1. The default configuration files for the 2./etc/inittab-init process, the main configuration file of the 2./etc/inittab-init process, the custom configuration file of 3./etc/gdm/custom.conf-GNOME, view the defaults.conf from that software package: # rpm-qf / usr/share/gdm/defaults.conf gdm-2.16.0-59.el5
View the description of the gdm package:
# rpm-qf / usr/share/gdm/defaults.conf gdm-2.16.0-59.el5# rpm-qi gdm Name: gdm Relocations: (not relocatable) Version: 2.16.0 Vendor: Red Hat Inc.Release: 59.el5 Build Date: Saturday, October 29, 2011 05:54:09 Install Date: Monday, January 05, 2015 09:54:18 Build Host: hs20-bc2-3.build.redhat.comGroup: User Interface/X Source RPM: gdm-2.16.0-59.el5.src.rpmSize: 11673818 License: LGPL/GPLSignature: DSA/SHA1 On Wednesday, November 30, 2011, 22:34:06, Key ID 5326810137017186Packager: Red Hat, Inc. URL: ftp://ftp.gnome.org/pub/GNOME/sources/gdmSummary: GNOME display Manager. Description: Gdm (GNOME display Manager) is a highly configurable reimplementation of xdm (X display Manager). Gdm allows you to log in on a system running an X window system and supports several X sessions running simultaneously on your local machine.
Server configuration
1. Change the defaults.conf file permissions. The default is read-only chmod 700 / usr/share/gdm/defaults.conf2. Configure as follows-Edit / usr/share/gdm/defaults.confEnable=trueDisplaysPerHost=10Port=177AllowRoot=trueAllowRemoteroot=trueAllowRemoteAutoLogin=false3. Do the following configuration-edit / etc/gdm/ custom.confs [xdmcp] Enable=14. Do the following configuration-Edit / etc/inittab (do not modify the original setting, add the following line at the end) x:5:respawn:/usr/sbin/gdm# this setting can be tested without adding 5. Reload GNOME Desktop configuration init 3 nit 5
Mount the optical drive to install the software name required for the oracle software installation:
View the missing packages:
Rpm-Q binutils compat-libstdc++ elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc\ glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcclibstdc++\ libstdc++-devel make sysstat unixODBC unixODBC-devel# mkdir / mnt/cdrom # mount-t iso9660 / dev/cdrom / mnt/cdrom # cd / mnt/cdrom/Server/ use the rpm-ivh package name-install
Create oracle users and groups:
# groupadd oinstall# groupadd dba # useradd-g oinstall-G dba oracle
Use the xftp that comes with Xmanager Enterprise 4 to upload oracle software and extract it:
# mkdir / oraapp # cd / orapp# unzip linux.x64_11gR2_database_1of2.zip & & unzip linux.x64_11gR2_database_2of2.zip# chown-R oracle:oinstall / oraapp/database
Configure files related to system core parameters: / etc/sysctl.conf
# vi / etc/sysctl.conf fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576
Use the system core parameters to take effect:
# sysctl-p
Modify Shell Limits to improve the efficiency of Oracle execution:
# vi / etc/security/limits.conforacle soft nofile 131072oracle hard nofile 131072oracle soft nproc 131072oracle hard nproc 131072oracle soft core unlimitedoracle hard core unlimitedoracle soft memlock 50000000oracle hard memlock 50000000
Create an oracle installation directory
# mkdir-p / u01/app/oracle# chown-R oracle:oinstall / u0mm chmod-R 755 / U01
Modify the oracle environment variable:
# my oracle setexport TMP=/tmpexport TMPDIR=$TMPexport EDITOR=vimexport ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/11.2/db_1export ORACLE_SID=secoolerexport NLS_LANG=american_america.zhs16gbkexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/libexport PATH=$ORACLE_HOME/bin:$PATHumask 022
Test whether the oracle environment variable is configured successfully:
$echo $ORACLE_HOME/u01/app/oracle/product/11.2/db_1 [oracle@dba ~] $echo $ORACLE_BASE/u01/app/oracle
Enter the graphical environment to install
# xhost + # export DISPLAY=192.168.1.4:0.0# su-oracle # cd / oraapp/database/$. / runInstaller if you don't want oracle to check the prerequisites. / runInstaller-ignoresysprereqs
The first interface for oracle11gR2 installation:
Do not receive security updates next step
Choose to install only the database software next
The next step in installing a single instance database
Default next step
The next step of the enterprise edition
Default next step
Default next step
Default next step
Prerequisite check to ensure that all dependent packages are installed
Complete
During the installation process, you need to run two scripts as follows
/ u01/app/oraInventory/orainstRoot.sh/u01/app/oracle/product/11.2/db_1/root.sh runs the above two scripts as oracle user environment root: [root@dba Server] # su-oracle [oracle@dba ~] $su password: # cd $ORACLE_HOME#. / root.sh # cd $ORACLE_BASE#.. / oraInventory/orainstRoot.sh
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.