Find the answer to your Linux question:
Results 1 to 4 of 4
I heard you can mount your /usr as readonly on one PC where the files are hosted on another. So that once you do any updates on the server hosting ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2003
    Posts
    51

    How can I host /usr on another PC


    I heard you can mount your /usr as readonly on one PC where the files are hosted on another. So that once you do any updates on the server hosting it the rest of the network is updated as well. As well as the added bonus of saving disk space, and having it so the /usr directory cannot be touched by the end user. What I'm wondering is how would I set up a typical Mandrake install to do this. Or do I need to install it, delete the files in the directory, and then mount it to connect on next bootup.

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284

    Re: How can I host /usr on another PC

    Really i wouldnt recommend this at all. For example, you might install an application onto one server in the /usr/ directory, but in many cases installing an application will result in some libary files going to /lib, some files going into /var etc so you will end up with just a complete mess.

    Really if all your looking for is a way to rollout upgrades across multiple machines you are almost certainly better off writing a script todo this.

  3. #3
    Just Joined!
    Join Date
    Apr 2003
    Posts
    51

    Reply

    Thanx for your help. Do you think I should mount /usr, /var, and /lib on a remote server or do you think that would still cause a mess? I thought about the /usr, /var, and /lib scenario but I wasn't sure. If I keep the files all of the local machine should I mount them as read-only and shut off the read-only access when I need to install a new version of the kernel or KDE? I'm just trying to find the best scenario for security and maintenance I can?

  4. #4
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    If you are really intent on this centralized program repositiry, Just make the workstarions terminals and funnl your resouces into building a truly massively powerful server.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •