databases:install_oracle_11gr2
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| databases:install_oracle_11gr2 [2020/05/24 13:56] – created bstafford | databases:install_oracle_11gr2 [2022/11/23 12:49] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Install Oracle 11gR2====== | ======Install Oracle 11gR2====== | ||
| - | =Overview= | + | |
| This page shows how to install 64bit Oracle 11gR2 SP3 on CentOS 6 64bit. | This page shows how to install 64bit Oracle 11gR2 SP3 on CentOS 6 64bit. | ||
| - | =Prerequisites= | + | =====Prerequisites===== |
| - | You must have a CentOS machine already set up in accordance with the "[[Install CentOS 6]]" | + | You must have a CentOS machine already set up in accordance with the [[linux: |
| It is assumed that the system has a blank 80G+ disk attached to it at /dev/sdc. | It is assumed that the system has a blank 80G+ disk attached to it at /dev/sdc. | ||
| - | =Download Installers= | + | ====Download Installers==== |
| For this guide, we assume that installer has been downloaded and is in < | For this guide, we assume that installer has been downloaded and is in < | ||
| Line 15: | Line 15: | ||
| * Main Oracle Database download page is [http:// | * Main Oracle Database download page is [http:// | ||
| - | =Preparation= | + | =====Preparation===== |
| We need to prepare the machine to have Oracle installed. We assume that a 110GB disk has been added to the system at /dev/sdc (sda is the system disk and sdb is the swap space disk). | We need to prepare the machine to have Oracle installed. We assume that a 110GB disk has been added to the system at /dev/sdc (sda is the system disk and sdb is the swap space disk). | ||
| Unless otherwise specified, the following should be run as the root user. | Unless otherwise specified, the following should be run as the root user. | ||
| - | ==Install Prerequisite Software== | + | ====Install Prerequisite Software==== |
| Oracle 11gR2 requires the following software packages to be installed on CentOS 6.4. | Oracle 11gR2 requires the following software packages to be installed on CentOS 6.4. | ||
| < | < | ||
| Line 28: | Line 28: | ||
| unixODBC-devel.i686 xdpyinfo</ | unixODBC-devel.i686 xdpyinfo</ | ||
| - | ==Create User and Groups== | + | ====Create User and Groups==== |
| Create user ' | Create user ' | ||
| * oinstall (group) 200 - The Oracle Inventory group | * oinstall (group) 200 - The Oracle Inventory group | ||
| Line 42: | Line 42: | ||
| < | < | ||
| - | ==Set Kernel Parameters== | + | ====Set Kernel Parameters==== |
| < | < | ||
| Line 60: | Line 60: | ||
| < | < | ||
| - | ==Set Shell Limits== | + | ====Set Shell Limits==== |
| Increase the shell limits for the oracle user to improve the performance of the software. | Increase the shell limits for the oracle user to improve the performance of the software. | ||
| < | < | ||
| Line 69: | Line 69: | ||
| EOF</ | EOF</ | ||
| - | ==Configure PAM== | + | ====Configure PAM==== |
| Modify PAM configuration | Modify PAM configuration | ||
| < | < | ||
| Line 75: | Line 75: | ||
| EOF</ | EOF</ | ||
| - | ==Edit Profile Scripts== | + | ====Edit Profile Scripts==== |
| Tweak the default profile script. | Tweak the default profile script. | ||
| < | < | ||
| Line 109: | Line 109: | ||
| echo " | echo " | ||
| - | ==Setup Oracle Disk== | + | ====Setup Oracle Disk==== |
| Now we setup the extra disk (/dev/sdc). | Now we setup the extra disk (/dev/sdc). | ||
| < | < | ||
| Line 164: | Line 164: | ||
| chmod -R 700 / | chmod -R 700 / | ||
| - | ==Open Firewall== | + | ====Open Firewall==== |
| The database listens on 1521 and the web ' | The database listens on 1521 and the web ' | ||
| < | < | ||
| Line 171: | Line 171: | ||
| service iptables restart</ | service iptables restart</ | ||
| - | =Install Oracle= | + | =====Install Oracle===== |
| - | ==Silent Install== | + | ====Silent Install==== |
| ===Create Response File=== | ===Create Response File=== | ||
| Before installing silently, you will need to setup a response file. Copy and paste the following into a file called / | Before installing silently, you will need to setup a response file. Copy and paste the following into a file called / | ||
| Line 670: | Line 670: | ||
| This indicates that the installation has finished. Now move onto the post installation section of this guide which will include running the scripts mentioned (orainstRoot.sh and root.sh). | This indicates that the installation has finished. Now move onto the post installation section of this guide which will include running the scripts mentioned (orainstRoot.sh and root.sh). | ||
| - | ==Manual Installation== | + | ====Manual Installation==== |
| Log into the GUI on the local console as the user ' | Log into the GUI on the local console as the user ' | ||
| < | < | ||
| Line 676: | Line 676: | ||
| The Oracle wizard should appear. Run through it setting the values as follows. | The Oracle wizard should appear. Run through it setting the values as follows. | ||
| - | ''' | + | **Configure Security Updates** |
| * Email: my_oracle_account@example.com | * Email: my_oracle_account@example.com | ||
| * Password: See Keypass | * Password: See Keypass | ||
| * Tick 'I wish to receive security updates via My Oracle Support' | * Tick 'I wish to receive security updates via My Oracle Support' | ||
| - | ''' | + | **Download Sofwtare Updates** |
| * Select 'Skip software updates' | * Select 'Skip software updates' | ||
| - | ''' | + | **Installation Option** |
| * Create and configure a database | * Create and configure a database | ||
| - | ''' | + | **System Class** |
| * Server Class | * Server Class | ||
| - | ''' | + | **Grid Installation Options** |
| * Single Instance Database Installation | * Single Instance Database Installation | ||
| - | ''' | + | **Install Type** |
| * Advanced Install | * Advanced Install | ||
| - | ''' | + | **Product Languages** |
| * English (United Kingdom) | * English (United Kingdom) | ||
| - | ''' | + | **Database Edition** |
| * Standard Edition One (4.42 GB) | * Standard Edition One (4.42 GB) | ||
| - | ''' | + | **Installation Location** |
| * Oracle Base: / | * Oracle Base: / | ||
| * Software Location: / | * Software Location: / | ||
| - | ''' | + | **Create Inventory** |
| * Inventory Directory: / | * Inventory Directory: / | ||
| * oraInventory Group Name: oinstall | * oraInventory Group Name: oinstall | ||
| - | ''' | + | **Configure Type** |
| * General Purpose/ | * General Purpose/ | ||
| - | ''' | + | **Database Identifiers** |
| * NOTE: Change ' | * NOTE: Change ' | ||
| * Global database name: database.example.com | * Global database name: database.example.com | ||
| * Oracle Service Identifier: sidney | * Oracle Service Identifier: sidney | ||
| - | ''' | + | **Configuration Options** |
| * Defaults (I assume it can be changed later) | * Defaults (I assume it can be changed later) | ||
| - | ''' | + | **Management Options** |
| * Use Oracle Enterprise Manager database control for database management. | * Use Oracle Enterprise Manager database control for database management. | ||
| - | ''' | + | **Database Storage** |
| NOTE: Notice that the default value needs to be changed to the one listed here. | NOTE: Notice that the default value needs to be changed to the one listed here. | ||
| * Specify Database file location / | * Specify Database file location / | ||
| - | ''' | + | **Backup and Recovery** |
| * Enable automated backups | * Enable automated backups | ||
| * Recovery area: / | * Recovery area: / | ||
| Line 734: | Line 734: | ||
| * password: <the password> | * password: <the password> | ||
| - | ''' | + | **Schema Passwords** |
| * Tick the "Use the same password for all accounts" | * Tick the "Use the same password for all accounts" | ||
| * Set the password to the standard database admin password. | * Set the password to the standard database admin password. | ||
| - | ''' | + | **Operating System Groups** |
| * Database administrator group: dba | * Database administrator group: dba | ||
| * Database operator group: oper | * Database operator group: oper | ||
| - | ''' | + | **Prerequisite Checks** |
| * For 11.2.0.3, the only warning will be the absence of pdksh. This can be ignored because we installed the " | * For 11.2.0.3, the only warning will be the absence of pdksh. This can be ignored because we installed the " | ||
| * Tick ' | * Tick ' | ||
| * Click ' | * Click ' | ||
| - | ''' | + | **Summary** |
| * Click ' | * Click ' | ||
| - | ''' | + | **Install Product** |
| * Watch as Oracle installs. | * Watch as Oracle installs. | ||
| - | ''' | + | **Install Summary** |
| * After taking some time of installing, you will get a summary screen. On this screen is a button called " | * After taking some time of installing, you will get a summary screen. On this screen is a button called " | ||
| * Ignore any popup windows telling you that ' | * Ignore any popup windows telling you that ' | ||
| Line 766: | Line 766: | ||
| * If the configuration assistants failed, say Yes to continuing. | * If the configuration assistants failed, say Yes to continuing. | ||
| - | =Post Installation= | + | =====Post Installation===== |
| If you installed Oracle silently using the response file, you must now run these as root. If you installed Oracle using the GUI, you have probably already run these as root and should not run them again. | If you installed Oracle silently using the response file, you must now run these as root. If you installed Oracle using the GUI, you have probably already run these as root and should not run them again. | ||
| Line 863: | Line 863: | ||
| < | < | ||
| - | =Get a Cloned/ | + | =====Get a Cloned/ |
| It takes about eight minutes to deploy an Oracle VM. | It takes about eight minutes to deploy an Oracle VM. | ||
databases/install_oracle_11gr2.1590328618.txt.gz · Last modified: (external edit)
