Briefly, how do you install Oracle software on UNIX.
Answer Posted / chinnilax
install Oracle on a text-mode Linux box
The environment:
1) Computer 1: my Fedora 7 linux. Installed in text-mode
only. No X-server, no-gnome and no-kde.
Computer 1 IP: 192.168.1.9
2) Computer 2: some computer with X-server capability. In
my case I used CYGWIN on a WinXP machine.
Computer 2 IP: 192.168.1.79
HowTO:
a) Setup Fedora 7 as usual:
============================================================
==============================
under /home/oracle... unpack oracle 10.2.0.1
unzip 10201_database_linux32.zip
and it will create a folder called "database"
and to install oracle we run: (after all the below setup be
finished)
cd database
./runInstaller &
------------------------------------------------------------
--
/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
------------------------------------------------------------
--
/sbin/sysctl -p
------------------------------------------------------------
--
/etc/security/limits.conf
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
------------------------------------------------------------
--
/etc/pam.d/login
session required /lib/security/pam_limits.so
------------------------------------------------------------
--
/etc/selinux/config
SELINUX=disabled
------------------------------------------------------------
--
# From Fedora 7 DVD
cd /media/dvd/Fedora
rpm -Uvh setarch-*
rpm -Uvh --force tcl-*
rpm -Uvh compat-db-*
rpm -Uvh --force libXau-devel-*
rpm -ivh gcc (install all the dependences... starting from
kernel-header)
yum install libXp libaio
------------------------------------------------------------
--
groupadd oinstall
groupadd dba
groupadd oper
useradd -g oinstall -G dba oracle
passwd oracle
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle.oinstall /u01
------------------------------------------------------------
--
/etc/redhat-release
redhat-4
------------------------------------------------------------
--
.bash_profile (oracle user)
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export
ORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export
LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rd
bms/jlib; export CLASSPATH
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
============================================================
==============================
b) On CYGWIN (X-Server box)
In my case... in WinXP... I ran:
Start -> Run -> "C:\cygwin\usr\X11R6\bin\startxwin.bat"
It will open a terminal screen:
==> you must authorize linux box (192.168.1.9) to connect
onto this X-server:
==> run: xhost +192.168.1.9
mson77@192.168.1.79 ~
$ ssh oracle@192.168.1.9
The authenticity of host '192.168.1.9 (192.168.1.9)' can't
be established.
RSA key fingerprint is
7a:43:73:7d:3c:a2:05:9a:4a:7f:6f:c1:23:08:f1:55.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.9' (RSA) to the list
of known hosts.
oracle@192.168.1.9's password:
[oracle@f7vmware ~]$ ll
total 4
drwxr-xr-x 6 root root 4096 2005-07-02 14:09 database
[oracle@f7vmware ~]$ DISPLAY=192.168.1.79:0.0; export
DISPLAY
[oracle@f7vmware ~]$ cd database/
[oracle@f7vmware database]$ ./runInstaller &
[1] 1594
[oracle@f7vmware database]$ Starting Oracle Universal
Installer...
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What does awk stand for?
What are the differences among a system call, a library function, and a unix command?
What is the use of cut command in unix?
What is the difference between awk and grep?
Why is grep called grep?
What is the command to find maximum memory taking process on the server?
Does cp command overwrite files?
Write a command that will display files in the current directory, in a colored, long format.
Can you explain a little bit about command substitution?
What does the command '$ls | wc –l > file1' do?
What are filter commands in unix?
Which command will print your home directory on screen?
What is the significance of the 'tee' command?
What is the use of finger command?
What is the use of the command 'ls -x chapter[1-5]' ?