Linux Oracle 10 Gb software installation database

Source: Internet
Author: User

We recommend a very good Linux Oracle 10g system with great learning value. Here I will mainly explain the application of Linux Oracle 10g system, including introduction of Linux Oracle 10g knowledge. Install Linux Oracle 10g10. 2.0 on Fedora 10) the Linux Oracle 10g cannot be installed on Fedora 10 under the default system parameters. You need to perform the following operations:

1. Verify System Requirements
To verify that the system meets the minimum requirements of the Linux Oracle 10 Gb database, log on as the root user and run the following command.
To view the available RAM and swap space, run the following command:
# Grep MemTotal/proc/meminfo
MemTotal: 512236 kB
# Grep SwapTotal/proc/meminfo
SwapTotal: 1574360 kB

The minimum RAM required is 512 MB, and the minimum swap space required is 1 GB. For systems with RAM less than or equal to 2 GB, the swap space should be twice the number of RAM; for systems with RAM greater than 2 GB, the swap space should be one to two times the number of RAM. Linux Oracle 10 GB software also requires 2.5 GB of available disk space, while the database requires an additional 1.2 GB of available disk space. The/tmp directory requires at least 400 MB of available space. To check available disk space on the system, run the following command:
# Df-h
FilesystemSize Used Avail Use % Mounted on
/Dev/sda36.8G 1.3G 5.2G 20%/
/Dev/sda199M17M77M 18%/boot
This example shows that the/tmp directory does not have its own file system. This guide is part of the root file system .)

2. Modify system kernel parameters. 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
Net. core. rmem_default = 262144
Net. core. rmem_max = 262144
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
Note: an error message will be displayed during the installation of Ruyi settings. Modify the settings as prompted!
 
3. Add the following content to/etc/security/limits. conf.
* Soft nproc 2047
* Hard nproc 16384
* Soft nofile 1024
* Soft nofile 65536
 
4. Add the following line to/etc/pam. d/login.
Session required/lib/security/pam_limits.so
 
5. Disable SELINUX in/etc/selinux/config.
SELINUX = disabled
 
6. Install the following package
Yum-y install libXp libaio libxcb
Yum-y install compat-libstdc ++ * compat-libf2c * compat-gcc * compat-libgcc *
Note: If you do not install these packages, In the process of instllation, an error message is displayed: check failed <
"/Tmp/OraInstall2005-07-07_09-40-45AM/jre/1.4.2/lib/i386/libawt. so: libXp. so.6: cannot open shared object file: No such file or directory occurred .."
You can fix these problems by yum install or google
Note: DHCP is not work, choose static network configuration, copy the dhcp 'ifconfig-a' information and set the static configuration by hand
 
7. Create users and groups
#/Usr/sbin/groupadd oinstall
#/Usr/sbin/groupadd dba
#/Usr/sbin/useradd-m-g oinstall-G dba oracle
# Passwd oracle
# Id oracle
Uid = 501 (oracle) gid = 501 (oinstall) groups = 501 (oinstall), 502 (dba)

8. Create a directory and assign permissions to the user Linux Oracle 10 GB
# Mkdir-p/u01/app/oracle
# Mkdir-p/u02/oradata
# Chown-R oracle: oinstall/u01/app/oracle/u02/oradata
# Chmod-R 775/u01/app/oracle/u02/oradata

9. Modify the file/etc/redhat-rlease
Redhat-4 # since Linux Oracle 10g installation will detect the system version, fedora is not included

10. Log On With a Linux Oracle 10g account. Set environment variables:
# Su oracle
ORACLE_BASE =/u01/app/oracle; export ORACLE_BASE
ORACLE_SID = demo1; export ORACLE_SID

11. Copy the Linux Oracle 10 Gb Installation File to/home/oracle and decompress it.
Unzip 10201_database_linux32.zip-d/opt/

12. restart the computer and run the following command to install locally. This step is not required)
Xhost +

13. start installing Linux Oracle 10g
./RunInstaller
Select AL32UTF8 for the basic character set and Al16UTF16 for the national character set. The em is not garbled after installation)
Select archive mode
Note that two scripts, orainstRoot. sh and root. sh, are required during installation.
The following J2EE Applications have been deployed and are accessible at the URLs listed below.
ISQL * Plus URL:
Http://zxd.oracle.org: 5561/isqlplus
ISQL * Plus dba url:
Http://zxd.oracle.org: 5561/isqlplus/dba
Enterprise Manager 10g Database Control URL:
Http://zxd.oracle.org: 1158/em

  1. Linux Oracle can be installed on WMware virtual machines
  2. Folder to be created for installing Linux SVN
  3. Perform operations using the local Linux iso Image
  4. Linux WAS installation and preparation environment
  5. Linux yum powerful basic operations

Related Article

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.