天天看点

阿里云+windows+svn服务器,实现外网用户访问自己的svn服务器

  • 准备工作

阿里云服务器,分配了公网ip windows平台 visualSVN  下载地址:64位

  • 安装SVN服务器

一直next,选择标准版,直到完成安装,启动VisualSVN Manager

  • 建立repositories

取名testapp

  • 创建用户

设用户名test,密码test,设权限write/read

  • 将用户添加进repositori

点击testapp的属性(properties),添加用户test

  • 利用公网ip访问svn服务器

https://xx.xx.xx.xx:443/svn/testapp 首先是https,而不是http开头 其中xx处便是需要填写的公网ip,注意,一定是云服务器分配的公网ip,而非内网ip 再者,一定加上端口号,svn服务器默认端口号是443 后面便是我们自己创建的仓库testapp 如用浏览器访问该链接,会要求输入账号,密码,输入之前创建的用户的账号密码即可 和利用svn客户端checkout一样,输入账号密码

  • 亲测成功,故而分享

继续阅读