Debian4.0 install oracle10g -- Debian technology of the Linux release version. For details, refer to the following section. Author yipinyi tea
It was installed five times before oracle was installed securely and never delayed. I have found a lot of information and installation methods on the Internet, and none of them can completely solve the problem. Finally, we can only get the power of the family.
1. Do not try the machine configuration before installation. 512 memory, 1 GB swap, and about MB temp.
If it is not enough, add it by yourself. You can also create a new temp
# Mkdir/opt/tmp
# Chown root. root/opt/tmp/
# Chmod 1777/opt/tmp
# Echo TEMP
# Export TEMP =/opt/tmp
# Export TEMPDIR =/opt/tmp
System Parameter Adjustment
Set shell restrictions and add them in/etc/security/limits. conf.
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
Modify login settings,/etc/pam. d/login, and add
Session required/lib/security/pam_limits.so
Add the following statement to/etc/profile:
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Ii. Installation
The required software packages are # apt-get install gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif3 libaio1 libstdc ++ 5 gawk
The system has the following groups and users:
# Grep dba/etc/group
# Grep oinstall/etc/group
# Grep nobody/etc/group
# Id oracle
# Id nobody
Switch to root and add an oralce account
# Su-root
# Groupadd dba # group of users to be granted SYSDBA system privilege
# Groupadd oinstall # group owner of Oracle files
# Useradd-c "Oracle software owner"-g oinstall-G dba-d/opt/oracle
# Passwd oracle
Enter the oracle Password
************
Add nobody user group:
# Groupadd nobody
Add the nobody user to the new nobody group.
# Usermod-G nobody
Create an oracle directory
# Su root
# Mkdir/opt/oracle
# Chown-R oracle. oinstall/opt/oracle
Mkdir-p/u01/app
Chown-R oracle. oinstall/u01/app
Debian requires the following operations:
# Ln-s/usr/bin/awk
# Ln-s/usr/bin/rpm
# Ln-s/usr/bin/basename
# Ln-s/etc/rc. d
Simulate the redhat-3 for installation, create a new file/etc/redhat-release, and write the following:
Red Hat Enterprise Linux AS release 3 (Taroon)
Prepare the Installation File in advance, which is officially available in oracle and also available in cn99. download the file and decompress it to the user directory.
Switch to the oracle user for Installation
Pay attention to the problem of Chinese display. Do not use the jre that comes with oracle.
My machine jre is installed by apt, find the jre directory, and then
$./RunInstaller-jreLoc/usr/lib/jvm/java-6-sun-1.6.0.00/jre
The remaining installation interfaces are the same as those for windows. They are all in Chinese. The next step is the next step.
The maximum permission is required to execute two shells. I have not considered what to do.
3. Start
Oracle STARTUP script/etc/init. d/oracle