Oracle10g is successfully installed on debian4.0.

Source: Internet
Author: User
It was installed five times in debian4.0 to securely install oracle. I have found a lot of information and installation methods on the Internet, and none of them can completely solve the problem.

It was installed five times in debian4.0 to securely install oracle. I have found a lot of information and installation methods on the Internet, and none of them can completely solve the problem.

It was installed five times in debian4.0 to securely install Oracle. 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. Installing oracle 10g
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.