I was following a guide about installing and using NFS. The guide mentions an example use case of sharing the /usr directory to install programs only once and use them on multiple computers. I wanted to try the idea, but unfortunately, the guide didn't explain any further. I tried searching the Internet for more information about it, but my Google-fu failed me. I have some questions and doubts about how this works in a real situation.
Admittably, I don't know much about the file system organization in Ubuntu, so please bear with me and explain if some of my assumptions are wrong or if I seem to not understand something.
Does this work for a distribution like Ubuntu or is it only applicable for distributions that are manually installed and configured? How does this interact with APT? Wouldn't APT be confused if files started appearing randomly in /usr without it adding them? What about programs that use config files in /etc or some other files in /var? How will they behave? And the icons in the Gnome menu, surely they won't appear if I just installed programs on the shared /usr without adding them manually. And there are many other situations where I just don't understand how this would work.
If it was feasible, would it be better to have the shared directory be the /usr of the server, or a separate directory on the server (/share/usr for example.) And would I need to re-install the operating system on the computers from scratch?
I'd also be happy if you could point me to a guide, book, website, etc that answers my questions. And if you've ever done it, please share your experience.
I apologize if this belongs to a different forum. I thought I should put it here because it's mainly a discussion, and not a concrete support question/answer.
Bookmarks