Comparteix discs o directoris usant NFS
draknfs
Prerequisites
When the wizard
You can start this tool from the command line, by typing draknfs as root.
is launched for the
first time, it may display the following message:
The package nfs-utils needs to be installed. Do you want to install it?
After completing the installation, a window with an empty list is displayed.
Finestra principal
Es mostra una llista de directoris que són compartits. En aquest pas, la
llista es buida. El botó Afegeix dóna accés a una
eina de configuració.
Modifica l'entrada
L'eina de configuració s'anomena "Modificar les dades". També es pot posar
en marxa amb el botó Modificar. Els següents
paràmetres estan disponibles.
Directori NFS
Aquí podeu especificar quin directori es va compartir. El botó
Directori dóna accés a un navegador per
seleccionar-ho.
Accés a l'amfitrió
Aquí podeu especificar els amfitrions que estan autoritzats per accedir al
directori compartit.
Els clients NFS poden especificar-se en un nombre de maneres:
únic amfitrió: un amfitrió, ja sigui per un àlies
reconegut, el nom del domini complet o una adreça IP.
netgroups: NIS netgroups may be given as @group.
wildcards: machine names may contain the wildcard
characters * and ?. For instance: *.cs.foo.edu matches all hosts in the
domain cs.foo.edu.
IP networks: you can also export directories to all
hosts on an IP (sub-)network simultaneously. For example, either
`/255.255.252.0' or `/22' appended to the network base address.
Assignació de l'id. d'usuari
map root user as anonymous: maps requests from uid/gid
0 to the anonymous uid/gid (root_squash). The root user from the client
cannot read or write to the files on the server which are created by root on
the server itself.
allow real remote root access: turn off root
squashing. This option is mainly useful for diskless clients
(no_root_squash).
map all users to anonymous user: maps all uids and gids
to the anonymous user (all_squash). Useful for NFS-exported public FTP
directories, news spool directories, etc. The opposite option is no user UID
mapping (no_all_squash), which is the default setting.
anonuid and anongid: explicitly set the uid and gid of
the anonymous account.
Opcions avançades
Secured Connection: this option requires that requests
originate on an internet port less than IPPORT_RESERVED (1024). This option
is on by default.
Read-Only share: allow either only read or both read
and write requests on this NFS volume. The default is to disallow any
request which changes the filesystem. This can also be made explicit by
using this option.
Synchronous access: prevents the NFS server from
violating the NFS protocol and to reply to requests before any changes made
by these requests have been committed to stable storage (e.g. disc drive).
Subtree checking: enable subtree checking which can
help improve security in some cases, but can decrease reliability. See
exports(5) man page for more details.
Entrades del menú
Fins ara la llista té almenys una entrada.
File|Write conf
Save the current configuration.
NFS Server|Restart
The server is stopped and restarted with the current configuration files.
NFS Server|Reload
The configuration displayed is reloaded from the current configuration
files.