Help  |   Contact Us  |   About Us  |   News and Events
Books, conferences, and other information about... Moving to Linux Switching to OOo Building Linux Apps Using Visual FoxPro
Buy      Download      Your Account      Catalog      Support      Conferences      Resources      Fun

The Ten Minute Guide to Setting Up a Linux File Server

Click HERE to download the PDF.

by Whil Hentzen
Length: 12 pgs
Formats Available: PDF
Press date: 2004/8/23
Source code: N/A

Back to whitepaper list


One of the common requirements in a Linux-based network is to include Linux workstations. There are a multitude of ways to do so; if this network also includes Windows workstations that are connecting to the Linux file server, you're likely already using Samba. This document describes how to have a Linux workstation access data on a Linux file server via Samba. Here's a quick tutorial to the essential steps involved in setting up a Linux File Server and having Linux workstations connect to it, using Fedora Core as an example.

Table of Contents

1. Preface
1.1. Copyright
1.2. Revisions
1.2.1. History
1.2.2. New version
1.2.3. Feedback and corrections
1.3. Acknowledgements
1.4. Disclaimer
1.5. Prerequisites

2. Materials needed before you begin

3. Sample scenario
3.1 File server only
3.2 All data on server
3.3 Server data directory structure
3.4 Network configuration

4. Concepts
4.1 Why Samba
4.2 A refresher for how Windows groups and users work
4.3 How file serving works on Linux

5. Set up the file server
5.1 Useful files and commands
5.1.1 Useful Linux files
5.1.2 Useful Linux commands
5.1.3 Useful Samba files
5.1.4 Useful Samba commands
5.2 Install Samba
5.3 Make sure the Samba server is running
5.3.1 Start the Samba service is not running
5.4 Configure your machine to start up automatically
5.4.1 See what the existing startup runlevels are
5.4.1 Turn certain runlevels on
5.4.1 See the symlinks that have been created in rc0.d, etc.
5.5 Tweak the security in smb.conf
5.6 Set up a Linux user on the server
5.7 Create a Samba user for each Linux user
5.8 Verify that 'homes' directroy entry has been made in smb.conf
5.9 Create a share on the server that will be shared by all
5.9.1 Create the directory
5.9.2 Share the directory
5.10 Reload Samba

6. Set up Linux workstation to connect to server
6.1 Naming conventions for mount points
6.2 Create a mount point for the home share
6.3 Issue mount command for the home share
6.4 Create a mount point for the admin share
6.5 Issue mount command for the admin share
6.6 Test the shares
6.7 Mount the shares automatically

7. Troubleshooting

8. Where to go for more information

9. About the author

10. A word from our sponsor

Help  |   Contact Us  |   Legal  |   Privacy  |   Copyright  |   Join Our Mailing List