The invention discloses a method for automatically deploying
Oracle rac environment based on a Linux
system. The method comprises the following steps of by utilizing a set of Linux shell scripts, automatically configuring
oracle user environment, changing account configuration, configuring a network, building a soft link of compress, changing shell limitation and
software package, checking an inner core of an operation
system and the like, installing JDK (
Java Development Kit), configuring a Hangcheck inner core monitoring module, building ssh mutual communication, configuring an NTP (
Network Time Protocol) time
server, configuring shared storage and configuring vncserver. The method disclosed by the invention is suitable for constructing
Oracle rac cluster
software environment under all
Linux OS, is good in popularity and generalization performance and provides a direct and easy-to-operate method for constructing the
Oracle rac cluster environment under a
system based on a self-carried general command; the labor cost is greatly lowered, wrong operation caused in manual construction of the environment is avoided, and the efficiency and reliability of configuration of cluster services are greatly improved.