34.7 Sharing Files between Linux
Computers
The following sections feature various methods for sharing data. Use one of these if
you are looking for a permanent solution for data sharing.
34.7.1 Transferring Files with NFS
To congure the server, proceed as follows:
1
Prepare the system:
1a
Open a shell, log in as root, and grant write permissions to all users:
mkdir /srv/nfs
chgrp users /srv/nfs
chmod g+w /srv/nfs
1b
Make sure that your user name and user ID is known on the client as well
as on the server. Refer to Chapter 8, Managing Users with YaST (page 119)
for detailed instructions about how to create and manage user accounts.
2
Prepare the NFS server:
2a
Start YaST as root.
2b
Select Network Services > NFS Server (this module is not installed by default.
If it is missing in YaST, install the package yast2-nfs-server).
2c
Enable NFS services with Start.
2d
Open the appropriate rewall port with Open Port in Firewall if you are
using a rewall.
3
Export the directories:
3a
Click Add directory and select /srv/nfs.
558 Reference