Solved

Oracle Installation on Solaris

Posted on 2000-04-05
5
363 Views
Last Modified: 2013-12-27
I'm installing Oracle 7.3.4 onto Solaris 2.7.

I've created an opt/bin directory but cannot seem to find out the correct way to include that directory in the users' path.  

I've done the setenv $PATH "usr/bin:..." but that is not working for some reason.  I've found in CDE menus how I can view all of the environment variables including the path but it doesn't allow me edit it, only view it.

Yes, I'm logged on as root.

Any ideas?
0
Comment
Question by:Red325M41
5 Comments
 
LVL 1

Expert Comment

by:bhagawatula
Comment Utility
Which shell? try giving
 setenv PATH "..." or, edit the users .cshrc (assuming u are using csh) (or whatever shell's init file) and add the path to the path variable. then resource the file "source .cshrc"
0
 

Author Comment

by:Red325M41
Comment Utility
I am using the csh but have not tried editing the .cshrc.  It'll be tomorrow before I can get back out to that site.

What do you mean my resourcing the "source .cshrc"?
0
 

Accepted Solution

by:
encilar earned 100 total points
Comment Utility
In installing the Oracle Database, first you have to create a separate user for that (like user oracle) using the "admintool" utility.  After you have created a user, you can then create a .profile wherein you can define all your environment variables like your PATH, SID, ORACLE_HOME, etc.
I hope this would help you to start your Oracle Installation.

Example .profile entry:
PATH=/usr/bin:/usr/ucb:/etc:.
export PATH
ORACLE_BASE=/home2/oracle;export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/oracle7.3.4;export ORACLE_HOME
PATH=$PATH:$ORACLE_HOME/bin;export PATH

0
 
LVL 5

Expert Comment

by:ianB
Comment Utility
We have opened up a new Solaris Topic Area.  

To increase the visibility of questions, we moved questions we felt
appropriate to the new Solaris Topic Area where they will be easier for
Solaris experts to find and answer. You may view your question at
http://www.experts-exchange.com/Computers/Operating_Systems/Solaris/

If you have any questions about the new topic area you can contact
Community Support by posting a comment at the following URL or by
emailing us at cs@experts-exchange.com.
http://www.experts-exchange.com/Customer_Service/Experts_Exchange/

Ian
Community Support @ Experts Exchange

0
 
LVL 12

Expert Comment

by:geotiger
Comment Utility
First, in your .dtprofile, uncomment or set

DTSOURCEPROFILE=true

secondly, find out which shell that you are using by

echo $0

If it is csh, you need to edit .cshrc, for other shells, you need to edit .profile to set your Oracle environment.

For ksh, use Encilar's example. For csh,

setenv ORACLE_HOME /your/oracle/home
setenv ORACLE_SID your_sid
setenv PATH $PATH:$ORACLE_HOME/bin

0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now