安装Oracle10g Release 2 ---在Linux(Cent OS 4.7上)的准备工作

来源:百度文库 编辑:神马文学网 时间:2024/04/30 00:21:39
Checking the Hardware RequirementsThe system must meet the following minimum hardware requirements:
At least 1024 MB of physical RAM
The following table describes the relationship between installed RAM and the configured swap space       RAM                                                 Swap Space
      Between 1024 MB and 2048 MB    1.5 times the size of RAM
      Between 2049 MB and 8192 MB    Equal to the size of RAM      More than 8192 MB                        0.75 times the size of RAM ■ 400 MB of disk space in the /tmp directory
Between 1.5 GB and 3.5 GB of disk space for the Oracle software, depending on the installation type
1.2 GB of disk space for a preconfigured database that uses file system storage(optional)------------------------------------------------------To ensure that the system meets these requirements:1. To determine the physical RAM size, enter the following command:
# grep MemTotal /proc/meminfo
If the size of the physical RAM is less than the required size, then you must install more memory before continuing.
2. To determine the size of the configured swap space, enter the following command:
# grep SwapTotal /proc/meminfo
If necessary, refer to the operating system documentation for information about how to configure additional swap space.3. To determine the amount of disk space available in the /tmp directory, enter the following command:
# df -k /tmp
If there is less than 400 MB of free disk space available in the /tmp directory, then complete one of the following steps:
■ Delete unnecessary files from the /tmp directory to meet the disk space requirement.
■ Set the TMP and TMPDIR environment variables when setting the oracle user’s environment (described later).
■ Extend the file system that contains the /tmp directory, maybe need to contact System Administrator.
4. To determine the amount of free disk space on the system, enter the following command:
# df -k
The following table shows the approximate disk space requirements for software files for each installation type:Installation Type             Requirement for Software Files (GB)
Enterprise Edition                1.5
Standard Edition                 1.5
Custom (maximum)             1.5 5. To determine whether the system architecture can run the software, enter the following command:
# grep "model name" /proc/cpuinfoNote: This command displays the processor type. Verify that the
processor architecture matches the Oracle software release that you
want to install. If you do not see the expected output, then you
cannot install the software on this system.Checking the Software Requirements
Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to verify whether these requirements are addressed.Note: Oracle Universal Installer performs checks on your system to verify that it meets the listed requirements. To ensure that these checks pass, verify the requirements before you start Oracle Universal Installer.Item                                                       Requirement--------------------------------------------------------------------
Operating system                One of the following operating system versions:
                                          ■ Red Hat Enterprise Linux AS/ES 3.0 (Update 4 or later)
                                          ■ Red Hat Linux 4.0
                                          ■ SUSE Linux Enterprise Server 9.0 with SP 2 or later
                                          ■ Asianux 1.0
                                          ■ Asianux 2.0---------------------------------------------------------------------
Kernel version                   The system must be running the following kernel version (or a later version):
                                          Red Hat Enterprise Linux 3.0 and Asianux 1.0:(2.4.21-27.EL)
                                          Note: This is the default kernel version.
                                          Red Hat Enterprise Linux 4.0 and Asianux 2.0:(2.6.9-5.EL)
                                          SUSE Linux Enterprise Server 9.0:(2.6.5-7.201 )---------------------------------------------------------------------- Packages                           Red Hat Enterprise Linux 4.0 and Asianux 2.0:
                                          binutils-2.15.92.0.2-13.EL4
                                          compat-db-4.1.25-9
                                          compat-libstdc++-296-2.96-132.7.2
                                          control-center-2.8.0-12
                                          gcc-3.4.3-22.1.EL4
                                          gcc-c++-3.4.3-22.1.EL44
                                          glibc-2.3.4-2.9
                                          glibc-common-2.3.4-2.9
                                          gnome-libs-1.4.1.2.90-44.1
                                          libstdc++-3.4.3-22.1
                                          libstdc++-devel-3.4.3-22.1
                                          make-3.80-5
                                          pdksh-5.2.14-30
                                          sysstat-5.0.5-1
                                          xscreensaver-4.18-5.rhel4.2
                                          setarch-1.6-1                            ----------------------------------------------------------------------- To ensure that the system meets these requirements:
1. To determine which distribution and version of Linux is installed, enter the following command:
# cat /etc/issueNote: Only the distributions and versions listed in the previous table are supported. Do not install the software on other versions of Linux.2. To determine whether the required kernel is installed, enter the following command:
# uname -r
The following is sample output displayed by running this command on a Red Hat Enterprise Linux 3.0 system:
2.4.21-27.ELIn this example, the output shows the kernel version (2.4.21) and errata level (27.EL) on the system.
Make sure the kernel version does not meet the requirement specified earlier in this section!
3. To determine whether the required packages are installed, enter commands similar to the following:
# rpm -q package_nameConfiguring Name Resolution
When you run Oracle Universal Installer, an error may occur if name resolution is not
set up. To avoid this error, before you begin installation, you must ensure that host
names are resolved only through the /etc/hosts file.
To ensure that host names are resolved only through the /etc/hosts file:
1. Verify that the /etc/hosts file is used for name resolution. You can do this by
checking the hosts file entry in the nsswitch.conf file as follows:
# cat /etc/nsswitch.conf | grep hosts
The output of this command should contain an entry for files.
2. Verify that the host name has been set by using the hostname command as
follows:
# hostname
The output of this command should be similar to the following:
myhost.mycomputer.com
3. Verify that the domain name has not been set dynamically by using the
domainname command as follows:
# domainname
This command should not return any results.
4. Verify that the hosts file contains the fully qualified host name by using the following command:
# cat /etc/hosts | grep `eval hostname`
The output of this command should contain an entry for the fully qualified host name and for localhost.
For example:
192.168.100.16    myhost.us.mycompany.com myhost
127.0.0.1              localhost localhost.localdomain

If the hosts file does not contain the fully qualified host name, then open the file and make the required changes in it.
----------------------------------------------------------------    ----------------------------------------------------------------