怎么在linux上安装svn服务端

发布网友

我来回答

2个回答

热心网友

centos 6.5

1.安装tftp软件
# yum -y install tftp*
2.修改配置文件

# vi /etc/xinetd.d/tftp

server_args = -s /tftpboot '加-c
disable = yes '改为no #默认tftp服务是关闭的。

修改后的代码:
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /var/lib/tftpboot -c
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}

修改项server_args= -s <path> -c
其中<path>处可以改为你的tftp-server的根目录,参数-s指定chroot,-c指定了可以创建文件。

4.

# vi /etc/selinux/config

SELINUX=permissive 或者 disable

5.启动tftp服务
# service xinetd start

不能启动试试关闭防火墙

# service iptables stop

linux下tftp的使用

$ tftp 192.168.x.x -c put 22.txt 从linux下上传一个文件到 ip 为192.168.x.x 远程主机下

$ tftp 192.168.x.x -c get 33.txt 从远程主机得到一个33.txt的文件

热心网友

官网有安装手册哦, 看下wo 的网名吧, 还是可以解决的哦啊

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com