"Shell" Oracle installation script-not completed

Source: Internet
Author: User


Automatically install the RPM packages required by Oracle (requires access to the extranet):


#! /bin/shrpmpack= "binutilscompat-libstdc++* Elfutils-libelfelfutils-libelf-develelfutils-libelf-devel-staticgccgcc-c++ glibcglibc-commonglibc-develglibc-headerskernel-headerskshlibaiolibaio-devellibgcclibgomplibstdc++libstdc++- Develmakesysstatunixodbcunixodbc-devel "for pack in $rpmpack; Do Rpm-qa | grep $pack >/dev/null If [$-eq 1];then echo "$pack not install" yum-y Insta ll $pack Fidone


User creation (not yet judged):

Groupadd oinstallgroupadd dbauseradd-g oinstall-g dba oracleecho "Zerostudy" | passwd--stdin oraclemkdir/u01chown-r oracle:oinstall/u01chmod-r 775/u01



This article from "Despite the wrong, let me wrong to die!" "Blog, be sure to keep this provenance http://hxw168.blog.51cto.com/8718136/1424626

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.