Web server - Chapter 27 . Running a File Servers 717

Chapter 27 . Running a File Servers 717 Figure 27-1: NFS can make selected file systems available to other computers. In this example, a computer named oak makes its /apps/bin directory available to clients on the network (pine, maple, and spruce) by adding an entry to the /etc/exports file. The client computer (pine) sees that the resource is available and mounts the resource on its local file system at the mount point /oak/apps, after which any files, directories, or subdirectories from /apps/bin on oak are available to users on pine (given proper permissions). Although it is often used as a file server (or other type of server), Linux is a generalpurpose operating system, so any Linux system can share file systems (export) as a server or use another computer s file systems (mount) as a client. Contrast this with dedicated file servers, such as NetWare, which can only share files with client computers (such as Windows workstations) and never act as a client. A file system is usually a structure of files and directories that exists on a single device (such as a hard disk partition or CD-ROM). A Linux file system refers to the entire directory structure (which may include file systems from several disks or NFS resources), beginning from root (/) on a single computer. A shared directory in NFS may represent all or part of a computer s file system, which can be attached (from the shared directory down the directory tree) to another computer s file system. Note /etc/exports File /apps/bin pine(rw), maple(rw), spruce(rw) OAK # mount oak:/apps/bin/oak/apps PINE / / apps/ bin/ file1 file2 file3 oak/ apps/
We recommend high quality webhost to host and run your jsp application: christian web host services.

Leave a Reply