Installing oracle on the SLES-10 character Interface
I read a post on the CU Forum <oracle 10g Installation Process on the Character interface under AIX>
Http://bbs.chinaunix.net/viewthr .. 1% 26 filter % 3 Ddigest
The installation speed is too fast. A command is completed in two or three minutes.
# Installing oracle with Linux characters
# Local hardware configuration:
* Hardware:
* CPU: ALTHON64-K8-2800 + box
* Motherboard: MSI K8T-NEO-V
* Hard drive: WDC WD1600BB-00GUA0 (160 GB)
* WDC WD1600JS-00MHB0 SCSI Disk Device
* Memory: Kingston 256 M DDR400 two
* Display: Philips 2017f6
* Graphics: NVIDIA GeForce FX 5700LE
* DVDROM 16X DVDRW Power Station nvwa Super King
* Recommended minimum configuration for installing Oracle 10g x86_64:
**************************************** **************************************** ***********
* Hardware Requirements Hardware
* The system must meet the following minimum hardware requirements:
* Requirement Minimum Value
* RAM 1024 MB
* Swap space Approx. twice the size of RAM
* Disk space in/tmp 400 MB
* Disk space for software files 3.5 GB
* Disk space for databases files 1.2 GB
**************************************** **************************************** ************
* Of course, MB of memory can also be installed.
Su-
Password
Ejcet pop up the drive and put it into the disc (My oracle-10g-r2 has been burned to the disc)
Ejcet-t reclaim the optical drive Tray
Mkdir/home/share/Oracle # create an empty directory/home/share/Oracle
Cd/home/share/Oracle/& # gzip-dc/media/Oracl-10_2-64bit/Oracl_Database_10g_release_2 [10.2.0.1.0] _ 64bit/10201_database_linux_x86_64.cpio.gz | cpio-div # To/home/share/oracle /# solve the oracle software package from the disc labeled as oracl-10_2-64bit to the current directory.
#/Home/share/Oracle/Oracle10g_64bit/database/welcome.html
# The Installation File directory contains welcome.html, which is a good way to learn oracle10gr2. All links open are English web pages.
# After xxx.html, add/cn or/global/cn and press enter to open the Chinese page.
Grep MemTotal/proc/meminfo # Memory
Grep SwapTotal/proc/meminfo # swap Partition
Df-k/tmp #/tmp directory idle Zone
Df ~ -K # Free Space of the disk (partition) in which the current user's home directory is located
Df/opt/oracle/-k # Free Space of the disk (partition) in which the oracle installation directory is located
### Yast> soft management> patttern> C/C ++ Compiler and Tools ### run yast. Software. software management. mode. Check all the compilation kits. This is required for graph installation. # Orarun official patch packages can also be installed together (different release versions) # libaio & libaio-devel are also required, the orarun patch is automatically installed on yast due to dependency issues.
Cat/etc/issue # Check the installed linux version
######################################## # Request message ################################### ######
### Welcome to SUSE Linux Enterprise Server 10 (x86_64)-Kernel r (l ).
###
######################################## #*********************################## #######################
Gcc -- version # gcc version requires 4.0.2 or above, which is the requirement of the suse-10.
######################################## # Request message ################################### ######
### Gcc (GCC) 4.1.0 (SUSE Linux)
### Copyright (C) 2006 Free Software Foundation, Inc.
### This is free software; see the source for copying conditions. There is NO
### Warranty; not even for MERCHANTABILITY or fitness for a participant PURPOSE.
######################################## #*********************################## #######################
* ***** The software and hardware environment required for oracle 10 Gb installation has been fully checked. Then we need to create a group and a user for the installation. ******
######################################## ######################################## ########################
### The Novell official patch package has already set the environment variables of oracle to be installed
######################################## ######################################## ########################
* The following groups and users must exist.
* The oinstall group (the oracle inventory group)
* The dba group (the OSDBA group)
* The oracle user (the oracle owner)
* If the preceding groups and users do not exist, use the following steps to create them.
* (1) first check whether these groups and users exist:
# Grep oinstall/etc/group
# Grep dba/etc/group
* (2) create groups and users required to install oracle
# Groupadd oinstall
# Groupadd dba
# Useradd-g oinstall-G dba oracle
# Id oracle check whether oracle belongs to the group oinstall and dba (# id oracle)
# Passwd oracle set a user password for oracle # passwd oracle enter the password twice.
######################################## ######################################## ########################
########## You only need to make some modifications. #########
Cp/etc/passwd/etc/passwd_bak
Vi/etc/passwd
# Change/bin/false at the end of the oracle line to/bin/bash so that oracle users have the logon permission.
#/Sbin/yast2-> "security and Users"-> "Edit and create groups" # Run yast> Users and groups> Edit> select System Users (System Users and system Group)
# Oracle users
# Login shell:/bin/bash
# The Default Group is oinstall.
######### Check the Operating System. modify a file and add SLES10 ###########
Cd/home/share/Oracle/Oracle10g_64bit/database/install/& cp oraparam. ini oraparam. ini_bak # Go To The install subdirectory of the oracle Installation File and back up the oraparam. ini file.
Vi oraparam. ini # modify this file
#### Use the following section # cancel #####
#### [Certified Versions]
#### Linux = redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2
#### Use the above section # cancel #####
### Add two sections:
[Certified Versions]
Linux = redhat-3, SuSE-9, SuSE-10, redhat-4, UnitedLinux-1.0, asianux-1
Linux-SuSE-10-optional
TEMP_SPACE = 80SWAP_SPACE = 150MIN_DISPLAY_COLORS = 256
/Usr/sbin/rcoracle start
Then exit the current user and Log On As an oracle user.
########## You only need to make some modifications. #########
Cp/etc/passwd/etc/passwd_bak
Vi/etc/passwd
# Change/bin/bash at the end of the oracle line to/bin/false so that oracle users have the logon permission.
#/Sbin/yast2-> "security and Users"-> "Edit and create groups" # Run yast> Users and groups> Edit> select System Users (System Users and system Group)
# Oracle users
# Login shell:/bin/bash
# The Default Group is oinstall.
######### Check the Operating System. modify a file and add SLES10 ###########
Cd/home/share/Oracle/Oracle10g_64bit/database/install/& cp oraparam. ini oraparam. ini_bak # Go To The install subdirectory of the oracle Installation File and back up the oraparam. ini file.
Vi oraparam. ini # modify this file
#### Use the following section # cancel #####
#### [Certified Versions]
#### Linux = redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2
#### Use the above section # cancel #####
### Add two sections:
[Certified versions]
Linux = redhat-3, SuSE-9, SuSE-10, redhat-4, UnitedLinux-1.0, asianux-1
Linux-SuSE-10-optional
Temp_space = 80swap_space = 150min_display_colors = 256
/Usr/sbin/rcoracle start
Then exit the current user and Log On As an oracle user.
######################################## ##### Image installation ############################### ##############
$ Startx
$ CD/home/share/Oracle/oracle10g_64bit/database/&./runinstaller # Now you have the software and hardware environment for installing the oracle-database-10g-r2. For graphical installation, you only need to log on to the installation directory using the Oracle user, run runinstaller, and then follow the prompts step by step.
# Note: Garbled characters are displayed incorrectly in the Chinese environment. You can change the user language to English for installation.
# Set the language environment
# Set both Lang and lc_all.
$ Export lang = en_us
$ Export LC_ALL = en_US
This is a temporary change to the user's language environment. After logon, it will be restored to the previous one.
If not, you can use yast to change the language environment. Then, log on again or restart your computer.
######################################## ######################################## #######################################
######################### L I n u x ########## ###############
######################## Key installation steps in the character environment ######## #################
Edit the Response File
This step is a key step for oracle Installation on the Character interface.
Go to the oracle 10 Gb installation directory and edit the response File
$ Cd/home/share/Oracle/Oracle10g_64bit/database/response/You Can See That oracle has prepared six response files. In fact, these files are templates used to install and configure oracle, they are custom. rsp dbca. rsp emca. rsp enterprise. rsp netca. rsp standard. rsp selects a simple response File enterprise. you can also select to edit several other response files based on the actual situation.
$ Cp custom. rsp myinst. rsp
$ Vi myinst. rsp
There are several changes that won't be changed. I noted them with # Two # numbers for later modification.
Cd .. go to the directory where the installation file is located
Run./runInstaller-silent-responseFile response/myinst. rsp after modification
Note: The last response/myinst. rsp is the relative path. You only need to provide the correct response file.
After running the command, the screen prompts:
End of install (the last two hundred words are omitted. There are four rows in total), which indicates that the file has been copied. Press enter. A prompt is displayed.
Then, go to the installation directory:
Cd/opt/oracle/product/10.2.0/db_1
Su
Password
./Root. sh
Press Enter as prompted.
In this way, the installation is successful under characters.
Follow-up work
Create a database.