In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
First, install the oracle6.9 operating system
1. The hard disk is divided into 30g (all the following partitions are forced to be the main partition) / boot 200Mswap 4G/. The next step of installing all the remaining space will not be mentioned.
Check the graphical options basic system-- "backup client, large system performance, storage tools, security tools, performance tools, directory clients, hardware monitoring tools, network file system clients, debugging tools, Fcoe,Infiebnd support, java platform, compatible programs, basic servers--" CIFS, backup, server platform, system management tools-- "SNMP, system management desktop--" KDE, fonts. " Desktop, Desktop debugging, Universal Desktop
2. Turn off the firewall and temporarily modify selinuxservice iptables stop,chkconfig iptables offvim / etc/sysconfig/selinuxSELINUX=disabledsetenforce 0
3. Install the local yum source mount the local CD df-h rename the original yum source and customize a mv public-yum-ol6.repo public-yum-ol6.repo.bak
Vim / etc/yum.repos.d/local.repo [base] name=localbaseurl= file://'/media/OL6.9 x86_64 Disc 1 20170324'gpgcheck=0enabled=1
4. Install the dependency package yum-y install binutils-*yum-y install compat-libstdc++-*yum-y install elfutils-libelf-*yum-y install gcc-*yum-y install glibc-*yum-y install ksh-*yum-y install libaio-*yum-y install libgcc-*yum-y install libstdc++-*yum-y install make-*yum-y install sysstat-*yum-y install unixODBC-*yum install libXp*-yyum install-y glibc-kernheaders yum-y install compat-libcap1-1.10
5. Change the limit of oracle cat / etc/security/limits.conf#ORACLE SETTINGoracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536EOF
6. Add oracle's pam authentication cat / etc/pam.d/login#ORACLE SETTINGsession required / lib/security/pam_limits.soif [$USER = "oracle"]; then if [$SHELL = "/ bin/ksh"]; then ulimit-p 16384 ulimit-n 65536 else ulimit-u 16384-n 65536 fi fiEOF
7. Some system configurations that add oracle cat / etc/sysctl.conf#ORACLE SETTINGfs.file-max = 6815744 fs.aio-max-nr = 1048576 kernel.shmall = 2097152 # kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 25032000 100128 net.ipv4.ip_local_port_range = 900065500 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576EOFsysctl-p loading configuration file takes effect
8. Add oracle users, group groupadd oinstallgroupadd dbauseradd-g oinstall-g dba-m oracle
9. Create the oracle directory mkdir / opt/oraclemkdir / opt/oracle/oradatamkdir / opt/oracle/productchown-R oracle:oinstall / opt/oracle
10. Change the oracle user password and add the environment variable passwd oraclevim / home/oracle/.bash_profile#Oracle Home SettingsTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIRORACLE_UNQNAME=; export ORACLE_UNQNAMEORACLE_BASE=/opt/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOMEORACLE_SID=; export ORACLE_SIDORACLE_TERM=xterm; export ORACLE_TERMPATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATHNLS_LANG= "Simplified Chinese_china" .ZHS16GBK Export NLS_LANGLD_LIBRARY_PATH=$ORACLE_HOMEb:b:/usrb; export LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATHif [$USER = "oracle"]; thenif [$SHELL = "/ bin/ksh"]; thenulimit-p 16384ulimit-n 65536elseulimit-u 16384-n 65536fiumask 022fistty erase ^ H
Install oracle to upload the two files and unzip them to the opt directory p13390677_112040_Linux-x86-64_1of7.zip p13390677_112040_Linux-x86-64_2of7.zip. After decompression, there will be a database directory chown-R oracle.oinstall database/ terminal switch to the oracle user to start the installation to change the language, not then garbled export LC_CTYPE=C attention to switch to the root user to perform the installation successfully. 3. Create a listening netca pop-up graphical interface after installation default next step Port default 1521 Click next step, complete to open listening lsnrct start 4, create database dbca pop-up graphical interface click to create, you can wait about 10 minutes to complete. To see the performance of the specific virtual machine, log in to the database sqlplus / as sysdbastartup to open the database.
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.