Ubuntu tftp nfs 的安装与配置
来源:互联网 发布:k svd字典训练算法 编辑:程序博客网 时间:2024/05/01 00:57
1. sudo apt-get install tftp-hpa tftpd-hpa
sudo apt-get install xinetd
sudo apt-get install netkit-inetd
2. cd / sudo mkdir /tftpboot
sudo chmod 777 /tftpboot
3. sudo in.tftpd -l /tftpboot
这样tftp服务器就启动了,下面可以做一个测试
4. cd /tftpboot touch test 建立一个文件
5. cd /home/usrname 登录另一个目录
6. tftp 192.168.0.59 换成自己的ip > get /tftpboot/test 打开目录 /etc/xinetd.d/ 新建文件tftp
tftp内容:
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
}
重新启动服务:
sudo /etc/init.d/xinetd restart
2.安装NFS
Ubuntu上默认是没有安装NFS服务器的,首先要安装NFS服务程序:
$ sudo apt-get install nfs-kernel-server
(安装nfs-kernel-server时,apt会自动安装nfs-common和portmap)
这样,宿主机就相当于NFS Server。
1、安装nfs服务版
apt-get install nfs-kernel-server
2、修改nsf配置文件
vi /etc/exports
在文件中添加nfs的目录格式如下
/home/nfs/rootfs *(rw,sync,no_root_squash)
存盘退出
3、在根目录下建立nsf的目录
mkdir /home/nfs/rootfs
修改该目录的权限
chmod 777 -R /home/nfs/rootfs
4、从新启动nfs
/etc/init.d/nfs-kernel-server restart
- Ubuntu tftp nfs 的安装与配置
- Ubuntu下tftp和nfs的安装和配置
- ubuntu 安装配置shh,tftp,nfs 笔记
- ubuntu 配置NFS tftp
- [NOTE] NFS 和TFTP安装与配置
- ubuntu配置tftp和nfs的方法
- TFTP&NFS 的配置
- ubuntu nfs和tftp配置
- ubuntu nfs tftp 如何配置
- ubuntu安装tftp, nfs等
- Ubuntu 14.04 安装配置tftp及NFS服务
- ubuntu 16.04 OS 安装TFTP and NFS Server 配置详解
- FTP、TFTP、NFS、SSH介绍及在 Ubuntu 上的安装配置
- ubuntu nfs 安装与配置
- Ubuntu NFS 安装与配置
- Ubuntu NFS 安装与配置
- 在ubuntu上安装tftp服务器与nfs服务器
- TFTP与NFS服务器配置
- 批量删除 _desktop.ini
- Android 内存泄漏调试
- wince下的地址映射知识点滴
- 61条面向对象设计的经验原则
- GPS 与GPRS
- Ubuntu tftp nfs 的安装与配置
- 集中式缓存系统 memcached
- poj 2352 线段树
- 对面向对象设计原则的总结
- 2010_0917_最新linux安装
- page_address()函数分析--如何通过page取得虚拟地址
- oracle 9,oracle10g,oracle11g
- 使用 LoadLibrary 远线程向进程注入dll
- Hadoop0.21.0源码编译方法