Book Image

Mastering Linux Network Administration

By : Jay LaCroix
Book Image

Mastering Linux Network Administration

By: Jay LaCroix

Overview of this book

Linux is everywhere. Whether you run a home office, a small business, or manage enterprise systems, Linux can empower your network to perform at its very best. Armed with the advanced tools and best practice guidance of this practical guide, you'll be able to mold Linux networks to your will, empowering your systems and their users to take advantage of all that Linux-based networks have to offer. Understand how Linux networks function and get to grips with essential tips and tricks to manage them - whether you're already managing a networks, or even just starting out. With Debian and CentOS as its source, this book will divulge all the details you need to manage a real Linux-based network. With detailed activities and instructions based on real-world scenarios, this book will be your guide to the exciting world of Linux networking.
Table of Contents (17 chapters)
Mastering Linux Network Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Setting up a File Server

In the previous chapter, we covered SSH and discussed SCP. While SCP is a great method to manually transfer individual files from one place to another, having one or more central locations to store shared files adds a lot of value to a network. Whether you're sharing important files on a business network or family photo albums on a home network, a central file storage location on your network is a convenient asset. In this chapter, we'll discuss three ways of accomplishing this goal. We'll first talk about some considerations while designing your file server, and then we'll cover NFS, Samba, and SSHFS.

In this chapter, we will cover:

  • File server considerations

  • NFS v3 versus NFS v4

  • Setting up an NFS server

  • Learning the basics of Samba

  • Setting up a Samba server

  • Mounting network shares

  • Automatically mounting network shares via fstab and systemd

  • Creating networked filesystems with SSHFS