The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
production server won't start please help me! NewSolarisAdmin SUN Solaris 3 05-21-2008 02:34 AM
MP-MPICH 1.5 (Production branch) iBot Software Releases - RSS News 0 02-02-2008 11:30 AM
help:comparing two directory tree structures only raj_thota Shell Programming and Scripting 7 10-24-2005 02:21 PM
Dominant Unix in production? etc UNIX for Dummies Questions & Answers 1 06-28-2005 12:52 PM
music production, unix nydel UNIX for Dummies Questions & Answers 1 04-08-2002 12:47 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-06-2006
jbrubaker jbrubaker is offline
Registered User
  
 

Join Date: Jun 2006
Location: New York
Posts: 25
Production Directory Structures

We (our company) has just purchased a new IBM unix machine. We have been doing some research and have found that it is NOT a good idea to put your own in-house-written applications under the existing file folders such as /usr or /bin ect. Instead you should place these applications in directories created below the /HOME directory. Is this correct??

Are there suggestions as to where to put your in house developed applications??

Thanks in advance for any replies.
  #2 (permalink)  
Old 07-06-2006
hu$h's Avatar
hu$h hu$h is offline
Registered User
  
 

Join Date: May 2006
Posts: 17
we do the latter were i work. i have put a few scripts in the usr/bin just because i didn't want to play around with the PATH to much. why we do it, i don't know i just know it's good practise to do it (maybe even best practise).
  #3 (permalink)  
Old 07-07-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,805
Most large applications place all their code and libraries under a wholly separate directory tree, for example Oracle, Passport, etc. If you want failover, each directory should be on it's own filesystem and physical disk, served from a SAN or other file server. Whichever system is currently in the role of production box can then mount them.
  #4 (permalink)  
Old 07-07-2006
jbrubaker jbrubaker is offline
Registered User
  
 

Join Date: Jun 2006
Location: New York
Posts: 25
So it does sound like putting directories under /usr is not wise and we would be better off creating a production directory structure under the /HOME directory.

Thanks for the replies and please feel free to add to this if my above assumption is not correct OR there are differing opinions.

Thanks again.
  #5 (permalink)  
Old 07-10-2006
thestevew thestevew is offline
Registered User
  
 

Join Date: Mar 2006
Location: South Yorkshire, UK
Posts: 114
I wouldn't recommend /home, this is really for users' home directories for their private data. I'm with Jim's advice on this one - keep major applications in their own file systems so that they can be backed up easily and can't be affected by a UNIX installation/upgrade.
For a good (and very detailed) overview of (one group's ideas) of how directories should structured, see http://www.pathname.com/fhs/pub/fhs-2.3.html
  #6 (permalink)  
Old 07-11-2006
jbrubaker jbrubaker is offline
Registered User
  
 

Join Date: Jun 2006
Location: New York
Posts: 25
I'm a little confused. When you say "keep major applications in their own file systems" do you mean create their own directories at the root level????

After briefly reading the detailed document you provided (thanks) it said that you should not create additional subdirectories at the root level.
  #7 (permalink)  
Old 04-09-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,816
Quote:
Originally Posted by jbrubaker View Post
Are there suggestions as to where to put your in house developed applications??
I recommend creating a directory for your company, for example:


Code:
/usr/yourcompany

Then a directory for your company home grown apps, something like:


Code:
/usr/yourcompany/bin

and a directory for your company config files, like


Code:
/usr/yourcompany/etc

... you get the idea.

If your company has many home grown apps, you can create sub-directories under /usr/yourcompany and follow a similar structure as above.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0