Operating System Installation: CentOS 4.3

From HEWIKI
Jump to: navigation, search
The information on this page has been deprecated..

It is provided for informational purposes only.




Contents

Go Here Instead

Operating System Installation: CentOS_ 5.3







For setup instructions under CentOS 5.2, see Operating System Installation: CentOS 5.2

Introduction

We chose to use CentOS 4.3 as our Linux software. It has the same versions of install packages supported by Oracle as Red Hat EL3, however it is free. You may choose to use another Linux flavor, although we strongly recommend using a version that is supported by Oracle. If you are using or going to use another flavor of Linux please do not skip reading the CentOS installation as it contains configurations needed to run Oracle properly. However, you may have to adjust these configurations changes for your version. We will go through the installation and configuration of CentOS and Oracle now.

CentOS 4.3 Installation

Install CentOS 4.3 -- You may want to tweak what does and does not get installed for each catagory.

X Window System 
GNOME Desktop Environment 
Editors 
Graphical Internet 
Text-based Internet 
Server Configuration Tools 
Development Tools 
Administration Tools 
System Tools 

I've found it may not be necessary to install packages from GNOME and Graphical Internet, but if you have plenty of hdd space go ahead.

Set Kernel Parameters Modify the /etc/sysctl.conf file to include the lines appropriate to your operating system:

# Red Hat Enterprise Linux 4.0 and CentOS 4.x
kernel.shmmax = 536870912 ! This number should equal 1/2 of the physical RAM in the machine.
kernel.shmmni = 4096
kernel.shmall = 2097152
# 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

Run the following command to change the current kernel parameters: /sbin/sysctl -p

Disable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows: SELINUX=disabled Alternatively, this alteration can be done using the GUI tool (Applications > System Settings > Security Level). Click on the SELinux tab and disable the feature.

Setup -- I did a custom setup and didn't install gnome so I'm missing a few things. I just used 'yum install ......' to add missing packages. The documentation states that the following packages are required by the relevant operating systems:

  1. Red Hat Enterprise Linux 4.0 and CentOS 4.x
binutils-2.15.92.0.2-13
compat-db-4.1.25-9  -- not installed with default CentOS installation
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12  -- not installed with default CentOS installation
gcc-3.4.3-22.1
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1 -- not installed with default CentOS installation
libaio-0.3.96 -- not installed with default CentOS installation
libstdc++-3.4.3-22.1
libstdc++devel-3.4.3-22.1
make-3.79
openmotif21-2.1.30-11 -- not installed with default CentOS installation -- NOT SURE IF NEEDED by ORACLE.
pdksh-5.2.14-30
setarch-1.6-1
sysstat-5.0.5-1 -- not installed with default CentOS installation -- IS NOT NEEDED by ORACLE
xscreensaver-4.18-5.rhel4.2 --  IS NOT NEEDED by ORACLE


Choose the Server's Role

We are now ready to choose your server’s role and continue setup based on its role:

Reference

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox