Windows nfs server configuration and installation, windownfs
Run the nfs client command in windows 7 (first enable the mount command on the windows client ):Enable or disable windows> enable the nfs service (check) and restart windows nfs sharing in either of the following ways:Hanewin and cygwin
Hanewin (Install nfs in Windows 7) Usage:: Http://www.hanewin.net/need to generate registration code after installation: liyuan3210/FBLZ3577F37E78FB 1. after installation, Configure nfs Server NFS Server> Exports to configure the Server Directory d: \ nfsroot-name: nfsroot-umask: 000-public-mapall: 0 2. start nfs Server can also be started directly on the Computer Management> Service (NFS Server. run the command to mount (disable the firewall) to view the nfs service directory list of the host. showmount-e 192.168.x.x mount 192.168.x.x:/tool z: uninstall umount 192.168.x.x:/tool z: Note: use Windows 7For hanewin, You need to configure the Server> extended Character Set Settings> select UTF-8 (otherwise, problems may occur during file operations ),Configure exports to d: \ test-name: test.Cygwin:Cygwin is an environment tool that can run linux commands on windows.
1. Install cygwinHttp://www.cygwin.com/#click the next step and select the download site and the installation package. Nfs plug-in package (vim, nfs-server, sunrpc, cygrunsrv) 2. after the installation, You need to right-click Windows 7 and run cygwin as an administrator. Before Running cygwin, you need to create a user under Windows 7 (otherwise, the computer is improved after the computer is restarted ), this user installs the nfs plug-in cygwin environment 3. go to the cygwin command line to install nfs. The "/" in the command line is the cygwin installation directory, 4. install nfs-server and run/usr/bin/nfs-server-config. first, ask whether to install it. Enter yes. then ask if the signel user mode is used. It is required for xp and no 5 for win7. after installation, You can see protmap, mountd, and nfsd services in the windows Service list vim/etc/exportse/nfsroot * (rw, sync, no_root_squash) vim/etc/hosts. allow does not have hosts by default. allow: the configuration is as follows: nfsd: ALL: Configure nfs file right-click to startFocus on my shared learning and discuss more technical knowledge
Personal website: Http://www.liyuan3210.com