Copy to install oracle10g for AIX5.3

Source: Internet
Author: User

Copy install oracle10g for AIX5.3 www.2cto.com #! /Usr/bin/kshx () {chdev-l aio0-P $ * if [$? = 0] then dspmsg smit. cat-s 25 763 'changes will become valid tive at next lead E m restart' fi} x-a minservers = '30'-a maxservers = '60'-a autoconfig = 'available' # chfs-a size = + 128 M/# chfs-a size = + 128 M/home echo "oradb: /oraapp/product/10.2/db1: N ">/etc/oratab mkgroup oinstallmkgroup dba x () {LIST = SET_A = for I in "$ @" do if ["$ I" = "admin = true"] then SET_A = "-a" continue fi LIST = "$ LIST \ "$ I \" "done eval mkuser $ SET_A $ LIST} x id = '000000' pgrp = 'oinstall' groups = 'oinstall, dba 'home = '/home/oracle' shell = '/usr/bin/ksh' fsize ='-1' data = '-1' stack ='-1' core = '-1' oracle cd/oradata ftpUser = rootftpPWD = root/usr/bin/ftp-n <EOF open 10.14.54.168 21 user $ ftpUser $ ftpPWDbin # passive # mkdir $ date0 # cd $ date0cd/logs/oradata get oradb.tar get oraapp.tar # get IBM.tar bye EOF cd/oradata & tar xvf/oradata/oradb.tar cd/oraapp & tar xvf/oradata/export chown-R oracle: oinstall/oradata & chown-R oracle: oinstall/oraapp & chmod-R 775/oraapp & chmod-R 741/oradata & cat>/home/oracle /. profile <EOF if [-s "\ $ MAIL"] # This is at Shell startup. in normalthen echo "\ $ MAILMSG" # operation, the Shell checksfi # periodically. PATH =/usr/bin:/etc:/usr/sbin:/usr/ucb: \ $ HOME/bin:/usr/bin/X11:/sbin :. umask 022 export TERM = xtermexport ORACLE_BASE =/oraappexport ORACLE_HOME = \ $ ORACLE_BASE/product/10.2/db1export ORACLE_SID = oradbexport NLS_LANG = export PATH =\$ PATH: \ $ ORACLE_HOME/binexport DISPLAY = 10.14.41.24: 0.0 EOF su-oracle <EOFlsnrctl startsqlplus/as sysdbastartup EOF

Related Article

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.