Ubuntu12.04nfs-server/client installation configuration

Source: Internet
Author: User
Ubuntu12.04nfs-server/client installation and configuration nfs is required for opennebula shared storage. to build opennebula3.8 on ubuntu12.04, we will first introduce the installation and configuration of nfsserver and client. Www.2cto. com1.nfss...
Ubuntu 12.04 nfs-server/client installation and configuration because the opennebula shared storage method requires nfs, it paves the way for opennebula 3.8 to be built on ubuntu 12.04, first, we will introduce the installation and configuration of nfs server and client. Www.2cto.com 1. nfs server installation and configuration (1) install nfs serversudo apt-get install nfs-kernel-server nfs-common (2) restart nfs serversudo service nfs-kernel-server restart (3) set the nfs shared directory sudo vim/etc/exports // add a/path-to-share * (rw, sync) line at the end of the file) // path-to-share is the directory to be shared. after modifying the directory as needed, restart the nfs server. for details, see (2 )! 2. nfs client installation and configuration (1) install nfs clientsudo apt-get install nfs-common (2) view the shared directory showmount-e 192.168.xx.xx on the nfs server (3) create a shared mount point, mount mkdir/path-to-mountmount-t nfs 192.168.xx.xx:/path-to-share/path-to-mount (4) to modify the/etc/fstab file 192.168.35.17: /data3/nfsroot/data3/nfsroot nfs defaults 0 0 3. create a file in the shared directory to see if the other end can be seen.

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.