Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

Tips for an NFS Net Install on Linux

Last updated 2004-07-25

The steps below will guide you in setting up OpenOffice.org1.1.x on a network where a separate NFS server is used with clients. This example scenario uses the example server IP address of 192.168.1.0. Please alter this for your specific case.

The use of BSD-style system initialization scripts is assumed though the basic procedure will work with System V-style scipts as well.

  1. Add the following lines to the /etc/exports file on the NFS machine (if they aren't present already):

    portmap: 192.168.1.0/24(ro,sync,no_root_squash)
    rpc.mountd: 192.168.1.0/24(ro,sync,no_root_squash)
    rpc.nfsd: 192.168.1.0/24(ro,sync,no_root_squash)
    /opt/OpenOffice.org1.1.x 192.168.1.0/24(ro,sync,no_root_squash)

    (the above assumes a standard network install and a soho network)

  2. On the NFS machine open /etc/rc.d/rc.nfsd in a text editor. In the nfsd_start() section find the code (it may be commented as "NFS file locking services") that starts the rpc.lockd and rpc.statd daemons and comment it out. Be sure to save your changes. Restart NFS with " ./etc/rc.d/rc.nfsd restart" and make sure the "rpc.lockd" and "rpc.statd" daemons aren't running. Alternatively you could probably remove the execute permission from these two scripts in "/etc/rc.d" and accomplish the same thing.
  3. Add the following line to the "/etc/fstab" file on the client machine(s):

    "NFS machine name":/opt/ OpenOffice.org1.1.x /mnt/opt/OpenOffice.org1.1.x nfs hard,inter,nolock 0 0

    (the nolock option may not be necessary but it seems to work this way...)

  4. Make sure you are logged in as root and install OpenOffice.org1.1.x on the NFS machine using "./setup -net". Be sure to use the default "/opt/OpenOffice.org1.1.x" directory.
  5. Install OpenOffice.org1.1.x on the client machine(s) using "./setup".

Thanks to Earl Parker, OOo user, for these tips! :)

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.