ORACLE10G is installed on Centos6.4 and oracle10gcentos6.4
Note: This installation is only limited to the installation of ORACLE10G on Centos6. for installation of other versions of the operating system, please refer to the official oracle documentation for installation.
1. Basic Environment Settings
Set selinux to disabled. vi/etc/selinux/config
Find selinux configured as disabled
Set the command line to start vi/etc/inittable id: 3: initdefalut
Modify default id: 5 to id: 3
Disable firewall: chkconfig iptables off
Set host address: vi/etc/hosts
192.168.1.3 hsj3
Restart init 6
2. Create oracle users and groups
Groupadd dba
Groupadd oinstall
Useradd-g oinstall-G dba oracle
Passwd oracle
Create an oracle Installation Directory
Mkdir/u01
3. Configure environment variables for oracle users
Execute these two interfaces to configure Environment Variables
Su-oracle
Vi. bash_profile
ORACLE_BASE =/u01/app
ORACLE_HOME = $ ORACLE_BASE/oracle
ORACLE_SID = orcl
PATH = $ ORACLE_HOME/bin: $ PATH
LD_LIBRARY_PATH = $ ORACLE_HOME/lib: $ LD_LIBRARY_PATH
Displayed = 192.168.1.1: 0.0
Export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH LD_LIBRARY_PATH DISPLAY
Log out and log on to make the environment variable configuration take effect.
Exit
Su-oracle
Env | grep ORA
4. Upload the installation file and decompress it using the unzip command.
5. Move the decompressed directory to the/u01 directory.
Modify the chown-R oracle: oinstall/u01 group attribute
6. Install the required dependency packages. For more information, see the installation documentation.
Upload the dependent packages and install them using commands in sequence.
7. Configure Related Properties
Vi/etc/security/limits. conf
Vi/etc/sysctl. conf
Sysctl-p
Start a graphical listener on the windows platform and go to the windows graphical interface during installation.
9. modify the system version
Because the oracle10G version does not support 6
9 start to run the installation command./runInstaller
10. The next installation is a graphical interface, which is just a demonstration.
Here we only install the instance, and then install the database
Generally, you can simply click next to complete the installation.
11 use the dbca command to install the instance Database
Database installed
Common commands
1. Connect to the database and start the database.
Sqlplus/as sysdba
Startup
2. Start the listening service
Lsnrctl start
Lsnrctl stop
3. Configure the listener and Local Service name.
Netca
4. If the client cannot be connected, you can configure the listener and set the linux firewall. In the learning environment, you can directly disable the firewall.
Oracle 10g installation in centOS
You have a common problem. It is not difficult to solve this problem.
Oracle checks the/etc/redhat-release file (also available in CentOS because it is changed from Red Hat)
So you only need to change the content in/etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
After installing Oracle, you can change it back.
The graphical interface cannot be displayed when Oracle10g is installed on Linux as 4.
Configure graphical interface (X) to accept the default value unless the installer cannot identify your video card. If you download and install updates. Red Hat Enterprise Linux 3 Oracle 10g certified