Now more and more friends are using Ubuntu, including I have replaced Windows from the very beginning as my only desktop system, and it is working with Oracle, which is used by the company, oracle has many auxiliary tools in windows, while linux ~~ No matter what it is, after installing an OracleDatebase10gExpressEditon, Hq actually recognizes it as O9i. If it is depressing, first install a 10g Standard Edition forx86. 1. Prepare a for the environment and confirm you
Now more and more friends are using Ubuntu, including I have replaced Windows from the very beginning as my only desktop system, and it is working with Oracle, which is used by the company, oracle has many auxiliary tools in windows, while linux ~~ No matter what it is, after installing an Oracle Datebase 10g Express Editon, Hq actually identifies it as O9i. If it is depressing, install a 10g Standard Edition forx86 first.
1. Prepare the environment
A. Check whether your system meets the following requirements:
500 MB memory
1 GB swap Partition
Check that you have installed gcc, make, binutils, lesstif2, libc6, and rpm. Also, check whether the libaio package is installed.
* Make sure that the dns and/or your/etc/hosts file are correctly configured to ensure that your IP address and hostname can be correctly resolved.
B. user-created
We need to create an Oracle user and two groups for the installer. First, check whether they exist:
$ Grep oinstall/etc/group
$ Grep dba/etc/group
$ Grep nobody/etc/group
If they are not in the system, create them.
# Addgroup oinstall
# Addgroup dba
# Addgroup nobody
# Useradd-m-g oinstall-G dba-p passwd-d/home/Oracle-s/bin/bash Oracle
# Usermod-g nobody
Modify the corresponding permissions:
# Mkdir-p/opt/Oracle
# Mkdir-p/opt/oradata
# Chown-R Oracle: oinstall/opt/ora *
# Chmod-R 775/opt/ora *
C. System Environment Configuration
Add the following lines to the/etc/sysctl. conf file:
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Update the system and run:
# Sysctl-p
Add the following lines to the/etc/security/limits. conf file:
* Soft nproc 2407
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536
Establish a soft connection:
# Ln-s/usr/bin/awk
# Ln-s/usr/bin/rpm
# Ln-s/usr/bin/basename
D. Create a version file.
If you do not create a version file and run runInstaller, the following error occurs:
Checking requirements...
Checking operating system version: must be RedHat-2.1, redhat-3, SUSE-9, SuSE-8, UnitedLinux-1.0
Failed/etc/UnitedLinux-release UnitedLinux 1.0 (i586)
> VERSION = 1.0
> EOF
Then you can start the installation program normally. Be sure not to use vi to edit the file, otherwise it may cause an error in ORA-12547: TNS: lost contact.
Method 2:
Run runInstaller-ignoreSysPrereqs to skip the check.
Method 3:
Modify the parameter file/../disk1/install/linux/oraparam. ini of Oracle.
2. Install
Log on with an Oracle user and copy the installation file to a temporary directory.
Run the following command:
$./RunInstaller
The graphic installation interface is displayed, and the installation is configured as required. The installation directory uses the/opt/Oracle created above. At the end of the installation, there will be a place where you need to manually run the script, you must use the root user.