龙芯俱乐部开源技术社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 6779|回复: 0

龍芯派tftp服務器

[复制链接]

46

主题

115

帖子

4146

积分

论坛元老

Rank: 8Rank: 8

积分
4146
发表于 2019-1-29 02:14:03 | 显示全部楼层 |阅读模式
1c教程通常講windows上搭建tftp服務器。龍芯派和其它linux上搭建也很簡單。
yum install tftp-server
yum install xinetd
vi /etc/xinetd.d/tftp
輸入以下內容
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /opt/tftpboot -c
per_source = 11
cps = 100 2
flags = IPv4
}
创建tftpboot目录
cd /opt
mkdir tftpboot
将tftpboot权限改到最大化。
chmod 777 /opt/tftpboot
systemctl start tftp.service
systemctl start xinetd
systemctl disable firewalld.service


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|龙芯俱乐部开源技术社区

GMT+8, 2024-4-16 16:35 , Processed in 0.116117 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表