Solved

Oracle Installation on Solaris

Posted on 2000-04-05
5
368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Expert Comment

by:bhagawatula
ID: 2687479
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
ID: 2687532
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
ID: 2693286
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
ID: 2855612
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
ID: 2872420
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

622 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