Create an NFS server in WINDOWS2008 server and use the Linux mount command to load the network disk

Source: Internet
Author: User
Tags list of attributes

1. Create NFS server in Windows Server first, open the Service Manager and select Add roles;
Select File Services, next;
A hint appears, regardless of it, to proceed to the next step;
In the next page, select "Network File system service" (NFS), next;
Click Install;
The system starts to install and takes about a few minutes;
Installation complete, click Close;
This creates an NFS service in Windows Server 2008r2, then selects a partition and creates a new folder, such as NFS;
On the folder right-click Properties, you can see the list of attributes more than one NFS share;
Click Manage NFS Share, select Share this folder, the following authentication default is good;
Click "Permissions", the default shows that all computers have read-only permissions, do not allow root access, do not have to control it, select "Add";


Second, the following is the content of CentOS x64 #创建一个测试目录
Mkdir/mnt/nfs-p

#安装软件包
Yum-y Install Nfs-utils Rpcbind

Correctness of #查看一个Windows Server NFS

SHOWMOUNT-E 192.168.1.210
Export list for 192.168.1.210:
/shaohuilin (Everyone)

#手动挂载
Mount-t Nfs-o nolock 192.168.1.210:/shaohuilin/mnt/nfs

#重启后自动挂载
echo "192.168.1.210:/shaohuilin/mnt/nfs NFS defaults 0 0" >>/etc/fstab write at last: 1, after WINDOWS NFS service creation starts, Discovery Repair automatically adds a port open in the firewall, without shutting down the firewall, to implement NFS mounts in the Linux server. 2, the Port of NFS is generally 111 and 2049, reference: http://blog.csdn.net/fhqsse220/article/details/45668057 because it is not a 445 port of Samba protocol, so do not be afraid of any virus. 3, this thing can be open to all servers, in fact, there is no security problem, unlike Samba also use the user name and password to connect. Haha, than the SSH protocol that the sftp of the reliable!!!

Create an NFS server in WINDOWS2008 server and use the Linux mount command to load the network disk

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.