服务端安装sudoyuminstall-ynfs-utilssudosystemctlenablerpcbindsudosystemctlstartrpcbindsudosystemctlenablenfssudosystemctlstartnfs配置共享目录mkdir/data/nfs配置/etc/exports,添加如下内容/data/nfs*(rw,sync,no_root_squash,n
分类:
其他好文 时间:
2019-09-09 16:27:09
阅读次数:
114
创建共享存储目录 yum install -y rpcbind nfs-utils创建共享目录mkdir -p /home/sharedir/www修改目录权限chmod 0755 -R sharedir修改NFS配置文件vi /etc/exports/home/sharedir 192.168.2 ...
分类:
Web程序 时间:
2019-09-05 18:39:25
阅读次数:
150
yum install -y rpcbind nfs-utils创建共享目录mkdir /home/sharedir修改目录权限chmod 0755 -R sharedir修改NFS配置文件vi /etc/exports/home/sharedir 192.168.2.0(rw,no_root_sq ...
分类:
数据库 时间:
2019-09-04 19:04:42
阅读次数:
156
文件存储服务器配置: 安装NFSyum install -y rpcbind nfs-utils创建共享目录mkdir /root/sharefile修改目录权限chmod 0755 -R sharefile修改NFS配置文件vi /etc/exports /root/sharefile/ 192. ...
分类:
其他好文 时间:
2019-07-29 00:34:52
阅读次数:
134
一般情况下windows网络共享与samba用户局域网网络共享.互联网中小型网站集群架构后端常用NFS进行数据共享.大型网站会用到更复杂的Moosefs(mfs)(小文件)GlusterFS(大文件)FastDFS(小文件).自行学习三个主服务rpc.nfsrpcbindrpc服务端1.yuminstall-ynfs-utils自动创建nfs-nobody2.开启rpcbind开启nfs加入开机启
分类:
其他好文 时间:
2019-07-17 11:05:18
阅读次数:
130
1:服务器端: [root@languang ~]# mkdir /nfsfile[root@languang ~]# chmod 777 /nfsfile/[root@languang ~]# echo "welcome to nfs" > /nfsfile/readme.txt[root@lan ...
分类:
其他好文 时间:
2019-06-28 19:39:29
阅读次数:
148
1,安装nfs软件及相关软件(centos一般都已经安装过了)yum-yinstallrpcblindyum-ynfs-utils2,写nfs配置文件vim/etc/exports配置,权限,3,开启服务和服务的开机自启动/etc/init.d/nfsstart/etc/init.d/nfslockstart/etc/init.d/rpcbindstartchkconfignfsonchkconf
分类:
系统相关 时间:
2019-05-10 14:45:32
阅读次数:
160
一些系统管理中的troubleshooting关闭iptables设置selinux为disabled配置最大文件描述符配置优化内核参数做好主机名和IP的映射关系,编辑/etc/hosts文件vncXauthoritytimeout是由于selinux没有关闭造成的。启动VNC出现alreadyrunningas:xx,使用find命令找出/tmp目录中当前用户的文件并删除,重启VNCNFSnfs
分类:
其他好文 时间:
2019-03-19 18:41:08
阅读次数:
151
NFSNetworkFileSystem网络文件系统服务器:192.168.80.1001、安装服务yuminstall-ynfs-utils2、修改配置文件mkdir-p/opt/wwwroot--创建一个测试目录vi/etc/exports//NFS配置文件(空文件)/opt/wwwroot192.168.80.0/24(rw,sync,no_root_squash)目录/opt/wwwroo
分类:
其他好文 时间:
2019-01-13 11:37:15
阅读次数:
139