Sunteți pe pagina 1din 43

16.

Screen: "Set Root Password"

Enter a secure password.

17. Check the box next to Software Development. Select Customize now. Click Next.
18. Select Development. Check the box next to Legacy Software Development.
19. Select Base System. Check the box next to Legacy Software Development. Click Optional
packages.
20. Check the box next to compat-db. Click Close.
21. Select Base System. Check the box next to System Tools. Click Optional packages.
22. Slide down and check the box next to sysstat. Click Close.
23. Click Next.
24. Click Next.
25. Installing Packages.
26. Click Reboot.
27. Click Forward.
28. Read the license agreement. If you agree, select Yes, I agress to the License Agreement.

Click Forward.
29. Click on the Firewall drop down menu and select Disabled. Click Forward.
30. Read the warning. Click Yes.
31. Click on the SELinux Setting drop down menu and select Disabled. Click Forward.
32. Read the warning. Click Yes.
33. Click Forward.
34. Set the correct date and time. Click Forward.
35. Click Forward.
36. Read the warning. Click Continue.
37. Click Forward.
38. Click Finished. Click OK.
39. OS installation complete.

Login. User root. Password oracle.


40. Open a terminal window. Two options for opening a terminal window:

1. Right click on the desktop and select Open Terminal.


2. From the menu bar select Applications -> Accessories -> Terminal.
41. Install additional RPMs needed for the Oracle Database installation.

Mount the OS installation media.

In the open terminal window execute these commands:

mkdir /media/cdrom
mount -t iso9660 -o ro /dev/cdrom /media/cdrom
cd /media/cdrom/Server
42. Install RPM libaio-devel.

Execute:

rpm -ivh libaio-devel*rpm


43. Install RPMs unixODBC and unixODBC-devel..

Execute:

rpm -ivh unixODBC-2*rpm unixODBC-devel-2*rpm


Back to Topic List

Perform Linux operating system pre-installation steps for Oracle Database


11g

Perform the following steps:

1. As root, open a terminal window and perform these steps:

Edit /etc/hosts. The file should contain text similar to the following:

127.0.0.1 localhost.localdomain localhost


192.168.203.11 stctestbox01.us.oracle.com stctestbox01
2. Now check /etc/hosts the network settings are good.

Issue these commands in a terminal window.

hostname
cat /etc/hosts | grep `eval hostname`

Note: The character before eval and after hostname above is not a single quote, it is a grave
accent. On a standard US keyboard, the key for the grave accent is in the upper left-hand corner,
on the same key as the tilde.

The results should be similar to the following:

stctestbox01.us.oracle.com
192.168.203.11 stctestbox01.us.oracle.com stctestbox01
3. Configure the kernel.

Edit /etc/sysctl.conf.

Add the following to the file:

# Kernel paramaters required by Oracle 11gR1


fs.file-max = 6553600
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
4. For the /etc/sysctl.conf changes to take effect now issue this command.

sysctl -p
5. Edit /etc/security/limits.conf

Add these lines:

oracle soft nproc 2047


oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
6. Edit /etc/pam.d/login

Add these lines:

session required /lib/security/pam_limits.so


session required pam_limits.so
7. Edit /etc/profile

Add these lines:

if [ $USER = "oracle" ]; then


if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
8. Create the operating system user to own the software installation and the supporting groups.

groupadd oinstall
groupadd dba
groupadd oper
useradd oracle
usermod -g oinstall -G dba,oper,oracle oracle
passwd oracle
9. Edit /home/oracle/.bash_profile

Add these lines:

umask 022

ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin:$PATH

export PATH
export ORACLE_BASE ORACLE_HOME ORACLE_SID
10. Create the software installation directory.

mkdir -p /u01/app
chown root:oinstall /u01/app

S-ar putea să vă placă și