linux nginx下搭建了SVN服务器,本地要如何配置了

linux nginx下搭建了SVN服务器,本地要如何配置了,第1张

客户端首先是要checkout,这个 *** 作没错,但url怎么写要看你的SVN服务器是怎么搭建了,有用svn协议的(url以svn打头+://),有用>开机登录进入命令行!
sudo yum install -y subversion
输入这个命令进行安装,前面加入sudo。不然会没有权限
安装完成后,发现已经有了svn相关命令
知道svn服务器的地址,然后创建一个目录,比如svn,进入该目录,输入:
svn checkout >网上有好多教程,你的服务器是什么系统?
如果可以yum安装参考下面的教程
>centos 65
1安装tftp软件
# yum -y install tftp
2修改配置文件
# vi /etc/xinetdd/tftp
server_args = -s /tftpboot '加-c
disable = yes '改为no #默认tftp服务是关闭的。
修改后的代码:
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/intftpd
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 192168xx -c put 22txt 从linux下上传一个文件到 ip 为192168xx 远程主机下
$ tftp 192168xx -c get 33txt 从远程主机得到一个33txt的文件


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zz/10559536.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-09
下一篇 2023-05-09

发表评论

登录后才能评论

评论列表(0条)

保存