Chapter 17. Setting Up a File Server

In This Chapter

  • Setting up an NFS file server in Linux

  • Setting up a Samba file server in Linux

When groups of people need to work together on projects, they usually need to share documents. Likewise, it can be efficient for groups of people on a computer network to share common applications and directories of information needed to do their jobs. A common way to store files centrally and share them on a network is by setting up a file server.

Fedora systems include support for each of the most common file server protocols in use today. The Network File System (NFS) has always been the file-sharing protocol of choice for Linux and other UNIX systems. Networks with many Windows computers tend to use Samba, or SMB/CIFS (Server Message Block/Common Internet File System) protocol. This chapter describes how to set up file servers and clients associated with NFS and Samba file servers set up in Linux.


One other type of file server is also described in this book: FTP (using vsFTPd). To set up public FTP file servers, refer to Chapter 19.

Goals of Setting Up a File Server

By centralizing data and applications on a file server, you can accomplish several goals:

  • Centralized distribution — You can add documents or applications to one location and make them accessible to any authorized computer or user. In this way, you don't have to be responsible for placing necessary files on every computer.

  • Transparency — Using protocols such as NFS, clients of your file server ...

Get Fedora Bible 2010 Edition: Featuring Fedora Linux 12 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.