Install Oracle 10 Gb notes remotely in CentOS

Source: Internet
Author: User

# CentOS 4.7 Oracle 10.2.0.1

# Scp user @ host 10201_database_linux_x86_64.cpio/local

Decompress the package to/home/oracle/database.

# Cpio-ivmd <10201_database_linux_x86_64.cpio

#######################

# System Environment Settings

#######################

1) view the kernel version

# Cat/proc/version

# Uname-

# Uname-r

2) view the LINUX version

# Lsb_release-

Cat/etc/issue

The following two methods are only valid for RedHat Linux

Cat/etc/redhat-release

Rpm-q redhat-release

3) Check the swap partition size

# Free

Swapon

Cat/proc/swaps

Skip as required. If it is missing, add a swap partition.

You can create this file there.

# Df-ah

For example:

Create a m space under/tmp

(The mkswap swapon command is executed in the/sbin directory./mkswap)

# Cd/tmp

# Mkdir swaptmp

# Cd swaptmp

# Dd if =/dev/zero of =/tmp/swaptmp/newswap bs = 1024 count = 1000000

#./Mkswap/tmp/swaptmp/newswap

#./Swapon/tmp/swaptmp/newswap

Check whether Enabled

# Swapon-s

Added to/etc/fstab. swap is automatically enabled every time the instance is started.

4) install the required software packages for Oracle

Run the following command to check whether all required packages are installed.

# Rpm-q binutils compat-db compat-libstdc ++-33 control-center \

Gcc-c ++ glibc-common libgnome libstdc ++ \

Libstdc ++-devel make ksh sysstat gnome-screensaver setarch libXp

Output

Binutils-2.17.50.0.6-6.el5

Compat-db-4.2.52-5.1

Compat-libstdc ++-33-3.2.3-61

Control-center-2.16.0-16.el5

Gcc-4.1.2-42.el5

Gcc-c ++-4.1.2-42. el5

Glibc-2.5-24

Glibc-common-2.5-24

Libgnome-2.16.0-6.el5

Libstdc ++-4.1.2-42. el5

Libstdc +-devel-4.1.2-42.el5

Make-3.81-3.el5

Ksh-20060214-1.7

Sysstat-7.0.2-1.el5

Gnome-screensaver-2.16.1-8.el5

Setarch-2.0-1.1

LibXp-1.0.0-8.1.el5

If "not found" is not displayed, it indicates that it has been installed.

You can download the missing software package at http://rpm.pbone.net /.

Installation Error Solution

Detailed description of NOKEY and key ID

# Rps-ivh make-3.81-3.el5.x86_64.rpm-force-nodeps

  • 1
  • 2
  • 3
  • 4
  • Next Page

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.