Annotation of previous_trunk/filesharing.howto.txt, revision 1.1

1.1     ! root        1: NOTE: This procedure has been tested using NeXTstep 1.0a and 3.3
        !             2:       as client and Mac OS X v10.9 as server.
        !             3: 
        !             4:       This procedure is only valid when using SLiRP as networking
        !             5:       interface.
        !             6: 
        !             7:       For this procedure to work networking must be setup first
        !             8:       (see networking.howto.txt for details).
        !             9:       To edit files inside /etc you need super user privileges.
        !            10: 
        !            11:       X.X.X.X = Your host system's IP-Address (e.g. 192.168.0.1)
        !            12:       serverhostname = Your host system's hostname
        !            13:       clienthostname = Your NeXTstep hostname (see networking.howto)
        !            14: 
        !            15: 
        !            16: Howto: Setup NFS file sharing under Mac OS X:
        !            17: 
        !            18: 1. Create the folder you want to share and change permissions using
        !            19:    this command from the command line:
        !            20:    chmod 777 /Path/To/Shared/Folder
        !            21: 
        !            22: 2. Add the folder you want to share to /etc/exports by adding this
        !            23:    line to the end of the file:
        !            24:    /Path/To/Shared/Folder -maproot=nobody
        !            25: 
        !            26: 3. Load the edited file using these commands from the command line:
        !            27:    sudo nfsd checkexports
        !            28:    sudo nfsd enable
        !            29:    sudo nfsd stop
        !            30:    sudo nfsd -N
        !            31: 
        !            32: 4. You can confirm that the operation was successful using this 
        !            33:    command:
        !            34:    showmount -e
        !            35: 
        !            36: NOTE: Step 3 needs to be repeated after every reboot of the host
        !            37:       system because nfsd -N is not permanent.
        !            38: 
        !            39: 
        !            40: Howto: Setup NFS file sharing under NeXTstep 3.3:
        !            41: 
        !            42: 1. Edit the file "/etc/hosts" by adding your host system to 
        !            43:    the last line of the file (host system IP-Address followed 
        !            44:    by hostname of file server):
        !            45:    10.0.2.15   clienthostname
        !            46:    X.X.X.X     serverhostname
        !            47: 
        !            48: 2. Edit the file "/etc/fstab" by adding the shared filesystem.
        !            49:    Add this line at the end of the file: 
        !            50:    serverhostname:/Path/To/Shared/Folder /Net nfs rw,net 0 0
        !            51: 
        !            52: 3. Load the edited files using these commands from the command
        !            53:    line:
        !            54:    su
        !            55:    niload hosts / < /etc/hosts
        !            56:    niload fstab / < /etc/fstab
        !            57: 
        !            58: 4. Reboot. The shared folder should be accessible from /Net
        !            59:    directory. You can confirm that the operation was successful
        !            60:    using this command:
        !            61:    /usr/etc/showmount -e serverhostname
        !            62: 
        !            63: 
        !            64: Howto: Open the above files using root privileges (NeXTstep 3.3):
        !            65:    a  Open the /etc directory with this command in Terminal:
        !            66:       "open /etc"
        !            67:    b  Select the file to open and from Workspace select 
        !            68:       Services > Open Sesame > Open As Root.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.