Nfs (NetworkFileSystem) configuration in Ubuntu11.10

Source: Internet
Author: User
There was a small problem when I configured NFS. I never saw portmap. Later I realized that there was no porpmap under Ubuntu11.10, and only rpcbind was used, which wasted a lot of time. The following is a summary based on the original article: # install the required software package sudoapt-getinstallrpcbindsudoapt-get &

There was a small problem when I configured NFS. I never saw portmap. Later I realized that there was no porpmap under Ubuntu 11.10, and only rpcbind was used, which wasted a lot of time. The following is a summary based on the original article and the actual experience:

# Install the required software package

  1. Sudo apt-get install rpcbind
  2. Sudo apt-get install nfs-kernel-server

Some say that you want to install rpcbind, but it seems that you have installed the software when installing nfs-kernel-server.

# Start rpcbind

  1. Sudo rpcbind

Server operations

# Creating folders

  1. $ Mkdir MpiWork

# Edit and modify the configuration file

View plaincopy to clipboardprint?
  1. $ Sudo vim/etc/exports

# Add the following content. Note that there is no space after the comma

  1. /Home/luo/MpiWork * (rw, sync)

# Restart the service.

Sudo service nfs-kernel-server restart

Client operations

# If no error is reported after restart, perform the following test to replace ipaddr with the IP address of the server.

  1. Sudo mount ipaddr:/home/luo/MpiWork

To enable automatic mounting, open/etc/fstab and add the following statement to the last line:

  1. 192.168.1.105:/home/luo/MpiWork nfs ults 0 0

192.168.1.105 is the IP address of my own server.

So far, the job is finished.

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.