sudo apt-get install subversion cd /home/pi mkdir svn svnadmin create /home/pi/svn/Project cd /home/pi/svn/Project/conf nano svnserve.conf ### 去掉注释 ### # anon-access = none # auth-access = write # password-db = passwd nano passwd # user = 123456 killall svnserve svnserve -d -r /home/pi/svn # 自带的轻量级服务器svnserve ps aux | grep svn SVN默认端口:3690 远程连接 将路由器的3690端口映射到树莓派的3690端口。 svn://你的域名/Project
时间: 2024-10-29 05:12:39