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