这个是LDAP认证客户端与自动挂载家目录shell脚本配置,使用“authconfig-tui”图形化配置简单,但是后面需要手动操作,自动写入配置文件还没有研究透彻。以后完善#!/bin/bash
yuminstall-ynss-pam-ldapdnfs-utilsnfsautofspam_ldapopenldapopenldap-clients
#showmount-e172.16..
分类:
系统相关 时间:
2016-10-25 03:47:59
阅读次数:
270
一、配置主机NFS过程中的一些问题。 1、showmount -e 时出现clnt_create:RPC:Unknown host 解决:设置/etc/hosts,将服务器IP解析到服务器主机名。 2、开发板nfs挂载后复制大文件时主机未响应(still trying)问题 解决:mount -t ...
分类:
其他好文 时间:
2016-10-07 17:40:46
阅读次数:
130
service nfs restart nfs服务重启 showmount -e ip地址 查看服务开启状态: chkconfig --list nfs 服务配置: #vim /etc/exports /data/ 192.168.1.145/24(rw,sync) /data/ *(rw,sync ...
分类:
其他好文 时间:
2016-08-22 23:29:09
阅读次数:
129
1yum-yinstallnfs-utilsrpcbind
2systemctlenablerpcbind
3systemctlstartrpcbind
4systemctlstartnfs
5vi/etc/exports
/mydata10.1.0.0/16(rw,no_root_squash)
6exportfs-r
挂载服务器:
查看NFS服务器情况:
showmount-e10.1.1.170
分类:
其他好文 时间:
2016-08-12 22:06:49
阅读次数:
137
nfs-utilsrpcbind两软件在/etc/exports中添加共享目录权限(all,rw,ro,asyncsyncno_root_squashroot_squashall_squashanonudi,anongiduser)showmount-t+共享服务器地址exportfs-arv重启nfs查看共享目录mount-tnfs-onolock,nfsvers=3+共享服务器地址的目录挂载目录地址umount-l..
分类:
其他好文 时间:
2016-07-11 01:22:47
阅读次数:
241
1、创建文件系统之后sudo apt-get install nfs-kernel-server。 2、输入showmount -e 如果可以共享出去那就不用执行下一步。 用ubuntu14.04 64bit 是可以显示的,不知道为什么32bit的不行..... 3、如果还是无法共享就配置/etc/ ...
分类:
系统相关 时间:
2016-07-09 19:31:24
阅读次数:
152
WIN2008需要安装文件客户端管理工具。如何查看是否安装。开始--运行--cmd,输入showmount和mount。如果显示“不是内部或外部命令”和下图一样就是没有安装。开始安装,开始--管理工具--服务器管理器点击角色--添加角色安装完成后在次输入showmount和mount会有提示,说明安装成..
分类:
Windows程序 时间:
2016-06-21 21:03:52
阅读次数:
1422
1、安装nfs-utils和rpcbind程序yuminstall-ynfs-utilsrpcbind2、编辑exportsvim/etc/exports/mnt10.10.13.248(rw,sync)3、在客户端安装nfs-utils并查看共享信息[root@redhat01~]#yuminstall-ynfs-utils[root@redhat01~]#showmount-e10.10.13.247返回结果Exportlistfor10.10.13...
分类:
其他好文 时间:
2016-05-31 14:16:17
阅读次数:
149
嵌入式linux开发环境搭建(二)——NFS服务器的搭建1、安装apt-getinstallnfs-commonnfs-kernel-server2、修改配置文件/etc/exports/home/nfs192.168.0.0/24(rw,sync,no_subtree_check)3、重启NFS服务器/etc/init.d/nfs-kernel-serverstart4、查看NFS设置showmount-elocalhost5..
分类:
系统相关 时间:
2016-05-27 18:37:41
阅读次数:
249
实现环境[root@backup~]#cat/etc/redhat-releaseCentOSrelease6.7(Final)[root@backup~]#uname-r2.6.32-573.el6.x86_64[root@backup~]#uname-ix86_64一安装;yuminstallnfs-utilsrpcbind#因为nfs开启后应用的端口是随机的,所以需要借助rpc将nfs当前应用的端口告知客户端。#客..
分类:
其他好文 时间:
2016-05-04 19:31:31
阅读次数:
153