Prev | Current Page 1304 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

This section explores how the service is turned on in
Fedora and other Red Hat Linux systems.
In Fedora, you can use the chkconfig command to turn on the NFS service so that your files are
exported and the nfsd daemons are running when your system boots. There are two startup scripts
TIP
TIP
720
Running Servers Part V
you want to turn on for the service to work properly. The NFS service exports file systems (from
/etc/exports) and starts the nfsd daemon that listens for service requests. The nfslock service
starts the lockd daemon, which helps allow file locking to prevent multiple simultaneous use of
critical files over the network.
To turn on the NFS service, type the following as root user:
# chkconfig nfs on
# chkconfig nfslock on
The next time you start your computer, the NFS service will start automatically, and your exported
directories will be available. If you want to start the service immediately, without waiting for a
reboot, type the following:
# /etc/init.d/nfs start
# /etc/init.d/nfslock start
The NFS service should now be running and ready to share directories with other computers on
your network.
Using NFS File Systems
After a server exports a directory over the network using NFS, a client computer connects that
directory to its own file system using the mount command.


Pages:
1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316