网络共享文件系统客户端配置
1.cifs
如何访问1
1)yum install samba-client
2)smbclient -L //ip
3)smbclient //ip/sharename
如何访问2
mount //ip/sharename /mountpoint -o username=guest
vim /etc/fstab
//ip/sharename /mountpoint cifsdefaults,username=guest 0 0
mount -a
2.nfs
手动挂载方式
1)yum install nfs-utils
2)showmount -e ip
3)mount ip:/sharedir /mountpoint
自动挂载方式
1)yum install autofs
2)systemctl start autofs
3)cd /net/ip/
4)vim /etc/syscofig/autofs
TIMEOUT=5
5).自定义挂载方式
vim /etc/auto.master
最终挂载点的上层目录自策略文件
/nfs/etc/auto.nfs
vim 自策略文件(vim /etc/auto.nfs)
最终挂载点网络挂载资源
nfs1172.25.254.250:/nfsshare/nfs1
*172.25.254.250:/nfsshare/&
systemctl restart autofs
cd /nfs/nfs1
[root@westos nfs1]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/vda1 10473900 3262308 7211592 32% /
devtmpfs 927072 0 927072 0% /dev
tmpfs 942660 0 942660 0% /dev/shm
tmpfs 942660 16968 925692 2% /run
tmpfs 942660 0 942660 0% /sys/fs/cgroup
/dev/vdb1 1038336 749744 288592 73% /pub
172.25.254.250:/nfsshare/nfs1 100221952 57231360 42990592 58% /nfs/nfs1
- CentOS Linux上配置NFS网络文件系统以及客户端使用
- NFS网络共享文件系统详细配置
- 网络文件系统nfs的配置(看我写的跟真的似的!)
- PRO-1:Day6-tftp配置,nfs配置 ,配置putty,网络配置,挂载文件系统
- NFS网络文件系统的快速配置----视频下载
- Linux下NFS(网络文件系统)的建立与配置方法
- NFS网络文件系统共享日志
- Porting:uboot烧写、linux内核烧写、根文件系统烧写:系统移植,nfs同步网络配置
- Ubuntu配置网络文件共享服务器NFS
- 网络文件系统NFS的命令行配置方式
- NFS 网络文件系统服务器共享和客户机的自动挂载
- VirtualBox 文件共享及网络配置技巧
- Linux高性能集群搭建(2)---NFS共享文件系统安装配置
- 我的liunx学习笔记之访问网络共享文件系统
- DM3730开发板使用uboot通过网络下载内核和文件系统 ubuntu下配置 TFTP
- Linux网络管理员手册(5) 第五章 配置TCP/IP网络 proc文件系统 设置主机名 分配IP地址 IP的接口配置 以太网接口
- Linux下NFS(网络文件系统)的建立与配置方法
- Linux下NFS(网络文件系统)的建立与配置方法
- 在Virtualbox的linux客户端中共享window的文件夹,出现“mount:未知的文件系统 `vboxsf'”情况