Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is “chmod” command?

1243


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1630


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1358


What do chmod command do?

1288


What does find command return in unix?

1203


What is the use of egrep command in unix?

1245


Is grep faster than awk?

1085


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1268


What is the pipe command?

1245


What is the size of time_t?

1271


Are you in or at the office?

1172


What is the nmap command?

1240


How many unix commands are there?

1208


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1328


What does pipe () return?

1129