LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-11-2010, 10:24 PM   #1
rahulchandrak
Member
 
Registered: Apr 2010
Posts: 33

Rep: Reputation: 2
software installation procedure


Hi I am in the process of getting started with the linux redhat and I am finding it interesting. I want have some clarifications about few things. Generally in windows, when we install an software, all the files related to that particular software are present in a folder in program files. Any trouble shooting can be done by directly accessing the particular folder and doing the modifications. But in case of linux distros the scenario is different and that makes linux interesting. For example, let us take an software like apache web server. if you install that software using the tools like apt-get or yum or rpm, the software is installed and the service gets started and you start using it. But the files related to the particular folder are installed in various location for example if the process needs to be started at startup, a reference of it is placed in /etc/init.d . The libraries used by the software are placed in /usr/lib. To start or stop the software, a reference of it is present in /usr/bin. Based on my analysis what I understood was that all the system executables are located at /usr/sbin, all the process which the user can access and manipulate are stored in /usr/bin and the logging is being done at /var/log.

Now my question is to understand and have a clear picture of what folders an software will access when it gets installed on the distro. I am having this question because in general when we take backup of the server periodically, we take backup of a few main folders only. having a clear picture of the folder structure will help in taking the backup of the system.
 
Old 05-11-2010, 10:36 PM   #2
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,492

Rep: Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892
Firstly I would just like to correct one of your suppositions about windows:
Quote:
all the files related to that particular software are present in a folder in program files
This is actually incorrect as software installs in a variety of places on windows as well but the main program is installed where you have indicated.
This is actually one of its downsides as it may well have several copies of the exact same information in each program's directory, but i digress.

A quick search about linux folder structure yielded:
www.tuxfiles.org/linuxhelp/linuxdir.html
rute.2038bug.com/node20.html.gz
 
Old 05-12-2010, 05:05 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Also
http://en.wikipedia.org/wiki/Unix_directory_structure
http://en.wikipedia.org/wiki/Filesys...archy_Standard
 
  


Reply

Tags
general, installation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AIX Installation Procedure abrenar AIX 1 03-06-2009 07:10 PM
Linux Installation Procedure musakhan53 Red Hat 2 01-01-2009 07:30 AM
Why there is not installation procedure from booting? abd_bela Solaris / OpenSolaris 1 07-04-2008 06:43 AM
Installation Procedure? usman767 Linux - Software 2 06-14-2003 07:28 AM
knapster installation procedure willl_hunting Linux - Newbie 1 01-28-2001 11:00 AM


All times are GMT -5. The time now is 01:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration