Linux loaded oracle10.0.5 précis-writers

Source: Internet
Author: User
Tags dba window net xming


End busy at the bottom of the sky, long time no technical blog, while a little idle, simple write a little deployment notes

Because the company used to oracle10.0.5, to the customer over the deployment also requires this old version, helpless, installation package are not looking for


Oracle 10g installation on centos6.5:

#vim/etc/hosts must modify IP corresponding host name

#zcat 10gxxx.cpio.gz | CPIO-IDMV Decompression cpio.gz oracle10g Compression pack

#yum-y install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make Sysstat libxp* libXt* libXtst* libXp. i686 libxt.i686 libxtst.i686--setopt=protected_multilib=false

#vim/etc/sysctl.conf

kernel.shmmax = 68719476736   already, defines the maximum size, in bytes, of a shared memory segment.
The default is 64G, see memory changes. kernel.shmall = 4294967296   , which represents the total amount of shared memory (in pages) that the system can use at one time.
The default value is 4g, which is usually not required for modification. The kernel.shmmni = 4096      is used to set the maximum number of shared memory segments within a system range. The default value for this parameter is  4096 .
It is not usually necessary to change.
kernel.sem = 250 32000 100 128        indicates the amount of semaphore set net.ipv4.ip_local_port_range = 1024 65000    port range allowed for use net.core.rmem_default  = 4194304         the default Receive window size net.core.rmem_max = 4194304            maximum size of the receive window net.core.wmem_default = 262144           Default Send Window Size net.core.wmem_max = 262144            maximum size of the sending window vm.hugetlb_shm_group = 501         Add 501 to DBA group number, you need to change it according to your actual situation. 


#sysctl-P to make the configuration effective

#vim/etc/security/limits.conf Set system resource limits, add new

Oracle Soft NPROC 2047
Oracle hard nproc 16384
Oracle Soft nofile 1024x768
Oracle ha Rd Nofile 65536


#vim/etc/pam.d/login Pam security release, new plus

Session required/lib/security/pam_limits.so
Session required Pam_limits.so


#groupadd Oinstall

#groupadd DBA

#useradd-G oinstall-g dba Oracle

#groupadd Opar This user does not have to establish

#passwd Oracle

#vim/etc/profile Limit the use of other users, add new

if [$USER = "Oracle"]; Then
if [$SHELL = "/bin/ksh"], then
ulimit-p 16384
ulimit-n 65536
else
ulimit-u 16384-n 65536
   fi
fi


#vim/etc/redhat-release Modify the system markings because 10g is too old to recognize 6.5

Red Hat Enterprise Linux Server Release 4 (Tikanga)


#mkdir-P /data/oracle Create the installation directory, the data and Oracle software disk is best to open, improve efficiency

#chown-R Oracle:oinstall/data/oracle to the host group

#chmod-R 775/data/oracle

#vim/home/oracle/.bash_profile Configuring environment variables

#Oracle Settings
export tmp=/tmp;
Export tmpdir= $TMP;
Export oracle_base=/data/oracle;
Export Oracle_home= $ORACLE _base/product/10.2.0/db_1;
Export ORACLE_SID=ORCL;
Export oracle_term=xterm;
Export path=/usr/sbin: $PATH;
Export path= $ORACLE _home/bin: $PATH;
Export ld_library_path= $ORACLE _home/lib:/lib:/usr/lib;
Export classpath= $ORACLE _home/jre: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib;


#source/home/oracle/.bash_profile make configuration effective

#mv/root/database/data/oracle/

#chown-R Oracle:oinstall/data/oracle/database

Log in with the Oracle user, Xshell Remember to open X11 forwarding, if it is from the board to jump over SSH back to add-X open the window forwarding

$export Lc_all=en_us. UTF-8 window for English

$export display=localhost:10.0 set X11 to the port, corresponding to the xming creation number to be consistent

$xhost + allow X11 access, no unable is available

Then open xming in Windows, set the window Number 10

$/u01/app/oracle/database/runinstaller log in directly with an Oracle user and delete the Oracle folder in/TMP when the window is slow

Then will jump out of the graphical installation window, the rest is a mouse, no technical content

Start installation after the progress bar to 83% or so will jump out of collector Emdb error, this no impact, click Continue to


Linux loaded oracle10.0.5 précis-writers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.