I'm taking this idea from my university computer labs. There are 30 - 40 machines in one lab, each auto mounting the /usr/local directory. Programs like matlab, firefox, mathematica, etc are all in /usr/local/bin, and I'm assuming the libaries and other stuff need to make them run are somewhere in /usr/local/*. So, the sys admin only has to worry about installing or updating apps on the one machine hosting /usr/local rather than all 40 machines. That is my goal, but on a much smaller scale, one master computer, and two satellite computers. This is mainly a learning exercise that I hope someday I can implement easily.
So far I've figured out that yum and rpm are not the tools for my goal. I don't have much experience in installing programs form scource, but it looks like that is where I need to be looking. As far as it being too complicated to bother, I don't buy that. I have a simple goal, be able to install a program into any directory I want. That can't be very hard to accomplish.
Thanks for all the advice you people have given me. If anyone can give me advice on how to accomplish my goal with out using yum or rpm, I like to hear it.
Thanks,
Curt
On Dec 18, 2007 12:38 PM, Garrick Staples <garrick@xxxxxxx> wrote:
*sigh* silly top-poster.
On Mon, Dec 17, 2007 at 08:06:29PM -0700, Curtis Higgins alleged:> My ultimate goal would be to have the nfs mount self contained. If all theYou can't. Truely self-contained is an entire OS that may or may not be
compatible with your existing OS. You have to draw that arbitrary line
somewhere. Do you duplicate libs that are already installed in /usr/lib or
/lib? What about PAM config files, nsswitch.conf, etc? Does glibc get rebuilt
into your NFS share?This only works with a standardized OS, which means you have control over the
> libiries and dependencies need to be installed in /usr/local, then that is
> fine with me. I'm not doing this for any reason other than to learn how to
> do it. At some point I'd envision using this set up in an academic setting
> with many computers.
bits that are installed locally, which also means you don't need actually need
a self-contained mini-OS.yum is useless here because it is designed for an entirely different purpose.
> Would rpm source files be an option? Can yum resolve the dependincies on
> rpm source files? And, can you modify where the rpm scource files install
> to, and use yum to handle all the other stuff? I was thinking of writing a
> wrapper script that I can use to get everything self contained on the nfs
> mount.
You could, in theory, rebuild srpms with "--define '_prefix /usr/local'", but I
wouldn't hazard a guess on the actual long-term success of that direction.Down that road lies madness. It is a tangled mess of evil LD_LIBRARY_PATH vars
> Also, what steps would I need to go through to either move, or copy a
> program from one location to another. ie Copy the bin, then the libiries,
> then ???
and goofy scripts.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum