Posts Tagged ‘using the NFS Server’

NFS Server Configuration part 1

NFS Server Configuration



There are three different ways to configure an Network File System (NFS) server in Linux: using the NFS Server Configuration Tool  (redhat-config-nfs), manually you can editing its configuration file /etc/exports as well as using the /usr/sbin/exportfs command.

In this thread we are configuring Network File System server by using last two option which is file /etc/exports and /usr/sbin/exportfs.

The /etc/exports file defines which file systems are exported to remote hosts/servers and specifies options.Blank lines are ignored and comments can be made by starting a line with the hash mark (#), and long lines can be wrapped with a backslash (\). Each exported file system should be on its own individual line, and any lists of authorized hosts placed after an exported file system must be separated by space characters. Options for each of the hosts/servers must be placed in parentheses directly after the host identifier, without any spaces separating the host and the first parenthesis.

A line for an exported file system has the following structure:

  1. <export> <host1>(<options>) <hostN>(<options>)…
  2. <export> <host2>(<options>) <hostN>(<options>)…
  3. <export> <host3>(<options>) <hostN>(<options>)…

In this structure, replace <export>  with the directory being exported, replace <host1> with the host/server or network to which the export is being shared, and replace (<options> with the options for that host/server or network. Additional hosts can be specified in a space separated list.

To specify host names refer NFS Server Configuration part 2



Tag

.htaccess .htaccess file /etc/ssh/sshd_config /var/cpanel/cpanel.config Access denied for user 'root'@'localhost' cgi script clear cache cPanel access logs cPanel error logs cPanel exim logs cPanel logs cPanel servers logs Create new FTP account from cPanel Disable directory listing exim logs find command how to block referrer install mailx mysql from WHM mysql has failed mysql service mysql service from WHM nameserver setup Network File System NFS Server php form phpmail() form phpmail function please contact the sysadmin plesk panel issue roundcube roundcube error roundcube error logs Safari browser Safari browser + AddHandler application/x-httpd-php5 Safari browser downloading .html pages. Safari browser downloading pages Safari downloading pages simple php form simple phpmail() form simple phpmail function form sshd restart suexec trueuserdomains using the NFS Server

.htaccess (15)
Basic Linux (57)
Browser problems (3)
Common errors (10)
cPanel + cPanel scripts (29)
Cron jobs issue (5)
Dedicated Server Issue (21)
Definition / Explanation (5)
E-mails issue (18)
Enable private PHP (5)
Few good queries and suggestions (12)
FTP / Frontpage / Dreamweaver (10)
General (3)
HTML/PHP issue (1)
Install server side software / script (16)
Linux Administrator Interview Questions (73)
Linux Permissions (8)
Mailman (1)
Mysql + phpmyadmin (19)
New updates/release (1)
NFS server (6)
PHP (7)
Plesk (13)
scripts (5)
Server Security (20)
Third party script issue (17)
Tomcat/Ruby Rail (2)
Uncategorized (20)
VPS (61)

WP-Cumulus by Roy Tanck and Luke Morton requires Flash Player 9 or better.

Calendar
May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  
Blogroll