First, related folders
Oracle_base is the root of Oracle, and Oracle_home is the catalog for Oracle products. Under Oracle_base is admin and product.
Oracle_home is the Oracle command, connection library, installation assistant, L monitoring and so on a series of things. Oracle_home is a little deeper than the Oracle_base directory. In other words: Oracle_home= $ORACLE _base/product/oracle_version.
Racle_sid This is the full name of the environment variable "Oracle System Identifier", which is used to identify different instances on a single server, by default the instance name is the value of Oracle_sid (that is, Instance_name= $ORACLE _sid. Of course, the instance name can also be different from the ORACLE_SID environment variable, as long as the initialization parameter file shows that the value of the specified instance_name parameter is different from the value of the ORACLE_SID environment variable. Under the Unix/linux platform, the main function of this environment variable is to hash the environment variable with oracle_home, and get a unique value to identify the shared memory segment and the SGA. The amount of space required for the corresponding folder.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/30/wKiom1STyhGQT2otAAF_WZJ6q2g205.jpg "title=" Image014.png "alt=" Wkiom1styhgqt2otaaf_wzj6q2g205.jpg "/>
For cases where the Orache home directory already exists, you can view the corresponding folder through "More/etc/oratab".
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/30/wKiom1STyiTCXvzfAAJ8yPV0Jdw568.jpg "title=" Image015.png "alt=" Wkiom1styitcxvzfaaj8ypv0jdw568.jpg "/>
1.1 Base Folder
Mkdir-p/opt/oraclechown-r oracle:oinstall/opt/oraclechmod-r 775/opt/oraclemkdir–p/opt/orainventorychown Oracle:oi Nstall/opt/orainventorychmod–r 775/opt/orainventory
1.2 Database and Backup recovery area
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/2D/wKioL1STyvzwo5wqAAG1Qc89twA725.jpg "title=" Image016.png "alt=" Wkiol1styvzwo5wqaag1qc89twa725.jpg "/>
Mkdir/oradatachown Oracle:oinstall/oradatachmod 775/oradatamkdir/recovery_areachown Oracle:oinstall/recovery_ Areachmod 775/recovery_area
Second, unzip the installation file
If the installed files are in. zip format using unzip to decompress, if the cpio.gz format is used with Gnuzip and CPIO–IDCMV, the installation package in our environment is in ZIP format. Please note the permissions and properties of the folder after decompression.
Su-oraclecd/opt/oracleunzip Linux.x64_11gR2_database_1of2.zipunzip linux.x64_11gR2_database_2of2.zipmv database/* ./RM–RF Database
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/2D/wKioL1STyz3iSiJtAAJJ2LHSSZU596.jpg "title=" Image017.png "alt=" Wkiol1styz3isijtaajj2lhsszu596.jpg "/>
Third, installation
The installation is simple, the Runinstaller file under the folder is executed, and the subsequent installation is the GUI interface. First, you will be prompted to enter your email address to receive Oracle's support email and update reminders, and the boxes below are used to enter the password for the technical support you purchased.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/30/wKiom1STysbDl4dlAADaEp5_7t0589.jpg "style=" float: none; "title=" Image018.png "alt=" Wkiom1stysbdl4dlaadaep5_7t0589.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/2D/wKioL1STy2rTqoQEAAJxOwNjXBU915.jpg "style=" float: none; "title=" Image019.png "alt=" Wkiol1sty2rtqoqeaajxownjxbu915.jpg "/>
Select New and configure the database.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/30/wKiom1STytnRfp76AAIgK8_SfJA822.jpg "title=" Image020.png "alt=" Wkiom1stytnrfp76aaigk8_sfja822.jpg "/>
Select server Mode.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/30/wKiom1STyuyyOdMmAAJ-hVXIqOs391.jpg "title=" Image021.png "alt=" Wkiom1styuyyodmmaaj-hvxiqos391.jpg "/>
Select the type of installation for the single instance.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/30/wKiom1STyvjwv7dzAAH5-94lTYY334.jpg "title=" Image022.png "alt=" Wkiom1styvjwv7dzaah5-94ltyy334.jpg "/>
Select the advanced installation configuration.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/2D/wKioL1STy6fCNpkfAAKHTtN4k0k163.jpg "title=" Image023.png "alt=" Wkiol1sty6fcnpkfaakhttn4k0k163.jpg "/>
Select the languages supported by the database (English and Simplified Chinese).
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/30/wKiom1STyxfTQxm_AALUityFGko466.jpg "title=" Image024.png "alt=" Wkiom1styxftqxm_aaluityfgko466.jpg "/>
Select the components that you want to install specifically.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/2D/wKioL1STy8ax7EqpAANyUk6JPd0572.jpg "title=" Image025.png "alt=" Wkiol1sty8ax7eqpaanyuk6jpd0572.jpg "/>
Configure the correct installation location (this configuration is ready in the installation environment).
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/30/wKiom1STyy6h5bG7AAK7a_YClwo165.jpg "title=" Image026.png "alt=" Wkiom1styy6h5bg7aak7a_yclwo165.jpg "/>
Configuring the Orainventory location (previously not configured to reconfigure)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/2D/wKioL1STy_CjIH34AALbaZLkdRc249.jpg "title=" Image027.png "alt=" Wkiol1sty_cjih34aalbazlkdrc249.jpg "/>
Select a common database schema (below is the Data Warehouse schema)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/2D/wKioL1STy_yjI0n6AALAKLa8VcQ245.jpg "title=" Image028.png "alt=" Wkiol1sty_yji0n6aalakla8vcq245.jpg "/>
Define global database name and SID name
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/2D/wKioL1STzAiQGsrXAALNOY94jLc550.jpg "title=" Image029.png "alt=" Wkiol1stzaiqgsrxaalnoy94jlc550.jpg "/>
Configure memory applications and character patterns and database security content
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/2D/wKioL1STzCnShPcaAAOoH4RwIYc967.jpg "title=" Image030.png "alt=" Wkiol1stzcnshpcaaaooh4rwiyc967.jpg "/>
How the configuration database is managed
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/30/wKiom1STy5KzxtnDAAN55LzNqLc186.jpg "title=" Image031.png "alt=" Wkiom1sty5kzxtndaan55lznqlc186.jpg "/>
Configuration database file system (ASM format not used here)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/2D/wKioL1STzEmw_eIKAAOzUL1C2hU994.jpg "title=" Image032.png "alt=" Wkiol1stzemw_eikaaozul1c2hu994.jpg "/>
Location and size of configuration database backup files
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/57/30/wKiom1STy7iCTbYpAAMgWk-eH6Y500.jpg "title=" Image033.png "alt=" Wkiom1sty7ictbypaamgwk-eh6y500.jpg "/>
Configure Database Operations Permission Group
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/30/wKiom1STy8fD9UfKAAMeRkyxl34927.jpg "title=" Image034.png "alt=" Wkiom1sty8fd9ufkaamerkyxl34927.jpg "/>
Start the installation of the database
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/2D/wKioL1STzKvj4S5-AAOX1QNa528793.jpg "style=" float: none; "title=" Image035.png "alt=" Wkiol1stzkvj4s5-aaox1qna528793.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/30/wKiom1STzAjjEolEAAP8IfanIM4753.jpg "style=" float: none; "title=" Image036.png "alt=" Wkiom1stzajjeoleaap8ifanim4753.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/2D/wKioL1STzKzi5DcxAAHgxe_RwdA943.jpg "style=" float: none; "title=" Image037.png "alt=" Wkiol1stzkzi5dcxaahgxe_rwda943.jpg "/>
Configure passwords for each user of the database
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/2D/wKioL1STzNDiHGZyAAJJBY1Iatw467.jpg "title=" Image038.png "alt=" Wkiol1stzndihgzyaajjby1iatw467.jpg "/>
Tip You are currently required to continue with the following script after the root user has executed these scripts until the final prompt for installation is complete.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/2D/wKioL1STzOyhfR9vAAHBx7LfVVA350.jpg "style=" float: none; "title=" Image039.png "alt=" Wkiol1stzoyhfr9vaahbx7lfvva350.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/30/wKiom1STzEmiHTFjAAQ3u7i4FHM390.jpg "style=" float: none; "title=" Image040.png "alt=" Wkiom1stzemihtfjaaq3u7i4fhm390.jpg "/>
Iv. Inspection
Tip When the installation is complete, the database starts automatically, and you can check whether the process starts by using the PS command or through the Client Connection tool.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/2D/wKioL1STzQSRPGZ-AAPAWxYfR0I607.jpg "title=" Image041.png "alt=" Wkiol1stzqsrpgz-aapawxyfr0i607.jpg "/>
Reference Links:
Connect to x GUI across OS
Standard installation method for ORACLE 11G under Linux (top)
This article is from the "virtual reality" blog, be sure to keep this source http://waringid.blog.51cto.com/65148/1591736
Standard installation method for ORACLE 11G under Linux (under)