ubuntu14.04上安装tftp和nfs
来源:互联网 发布:模拟电路实验软件 编辑:程序博客网 时间:2024/06/05 01:06
1.安装NFS
#sudo apt-get install nfs-kernel-server
在/etc/exports添加如下内容
/home/xuxianyin/nfs/rootfs *(rw,sync,no_root_squash)
/home/xuxianyin/nfs/rootfs:要共享的目录
* :允许所有的网段访问
rw :读写权限
sync:资料同步写入内在和硬盘
no_root_squash:nfs客户端共享目录使用者权限
重启服务:
#sudo /etc/init.d/nfs-kernel-server restart
显示共享目录:
#showmount -e
若可以正常的显示共享目录说明安装成功
2.tftp安装
安装必要程序:
#sudo apt-get install xinetd tftp tftpd
在/etc/xinetd.d/tftp添加如下内容,如果没有就创建该文件
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /home/xuxianyin/tftp
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
创建/home/xuxianyin/tftp目录,并且将目录的权限改为777
启动tftp服务:
#sudo /etc/init.d/xinetd restart
测试:
在/home/xuxianyin/tftp目录下创建一个文件test
# tftp 127.0.0.1
tftp> get test
tftp> q
如果获取到test文件,说明创建成功
- ubuntu14.04上安装tftp和nfs
- Ubuntu14.04上安装和使用tftp服务
- 安装tftp和nfs
- 在Ubunut12.04上搭建TFTP和NFS服务器
- ubuntu14.04安装tftp服务器
- ubuntu14.04安装TFTP服务
- RHEL5.1 tftp和nfs安装
- [NOTE] NFS 和TFTP安装与配置
- Ubuntu14.04安装NFS服务器
- ubuntu14.04安装NFS文件系统
- Ubuntu14.04安装NFS服务器
- ubuntu16.04下安装tftp nfs服务
- 关于Ubuntu14.04安装配置tftp
- ubuntu14安装TFTP服务器
- 在ubuntu上安装tftp服务器与nfs服务器
- ubuntu10.04下tftp和nfs配置
- nfs 和 tftp
- nfs和tftp概要
- 剑指offer面试题28扩展提————字符串的组合
- s3c6410上移植alsa-lib和alsa-utils简要说明
- Partition List
- halcon学习之solution matching模型的选择和创建
- CF 474C Captain Marmot[暴力枚举 || bfs状态压缩 ]
- ubuntu14.04上安装tftp和nfs
- could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridg
- current_schema参数的用途
- C#参考——关键字
- 光棍节的快乐--错排--组合
- 心被震撼,发博文以纪之,好好工作,好好科研
- 一点一滴
- C语言基本概念中的易错点
- 2014年忙碌