ubuntu安装tftpserver
来源:互联网 发布:淘宝首页设置全屏 编辑:程序博客网 时间:2024/05/21 22:24
安装相关软件包:tftpd ftp xinetd
$sudo apt-get install tftpd tftp xinetd
建立tftp服务文件目录并且更改其权限
$cd /
$sudo mkdir tftpboot
$sudo chmod 777 tftpboot -R
修改/etc/inetd.conf配置文件中tftp专用目录的地址
$sudo vim /etc/inetd.conf
将如下内容
## sane-port stream tcp nowait saned:saned /usr/sbin/saned saned
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp
改成如下:
## sane-port stream tcp nowait saned:saned /usr/sbin/saned saned
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot
在/etc/xinetd.d/下建立一个名为tftp配置文件
$sudo vim /etc/xinetd.d/tftp
在文件中输入以下内容:
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
}
重新启动服务
$sudo /etc/init.d/xinetd restart
- ubuntu安装tftpserver
- 如何在AIX下安装设置tftpserver
- ubuntu安装
- Ubuntu安装
- ubuntu安装
- 安装ubuntu
- 安装Ubuntu
- 安装Ubuntu
- ubuntu 安装
- 安装Ubuntu
- 安装Ubuntu
- Ubuntu安装
- 安装Ubuntu
- ubuntu安装
- Ubuntu安装
- 安装Ubuntu
- Ubuntu安装
- ubuntu安装
- PHP面向对象笔记
- asp.net WebForm页面间传值方法(二)
- NBU中更换所有磁带步骤
- 五个有用的过滤器
- 使用设计模式改善程序结构
- ubuntu安装tftpserver
- 被delphi控件折磨了两天
- IPC_CREAT | 0660
- 网站测试基本方法-19. 平台测试
- ubuntu网络配置
- Move all database objects from one tablespace to another
- EXT 解析器与数据的关系
- Dojo.tree
- DEMO:字符串反转