Some time ago, the ORACLE server was installed for the K3CLOUD project. Some colleagues were not familiar with LINUX and ORACLE, and now they have prepared documents for reference by later maintenance personnel.
ORACLE Installation
1. First install the dependency package (the newly installed centos is required and is not required by the current server)
2. Disable the firewall or set to open the corresponding ORACLE port. The configuration file is as follows:
The firewall visual interface is as follows:
3. Sum
The host names in the two files must be consistent.
4. Modify the ID to red hat.
5. Modify and execute the change
6. Create ORACLE users and groups and set passwords
-g oinstall -G dba -m -s /bin/ oracle
7. Set directory ownership and permissions. At that time, centos was installed in two directories: oracleinstall and oracledata.
oracle:oinstall / oracle:oinstall / -R / -R /oracledata
8. Modify the variable and execute it to make it take effect.
9. Switch to the English mode to prevent Garbled text. Switch to the oracle user for installation (you must log on to the server on the GUI)
$=/opt/oracle//runInstaller
10. Run and
ORACLE startup
1. Manual start
Oracle is not started at startup, and manual start is
Start the Monitoring Program
Start OEM:
2. Automatic Start
2.1 modify
2.2 modify. Find and modify
2.3 create a STARTUP script
2.4 Set permissions for the script
2.5 Establish services