Install Network File System on the server with Server Manager
From the Add Roles and Features Wizard, under Server Roles, select File and Storage Services if it has not already been installed.
Under File and iSCSI Services, select File Server and Server for NFS. Select Add Features to include selected NFS features.
Select Install to install the NFS components on the server
Install Network File System on the server with Windows PowerShell
Start Windows PowerShell. Right-click the PowerShell icon on the taskbar, and select Run as Administrator.
Run the following Windows PowerShell commands:
PowerShell
Import-Module ServerManager
Add-WindowsFeature FS-NFS-Service
Create an NFS file share with Server Manager
Log on to the server as a member of the local Administrators group.
Server Manager will start automatically. If it does not automatically start, select Start, type servermanager.exe, and then select Server Manager.
On the left, select File and Storage Services, and then select Shares.
Select To create a file share, start the New Share Wizard.
On the Select Profile page, select either NFS Share – Quick or NFS Share - Advanced, then select Next.
On the Share Location page, select a server and a volume, and select Next.
On the Share Name page, specify a name for the new share, and select Next.
On the Authentication page, specify the authentication method you want to use for this share.
On the Share Permissions page, select Add, and then specify the host, client group or netgroup you want to grant permission to the share.
In Permissions, configure the type of access control you want the users to have, and select OK.
On the Confirmation page, review your configuration, and select Create to create the NFS file share.
Windows PowerShell equivalent commands
The following Windows PowerShell cmdlet can also create an NFS file share (where nfs1 is the name of the share and C:\\shares\\nfsfolder is the file path):
PowerShell
New-NfsShare -name nfs1 -Path C:\shares\nfsfolder
Comments