农历(十一月初十)
关于
友情链接
Toggle navigation
Harries Blog™
追心中的海,逐世界的梦
首页
编程技术
Java
软件架构
移动开发
后端
前端
大数据
数据库
算法
人工智能
测试
100 Days of AI Programming
代码管理
IT教程
springboot-demo
Java入门教程
bootstrap3
CSS
Apache基础教程
php
ionic 教程
Python
mysql教程
eclipse
Ubuntu VPS系统配置
AngularJS 教程
MongoDB教程
Struts2教程
springcloud-demo
Redis教程
Spring教程
Git教程
openfire参考指南
Jenkins进阶系列
Java设计模式
HBase教程
java-demo
Maven教程
hibernate教程
Docker 教程
memcached教程
Quartz指南
Ant教程
java实例教程
Hive教程
SpringCloud
ANTLR教程
XStream教程
Elastic-Job-Lite
Hazelcast教程
深入浅出MyBatis
ibaties教程
SVN教程
rabittmq教程
Hadoop教程
solr教程
WebService CXF学习
JPA教程
ActiveMQ中文指南
Java内存模型
dubbo教程
python3-demo
Linux入门视频教程
生活感悟
默认分类
博主自留地
一周一本书
一月一个人
互联网
互联网.出海
互联网.IPO
运维
Linux
docker
nginx
windows
操作系统
监控软件
vmware
虚拟化
tomcat
自动化
留言板
转载
发表于 2016年01月19日
浏览 (
962
)
评论 (0)
【Linux】Linux操作系统 NFS服务器配置与使用
Linux操作系统
NFS服务器配置与使用
OS:Red
Hat Enterprise
Linux
6.4
1 检查软件安装
[root@rhel64 ~]#
rpm -qa | grep nfs
2 编写配置文件 /etc/exports
[root@rhel64 ~]#
vi /etc/exports
3 启动服务
[root@rhel64 ~]#
service nfs start
[root@rhel64 ~]#
service nfs status
4 设置服务开机启动
[root@rhel64 ~]#
chkconfig nfs on
[root@rhel64 ~]#
chkconfig --list nfs
5 服务器端查看共享目录
[root@rhel64 ~]#
exportfs
[root@rhel64 ~]#
exportfs -v
[root@rhel64 ~]#
showmount -e
6 客户端查看共享
客户端(192.168.6.106 黄色终端)
[root@rhel64 ~]#
showmount -e 192.168.6.101
创建挂载点 临时挂载
[root@rhel64 ~]#
mkdir /mnt/nfs
[root@rhel64 ~]#
ls -ld /mnt/nfs
[root@rhel64 ~]#
mount 192.168.6.101:/tmp/ /mnt/nfs/
[root@rhel64 ~]#
df -Th
[root@rhel64 ~]#
cd /mnt/nfs
[root@rhel64 nfs]#
ls
[root@rhel64 nfs]#
touch 106file
[root@rhel64 ~]#
umount /mnt/nfs
7 服务器端以读写方式共享
[root@rhel64 ~]#
vi /etc/exports
[root@rhel64 ~]#
exportfs -rv
或 service nfs reload
[root@rhel64 ~]#
exportfs -v
8 客户端重新挂载
[root@rhel64 ~]#
mount 192.168.6.101:/tmp/ /mnt/nfs
[root@rhel64 ~]#
df -Th
[root@rhel64 nfs]#
touch 106file
[root@rhel64 nfs]#
ll 106file
nfsnobody 是因为默认 root_squash
[root@rhel64 nfs]#
su - tom
[tom@rhel64 ~]$
cd /mnt/nfs
[tom@rhel64 nfs]$
touch 106tomfile
[tom@rhel64 nfs]$
ll 106tomfile
9 no_root_squash
服务器端修改配置文件 重新读取配置文件
[root@rhel64 ~]#
vi /etc/exports
[root@rhel64 ~]#
service nfs reload
[root@rhel64 ~]#
exportfs -v
客户端重新挂载测试
[root@rhel64 ~]#
umount /mnt/nfs
[root@rhel64 ~]#
mount 192.168.6.101:/tmp/ /mnt/nfs/
[root@rhel64 ~]#
touch /mnt/nfs/106file2
[root@rhel64 ~]#
ll /mnt/nfs/106file2
10 客户端开机自动挂载/etc/fstab
[root@rhel64 ~]#
vi /etc/fstab
吕星昊
2016.1.19
?
正文到此结束
赞
0
赏
分享
本文标签:
ACE
tab
软件
目录
nfs
fstab
rpm
list
linux
tar
http
测试
配置
src
服务器
安装
Enterprise
ip
操作系统
root
grep
版权声明:
本文为互联网转载文章,出处已在文章中说明(部分除外)。如果侵权,请
联系本站长
删除,谢谢。
本文海报:
生成海报一
生成海报二
上一篇
超越继承之路:协议混合
下一篇
看看数据科学家们都在用什么:Github上的十大深度学习项目
热门推荐
配置虚拟站点
浏览(9,420)
评论(20)
修改上传文件权限
浏览(11,010)
评论(18)
VPS 自我监控
浏览(9,781)
评论(23)
OpenVZ VPS 额外支持
浏览(9,883)
评论(17)
openfire数据库安装指南
浏览(19,481)
评论(0)
openfire定制指南
浏览(10,962)
评论(17)
Caffe 深度学习框架上手教程
浏览(15,233)
评论(0)
ReactiveCocoa入门教程:第一部分
浏览(16,060)
评论(0)
开源HIDS-OSSEC使用实例:监测CC攻击
浏览(15,945)
评论(0)
Decorators in ES7
浏览(20,619)
评论(4)
相关文章
开源社百日:我们是开源社区的联合国
深入了解推荐引擎组件(基于Apache Mahout和Elasticsearch)
Symfony 2.7.0 LTS 正式版已经发布
设计模式之工厂模式(3)
linkerd:Twitter式微服务运营能力
ansible简单使用
你为什么会离职
Java处理/x开头的编码(java处理nginx的日志)
深入剖析Netty源码设计(一)——深入理解select poll epoll机制
可能是把 Java 接口讲得最通俗的一篇文章
说给你听
本文目录
随机标签
安全
rewrite
镜像
GridFS
demo
Testing environment
depends_on
Cloudflare
性能问题
需求
Bash Shell
Djps.track.ap.dependencies
不讲理
西方人
jetty
jacoco
主动承担风险
Timekeeping
小规模纳税人
Lars George
MongoDB
Brian Troutwine
Nexkos
Bash Shell
营销型单页
Slaves
mybatis
Contract
Prompt
RocketChat
程序员
hikari
姜茶
setInterval
value
Dubbo,序列化
caching_sha2_password
自动化
分布式组件
DJL
零食
35岁危机
telnet
Zebras
女装
红包
POI-TL
json日期对象
未富先老
时间估算
文本索引
书籍教程
springboot-demo
Java入门教程
bootstrap3
CSS
Apache基础教程
php
ionic 教程
Python
mysql教程
eclipse
Ubuntu VPS系统配置
AngularJS 教程
MongoDB教程
Struts2教程
springcloud-demo
Redis教程
Spring教程
Git教程
openfire参考指南
Jenkins进阶系列
Java设计模式
HBase教程
java-demo
Maven教程
hibernate教程
Docker 教程
memcached教程
Quartz指南
Ant教程
java实例教程
Hive教程
SpringCloud
ANTLR教程
XStream教程
Elastic-Job-Lite
Hazelcast教程
深入浅出MyBatis
ibaties教程
SVN教程
rabittmq教程
Hadoop教程
solr教程
WebService CXF学习
JPA教程
ActiveMQ中文指南
Java内存模型
dubbo教程
python3-demo
Linux入门视频教程
近期评论
Harrries
主要用的是AI
Allen
博主的博客用的什么技术栈,内容都是干货,赞
Harrries
收到
果冻
https://www.liuhaihua.cn/archives/40657.html 这篇博客中的图片打不开了
wu先生
不会英语啊。
Harrries
前100名用户会展示特殊的纪念徽章
Harrries
需要魔法才能发打开,中国区不行
无往不利
https://pplx.ai/floraliu4199466 这个链接打不开是什么原因?
Harrries
5分钟 注册下载 登录 提一个问题,就可以找博主领取5块红包了,很简单
Harrries
可能有人安装的时候开了魔法也依然没办法安装,显示的是"等待网络连接解决方法:在存放安装包的目录下打开cmd,分别运行下面2个命令:set "https_proxy=http://127.0.0.1:1080"start "" ".\comet_installer_latest.exe"需要注意有一些科技用的不是1080端口,按需修改
随机文章
站长推荐
近期文章
1
HT for Web基础动画介绍
2
针对Amazon WorkSpaces的新的CloudWatch测量指标
3
【每日一博】mfs 分布式存储 +master 端高可用
4
Angler钓鱼攻击工具包可感染PoS机系统
5
StackOverflow 黑魔法系列 <2>
6
Spark 源码和应用开发环境的构建
7
比较 IBM Business Process Manager 仪表板和 IBM Business Monitor
8
Python 多进程实践
9
我是如何构建一个持续发展的项目
10
自定义函数生成UPC条码
1
VPS 自我监控
2
springboot接入多个ES启动时候自检报错
3
配置虚拟站点
4
openfire协议支持指南
5
修改上传文件权限
6
OpenVZ VPS 额外支持
7
2015年北京下第一场雪留念
8
openfire定制指南
9
mysql存储过程实例一:游标的使用
10
Linux删除或者新增SWAP分区
1
AI 是如何识别 MCP 工具,并在合适的时候触发调用的?
2
什么是Vibe Coding?
3
AI 编码的常见问题:不是 AI 不行,而是人要更清醒
4
Claude CLI 使用指南(Step by Step)
5
基于 OpenSpec + Claude CLI 的实战开发指南
6
你看到什么,决定你成为什么
7
企业级 AI 编程 Prompt 体系
8
Google 登录问题排查指南
9
半天、200 元,我把自己的 App 做出来并上架了 App Store
10
Flutter + Supabase 接入 Google 登录
网站信息
文章总数:80,189 篇
文件总数:210,977 个
标签总数:2,482 个
分类总数:86 个
留言数量:2,592 条
在线人数:660 人
运行天数:4,810天
最后更新:2025年12月28日17点
×
输入密码查看文章详情
×
搜索文章
搜索
热门搜索:
Java
Springboot
Linux
Maven
Bootstrap
阿里云
×
评论信息框
可以通过QQ号实时获取昵称和头像
QQ
昵称
邮箱
网址
提交评论
×
山无棱江水为竭,冬雷震震夏雨雪,才敢请君舍
支付宝
微信
转账时请备注“
博客赞助
”
Loading...