Installing Oracle10g in Linux

Source: Internet
Author: User

Installation of Oracle10g in fedora8

1. Download Software

Go to the Website: http://www.oracle.com/policy/index.html to download
10201_database_linux32.zip

2. decompress the file

Unzip 10201_database_linux32.zip

3. Host filevi/etc/hostsGenerally, you do not need to modify it. You can also configure a real IP address in the format

<IP-address> <fully-qualified-machine-Name> <machine-Name>

4. Set Kernel Parameters

Add the following lines to the/etc/sysctl. conf
File: kernel. Shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
# Semaphores: semmsl, semmns, semopm, semmni
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

Bytes -------------------------------------------------------------------------------------------
The four parameters of SEM are semmsl (each user has the maximum number of semaphores );
Semmns (maximum number of system semaphores );
Semopm (number of calls to the semopm system each time );
Semmni (the maximum number of hard data sets in the system ).
Shmmax maximum shared memory 2 GB
You can set the physical memory to 536870912 if it is small.
Shmmni minimum shared memory is 4096kb.
All Shmall memory sizes
Bytes -----------------------------------------------------------------------------------------
Run the following command to change the current kernel parameters:
/Sbin/sysctl-P

 

5. Install the dependency package
Check whether the following package has been installed. If not, manually install the software. (Note: The software package compatible with fedora8 is downloaded) Binutils-2.15.92.0.2-10.EL4 Compat-DB Control-center Gcc-3.4.3-9.EL4 Gcc-C ++-3.4.3-9. EL4 Glibc Glibc-common Gnome-libs Libstdc ++-3.4.3-9. EL4 Libstdc +-devel-3.4.3-9.EL4 Make Pdksh Sysstat Xscreensaver-4.18-5.rhe14.2 Libaio Openmotif21-2.1.30-11.RHEL4.2   Below are the sites for downloading the RPM software package: Http://www.rpmfind.net/Www.rpmseek.com http://rpm.pbone.net/ 6. Create users and groups
Groupadd oinstall
Groupadd DBA

Useradd-G oinstall-g dba Oracle
Passwd Oracle
Enter your oralce user password.
7. Create a directory
Mkdir-P/u01/APP/Oracle/product/10.2.0/db_1
Chown-r oracle. oinstall/u01

8. Log On As the root user and run the following command:
Xhost +
If it is installed on the local machine, execute: xhost + localhost

9. Modify the/etc/RedHat-release file
Content:
Redhat-4

10. Add Environment Variables
Login as the Oracle user and add the following lines at the end of the. bash_profile file:
Log On As an oracle user: edit the. bash_profile file.
Content:
# Oracle settings
Oracle_base =/Oracle; export oracle_base
ORACLE_HOME = $ oracle_base/product/10.2.0/db_1; export ORACLE_HOME
Oracle_sid = miles; export oracle_sid
Path = $ path: $ ORACLE_HOME/bin; export path
# LD_LIBRARY_PATH = $ ORACLE_HOME/LIB; export LD_LIBRARY_PATH
# Export nls_lang = 'simplified China' _ China. zhs16gbk # export lang = zh_cn.gb18030export editor = Vim11. formal installation.

Log out of the system and Log On As the guest e user. The file database extracted in step 1 is cut to the Oracle user's home.
Run the following command:
Display =: 0.0; export displayxhost + localhost

Enter the database directory
Run
./For the installation steps of runinstaller, see the graphic interface.12. Subsequent work after installationIn order to facilitate future database management operations, it is usually based on the path of Oracle software installation and your actual needs/Home/Oracle/. bashrcAdd the following alias settings: alias udump = "CD $ oracle_base/admin/$ oracle_sid/udump" alias bdump = "CD $ oracle_base/admin/$ oracle_sid/bdump" alias DBS = "CD $ ORACLE_HOME/db_1/ DBS "alias udump =" CD $ oracle_base/db_1/rdbms/admin" 

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.