NFS用于网络共享存储,类似windows目录共享。配置NFS需在服务端和客户端都安装两个包(nfs-utils和rpcbind),安装nfs-utils时自动会把rpcbind一起安装上。安装命令:yuminstall-ynfs-utils1.NFS服务端配置1)编辑配置文件:vim/etc/exports写入内容:/home/192.168.16.0/24(rw,sy..
分类:
其他好文 时间:
2015-03-20 11:09:36
阅读次数:
151
实现步骤:
1.服务器端:sudo apt-get install portmap
2.服务器端:sudo apt-get install nfs-kernel-server
3.客户端:sudo apt-get install nfs-common
4.服务器端配置:sudo gedit /etc/exports
添加:/home *(rw,sync,...
分类:
系统相关 时间:
2015-03-09 16:14:35
阅读次数:
243
关闭虚拟机防火墙 lokkit --disabled配置NFS服务端 建立一个目录用来共享 存放根文件系统cd / mkdir rootfs配置NFS共享目录gedit /etc/exports写入/rootfs*(rw,sync,no_root_squash) //其中/rootf...
分类:
其他好文 时间:
2015-03-08 00:02:08
阅读次数:
486
参考实测服务端 centos7 192.168.1.129安装软件yum install nfs-utils portmapservice rpcbind start、service nfs start[root@localhost nfs]# cat /etc/exports #设置共享目录 添加...
分类:
其他好文 时间:
2015-03-07 13:54:22
阅读次数:
143
1、查看nfsportmap相关的安装包rpm-qa|grepnfsrpm-qa|grepportmapredhat5默认已经安装2、启动nfs服务和portmap服务servicenfsstartserviceportmapstart3、设置服务开机启动chkconfignfsonchkconfigportmapon4、修改配置文件vim/etc/exports/etc/exports/exp_back192.168.1.1/25..
分类:
其他好文 时间:
2015-03-06 19:18:45
阅读次数:
145
vi/etc/exports#需要在root权限下在该文件中按照如下格式插入:需要共享文件的绝对路径可以接受该文件的服务器IP(rw,no_root_squash,sync)保存文件重启NFS:servicenfsrestart或是/etc/init.d/nfsrestart启动protmap:serviceprotmaprestart登录到接收共享目录的服务器vi/etc/exp..
分类:
系统相关 时间:
2015-02-07 23:06:29
阅读次数:
230
一、使用NFS在Linux系统之间共享文件资源1、配置NFS服务器端的文件共享权限配置exports文件:[root@clz~]#vim/etc/exports/aa10.35.89.0/26(rw,rsync)查看nfs默认的共享配置:[root@clznfs]#cat/var/lib/nfs/etab
/aa10.35.89.0/26(rw,sync,wdelay,hide,nocrossmnt,secure,root..
分类:
其他好文 时间:
2015-02-01 20:33:05
阅读次数:
305
(1)#sudo apt-get install nfs-kernel-server打开/etc/exports文件,在末尾加入:/home/hyq *(rw,sync,no_root_squash)注:nfs允许挂载的目录及权限,在文件/etc/exports中进行定义,各字段含义如下:/home...
分类:
系统相关 时间:
2015-01-12 19:04:00
阅读次数:
203
为了配置集群环境,把过程记录一下,方便后续使用NFS 文件系统 是 network file system配置好ssh无密码访问 ,各节点为centos6.5主节点在文件/etc/exports 中增加以下几行:/home/cluster10.12.190.183(rw,sync,no_root_s...
分类:
其他好文 时间:
2015-01-03 19:45:30
阅读次数:
272
1.安装nfs
$sudo apt-get install nfs-kernel-server
2.增加目录到nfs列表
$vi /etc/exports
在末尾加入:
/home/nfs *(rw,sync,no_root_squash)
3.重启服务器:
$sudo /etc/init.d/nfs-kernel-server restart...
分类:
系统相关 时间:
2015-01-02 22:30:21
阅读次数:
248