This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Where to install Oracle in Solaris. Under users home? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "Where to install Oracle in Solaris. Under users home?" Watch "Where to install Oracle in Solaris. Under users home?" New topic
Author

Where to install Oracle in Solaris. Under users home?

David Rocks
Ranch Hand

Joined: Apr 24, 2001
Posts: 160
Hi,
Just a simple question. I have just got my first Solaris box to install our java/oracle/apache/tomcat software on.
When i try to install oracle it stops me doing it as root. But when i create a user it wants to install the software under the users home. Is this normal pratice? Would it not be better to install it under a directory at root creating a directory that could be read by other users? Or should i create an oracle user and put my oracle install direcly under that with oracle admin user group. I just don't know what standard unix architecture is?
Any help would be greatly appreciated
david
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12510

It's not uncommon for servers and daemons to install under a user account rather than as root. This prevents them from being abused by the Bad Guys (or at least reduces opportunities).
It's not a problem for something like a DBMS, because the actual communication between clients and the DB server is going on via pipes or other channels, so the only cases where a user would be affected by the access rights of the DBMS account are things like example files (which should be 744) and shared libraries (755).


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7231

There are lots of opinions about the "best place" to put these products. You can certainly modify /etc/passwd later on so the "orauser" account or whatever it's called will go where you like.
From an aesthetic standpoint, I would prefer to install the oracle binaries in /opt, but keep the orauser account in /export/home. Unless oracle's doing something really bizarre these days, it does not install its binaries or database structure under orauser.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
 
 
subject: Where to install Oracle in Solaris. Under users home?
 
Threads others viewed
How to make directories
New to Linux!!!
running Tomcat from jsvc daemon as user tomcat
Create directory under root (/)?
installing java on fedora
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture