Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Firstly I would just like to correct one of your suppositions about windows:
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.