{"id":80672,"date":"2026-03-05T18:06:54","date_gmt":"2026-03-05T10:06:54","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/80672.html"},"modified":"2026-03-05T18:06:54","modified_gmt":"2026-03-05T10:06:54","slug":"centos-7-%e6%90%ad%e5%bb%ba-svn-%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e7%b2%be%e7%ae%80%e7%89%88%e6%95%99%e7%a8%8b%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/80672.html","title":{"rendered":"CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09"},"content":{"rendered":"<p>\u672c\u6587\u805a\u7126 CentOS 7 \u7cfb\u7edf&#xff0c;\u8be6\u7ec6\u8bb2\u89e3 SVN \u670d\u52a1\u5668\u7684\u5b89\u88c5\u3001\u914d\u7f6e\u3001\u542f\u52a8\u53ca\u6743\u9650\u7ba1\u7406&#xff0c;\u6b65\u9aa4\u66f4\u8d34\u5408 CentOS 7 \u7279\u6027&#xff0c;\u786e\u4fdd\u64cd\u4f5c\u53ef\u843d\u5730\u3002<\/p>\n<h3>\u4e00\u3001\u73af\u5883\u51c6\u5907&#xff08;CentOS 7 \u4e13\u5c5e&#xff09;<\/h3>\n<h4>1. \u6743\u9650\u4e0e\u57fa\u7840\u73af\u5883<\/h4>\n<p>\u786e\u4fdd\u4ee5 root \u7528\u6237\u64cd\u4f5c&#xff0c;\u5148\u66f4\u65b0\u7cfb\u7edf\u5e76\u5173\u95ed \/ \u653e\u884c\u9632\u706b\u5899&#xff08;\u751f\u4ea7\u73af\u5883\u63a8\u8350\u653e\u884c\u7aef\u53e3&#xff09;&#xff1a;<\/p>\n<p># \u66f4\u65b0 yum \u6e90&#xff08;\u53ef\u9009&#xff0c;\u63d0\u5347\u5b89\u88c5\u901f\u5ea6&#xff09;<br \/>\nyum update -y<\/p>\n<p># \u5173\u95ed\u9632\u706b\u5899&#xff08;\u4e34\u65f6&#xff09;<br \/>\nsystemctl stop firewalld<br \/>\n# \u7981\u6b62\u9632\u706b\u5899\u5f00\u673a\u81ea\u542f&#xff08;\u6c38\u4e45&#xff09;<br \/>\nsystemctl disable firewalld<\/p>\n<p># \u5173\u95ed SELinux&#xff08;\u4e34\u65f6&#xff09;<br \/>\nsetenforce 0<br \/>\n# \u6c38\u4e45\u5173\u95ed SELinux&#xff08;\u9700\u91cd\u542f\u751f\u6548&#xff09;<br \/>\nsed -i &#039;s<\/p>\n<h4>2. \u5f00\u653e SVN \u7aef\u53e3&#xff08;\u66ff\u4ee3\u5173\u95ed\u9632\u706b\u5899&#xff0c;\u63a8\u8350&#xff09;<\/h4>\n<p>\u82e5\u4e0d\u5173\u95ed\u9632\u706b\u5899&#xff0c;\u9700\u653e\u884c\u9ed8\u8ba4\u7aef\u53e3 3690&#xff1a;<\/p>\n<p># \u4e34\u65f6\u5f00\u653e 3690 \u7aef\u53e3<br \/>\nfirewall-cmd &#8211;add-port&#061;3690\/tcp<br \/>\n# \u6c38\u4e45\u5f00\u653e 3690 \u7aef\u53e3<br \/>\nfirewall-cmd &#8211;add-port&#061;3690\/tcp &#8211;permanent<br \/>\n# \u91cd\u8f7d\u9632\u706b\u5899\u89c4\u5219<br \/>\nfirewall-cmd &#8211;reload\/^SELINUX&#061;enforcing\/SELINUX&#061;disabled\/&#039; \/etc\/selinux\/config<\/p>\n<h3>\u4e8c\u3001\u5b89\u88c5 SVN \u670d\u52a1<\/h3>\n<p>CentOS 7 \u76f4\u63a5\u901a\u8fc7 yum \u5b89\u88c5 subversion \u5305&#xff0c;\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p># \u5b89\u88c5 SVN \u670d\u52a1\u7aef<br \/>\nyum install subversion -y<\/p>\n<p># \u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f<br \/>\nsvnserve &#8211;version<\/p>\n<p>\u8f93\u51fa\u5305\u542b svnserve, version \u5b57\u6837\u5373\u4e3a\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<h3>\u4e09\u3001\u521b\u5efa SVN \u4ed3\u5e93<\/h3>\n<h4>1. \u521b\u5efa\u4ed3\u5e93\u6839\u76ee\u5f55&#xff08;\u7edf\u4e00\u7ba1\u7406&#xff09;<\/h4>\n<p># \u521b\u5efa\u6839\u76ee\u5f55<br \/>\nmkdir -p \/var\/svn\/repos<br \/>\n# \u8bbe\u7f6e\u76ee\u5f55\u6743\u9650&#xff08;\u907f\u514d\u540e\u7eed\u8bbf\u95ee\u62a5\u9519&#xff09;<br \/>\nchmod -R 755 \/var\/svn\/repos<\/p>\n<h4>2. \u521b\u5efa\u5177\u4f53\u9879\u76ee\u4ed3\u5e93&#xff08;\u793a\u4f8b&#xff1a;project \u4ed3\u5e93&#xff09;<\/h4>\n<p># \u521b\u5efa\u4ed3\u5e93<br \/>\nsvnadmin create \/var\/svn\/repos\/project<\/p>\n<p># \u67e5\u770b\u4ed3\u5e93\u76ee\u5f55\u7ed3\u6784&#xff08;\u9a8c\u8bc1\u521b\u5efa&#xff09;<br \/>\nls \/var\/svn\/repos\/project<\/p>\n<p>\u8f93\u51fa conf db format hooks locks README.txt \u5373\u4e3a\u521b\u5efa\u6210\u529f&#xff0c;\u5176\u4e2d conf \u662f\u6838\u5fc3\u914d\u7f6e\u76ee\u5f55\u3002<\/p>\n<h3>\u56db\u3001\u6838\u5fc3\u914d\u7f6e&#xff08;\u5173\u952e\u6b65\u9aa4&#xff09;<\/h3>\n<p>CentOS 7 \u4e0b SVN \u914d\u7f6e\u6587\u4ef6\u8def\u5f84\u4e3a \/var\/svn\/repos\/project\/conf\/&#xff0c;\u5305\u542b 3 \u4e2a\u6838\u5fc3\u6587\u4ef6&#xff0c;\u9700\u4e25\u683c\u6309\u683c\u5f0f\u4fee\u6539&#xff08;\u6ce8\u91ca\u884c\u9700\u5220\u9664 # \u548c\u7a7a\u683c&#xff0c;\u914d\u7f6e\u9879\u9876\u683c&#xff09;\u3002<\/p>\n<\/p>\n<h4>1. \u914d\u7f6e svnserve.conf&#xff08;\u5168\u5c40\u914d\u7f6e&#xff09;<\/h4>\n<p>vim \/var\/svn\/repos\/project\/conf\/svnserve.conf<\/p>\n<p>\u4fee\u6539\u5185\u5bb9\u5982\u4e0b&#xff08;\u5220\u9664\u6240\u6709\u6ce8\u91ca\u7b26 # \u53ca\u7a7a\u683c&#xff0c;\u786e\u4fdd\u9876\u683c&#xff09;&#xff1a; [general]<br \/>\n# \u7981\u6b62\u533f\u540d\u8bbf\u95ee<br \/>\nanon-access &#061; none<br \/>\n# \u8ba4\u8bc1\u7528\u6237\u53ef\u5199<br \/>\nauth-access &#061; write<br \/>\n# \u5bc6\u7801\u6587\u4ef6\u8def\u5f84<br \/>\npassword-db &#061; passwd<br \/>\n# \u6743\u9650\u63a7\u5236\u6587\u4ef6\u8def\u5f84<br \/>\nauthz-db &#061; authz<br \/>\n# \u4ed3\u5e93\u6807\u8bc6&#xff08;\u81ea\u5b9a\u4e49&#xff0c;\u5982\u9879\u76ee\u540d&#xff09;<br \/>\nrealm &#061; project_repos<\/p>\n<h4>2. \u914d\u7f6e passwd&#xff08;\u7528\u6237\u5bc6\u7801&#xff09;<\/h4>\n<p>vim \/var\/svn\/repos\/project\/conf\/passwd<\/p>\n<p>[users]<br \/>\n# \u793a\u4f8b&#xff1a;\u6dfb\u52a0\u7ba1\u7406\u5458\u548c\u666e\u901a\u7528\u6237<br \/>\nadmin &#061; Admin&#064;123<br \/>\nuser1 &#061; User1&#064;123<\/p>\n<h4>3. \u914d\u7f6e authz&#xff08;\u6743\u9650\u63a7\u5236&#xff09;<\/h4>\n<p>vim \/var\/svn\/repos\/project\/conf\/authz<\/p>\n<p>\u652f\u6301\u5206\u7ec4\u548c\u8def\u5f84\u7ea7\u6743\u9650\u63a7\u5236&#xff0c;\u793a\u4f8b\u914d\u7f6e&#xff1a;<\/p>\n<p># \u5b9a\u4e49\u7528\u6237\u7ec4<br \/>\n[groups]<br \/>\nadmin_group &#061; admin<br \/>\nuser_group &#061; user1<\/p>\n<p># \u4ed3\u5e93\u6839\u76ee\u5f55\u6743\u9650<br \/>\n[\/]<br \/>\n&#064;admin_group &#061; rw \u00a0# \u7ba1\u7406\u5458\u7ec4\u8bfb\u5199<br \/>\n&#064;dev_group &#061; r \u00a0 \u00a0# \u666e\u901a\u7528\u6237\u53ea\u8bfb<br \/>\n* &#061; \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u5176\u4ed6\u7528\u6237\u7981\u6b62\u8bbf\u95ee<\/p>\n<p># \u5b50\u76ee\u5f55\u6743\u9650&#xff08;\u793a\u4f8b&#xff1a;project \u7684 doc \u76ee\u5f55&#xff09;<br \/>\n[project:\/doc]<br \/>\nuser1 &#061; rw \u00a0# \u666e\u901a\u7528\u6237\u53ef\u8bfb\u5199 doc \u76ee\u5f55<br \/>\nadmin &#061; rw \u00a0# \u7ba1\u7406\u5458\u53ef\u8bfb\u5199<\/p>\n<h3>\u4e94\u3001\u542f\u52a8 SVN \u670d\u52a1&#xff08;CentOS 7 \u4e13\u5c5e&#xff09;<\/h3>\n<\/p>\n<h4>1. \u542f\u52a8\u670d\u52a1<\/h4>\n<p># \u540e\u53f0\u542f\u52a8 SVN&#xff0c;\u6307\u5b9a\u4ed3\u5e93\u6839\u76ee\u5f55&#xff08;\u5173\u952e&#xff09;<br \/>\nsvnserve -d -r \/var\/svn\/repos<\/p>\n<p># \u9a8c\u8bc1\u670d\u52a1\u662f\u5426\u542f\u52a8<br \/>\n# \u67e5\u770b\u8fdb\u7a0b<br \/>\nps -ef | grep svnserve<br \/>\n# \u67e5\u770b\u7aef\u53e3\u76d1\u542c<br \/>\nnetstat -tnlp | grep 3690<\/p>\n<p>\u8f93\u51fa\u5305\u542b svnserve -d -r \/var\/svn\/repos \u548c 3690 \u7aef\u53e3\u76d1\u542c\u5373\u4e3a\u542f\u52a8\u6210\u529f\u3002<\/p>\n<h4>2. \u505c\u6b62 \/ \u91cd\u542f\u670d\u52a1<\/h4>\n<p># \u505c\u6b62\u670d\u52a1<br \/>\npkill svnserve<\/p>\n<p># \u91cd\u542f\u670d\u52a1<br \/>\npkill svnserve &amp;&amp; svnserve -d -r \/var\/svn\/repos<\/p>\n<h3>\u516d\u3001\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f&#xff08;CentOS 7 systemd&#xff09;<\/h3>\n<h4>1. \u521b\u5efa\u7cfb\u7edf\u670d\u52a1\u6587\u4ef6<\/h4>\n<p>vim \/usr\/lib\/systemd\/system\/svnserve.service<\/p>\n<p>\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff08;\u9002\u914d CentOS 7 systemd&#xff09;&#xff1a;<\/p>\n<p>[Unit]<br \/>\nDescription&#061;SVN Server Daemon<br \/>\nAfter&#061;network.target<\/p>\n<p>[Service]<br \/>\nType&#061;forking<br \/>\n# \u542f\u52a8\u547d\u4ee4&#xff08;\u6307\u5b9a\u4ed3\u5e93\u6839\u76ee\u5f55&#xff09;<br \/>\nExecStart&#061;\/usr\/bin\/svnserve -d -r \/var\/svn\/repos<br \/>\n# \u505c\u6b62\u547d\u4ee4<br \/>\nExecStop&#061;\/usr\/bin\/pkill svnserve<br \/>\n# \u6545\u969c\u81ea\u52a8\u91cd\u542f<br \/>\nRestart&#061;on-failure<br \/>\nRestartSec&#061;5<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<\/p>\n<h4>2. \u751f\u6548\u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<\/h4>\n<p># \u91cd\u65b0\u52a0\u8f7d systemd \u914d\u7f6e<br \/>\nsystemctl daemon-reload<\/p>\n<p># \u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<br \/>\nsystemctl enable svnserve<\/p>\n<p># \u542f\u52a8\u670d\u52a1<br \/>\nsystemctl start svnserve<\/p>\n<p># \u67e5\u770b\u670d\u52a1\u72b6\u6001<br \/>\nsystemctl status svnserve<\/p>\n<p>\u8f93\u51fa active (running) \u5373\u4e3a\u5f00\u673a\u81ea\u542f\u914d\u7f6e\u6210\u529f\u3002<\/p>\n<h3>\u4e03\u3001\u5ba2\u6237\u7aef\u8bbf\u95ee\u6d4b\u8bd5<\/h3>\n<h4>1. \u8bbf\u95ee\u5730\u5740\u683c\u5f0f<\/h4>\n<p>svn:\/\/\u4f60\u7684\u670d\u52a1\u5668IP\/\u4ed3\u5e93\u540d<br \/>\n# \u793a\u4f8b&#xff1a;svn:\/\/192.168.1.100\/project<\/p>\n<h4>2. Linux \u5ba2\u6237\u7aef\u6d4b\u8bd5<\/h4>\n<p># \u68c0\u51fa\u4ed3\u5e93&#xff08;\u8f93\u5165\u7528\u6237\u540d\u5bc6\u7801&#xff09;<br \/>\nsvn checkout svn:\/\/192.168.1.100\/project \/local\/project &#8211;username admin<\/p>\n<p># \u63d0\u4ea4\u6d4b\u8bd5\u6587\u4ef6<br \/>\ncd \/local\/project<br \/>\necho &#034;CentOS 7 SVN Test&#034; &gt; test.txt<br \/>\nsvn add test.txt<br \/>\nsvn commit -m &#034;add test file&#034;<\/p>\n<h4>3. Windows \u5ba2\u6237\u7aef&#xff08;TortoiseSVN&#xff09;<\/h4>\n<ul>\n<li>\n<p>\u53f3\u952e\u7a7a\u767d\u5904 \u2192 \u9009\u62e9\u300cSVN Checkout\u300d<\/p>\n<\/li>\n<li>\n<p>\u8f93\u5165 svn:\/\/\u670d\u52a1\u5668IP\/project&#xff0c;\u70b9\u51fb\u300cOK\u300d<\/p>\n<\/li>\n<li>\n<p>\u8f93\u5165\u914d\u7f6e\u7684\u7528\u6237\u540d&#xff08;\u5982 admin&#xff09;\u548c\u5bc6\u7801&#xff0c;\u5373\u53ef\u68c0\u51fa\u4ed3\u5e93\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u516b\u3001CentOS 7 \u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h3>\n<h4>1. \u670d\u52a1\u542f\u52a8\u5931\u8d25<\/h4>\n<ul>\n<li>\n<p>\u68c0\u67e5\u4ed3\u5e93\u8def\u5f84\u6743\u9650&#xff1a;chown -R root:root \/var\/svn\/repos<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5 svnserve.conf \u683c\u5f0f&#xff1a;\u914d\u7f6e\u9879\u5fc5\u987b\u9876\u683c&#xff0c;\u65e0\u591a\u4f59\u7a7a\u683c<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5\u7aef\u53e3\u662f\u5426\u88ab\u5360\u7528&#xff1a;netstat -tnlp | grep 3690&#xff0c;\u5360\u7528\u5219\u6362\u7aef\u53e3&#xff08;\u5982 svnserve -d -r \/var\/svn\/repos &#8211;listen-port 3691&#xff09;<\/p>\n<\/li>\n<\/ul>\n<h4>2.\u6743\u9650\u4e0d\u8db3\u62a5\u9519<\/h4>\n<ul>\n<li>\n<p>\u68c0\u67e5 authz \u6587\u4ef6&#xff1a;\u8def\u5f84\u548c\u7528\u6237\u6743\u9650\u662f\u5426\u5339\u914d&#xff08;\u5982 [project:\/] \u800c\u975e [\/]&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5 SELinux&#xff1a;\u82e5\u672a\u6c38\u4e45\u5173\u95ed&#xff0c;\u4e34\u65f6\u5173\u95ed setenforce 0 \u91cd\u8bd5<\/p>\n<\/li>\n<\/ul>\n<h4>3. \u5f00\u673a\u81ea\u542f\u4e0d\u751f\u6548<\/h4>\n<ul>\n<li>\n<p>\u68c0\u67e5\u670d\u52a1\u6587\u4ef6\u8def\u5f84&#xff1a;CentOS 7 \u670d\u52a1\u6587\u4ef6\u9700\u653e\u5728 \/usr\/lib\/systemd\/system\/<\/p>\n<\/li>\n<li>\n<p>\u91cd\u65b0\u6267\u884c systemctl daemon-reload &amp;&amp; systemctl enable svnserve<\/p>\n<\/li>\n<\/ul>\n<h3>\u603b\u7ed3<\/h3>\n<p>CentOS 7 \u642d\u5efa SVN \u6838\u5fc3\u662f&#xff1a;\u5b89\u88c5\u5305 \u2192 \u5efa\u4ed3\u5e93 \u2192 \u914d\u6743\u9650 \u2192 \u542f\u670d\u52a1 \u2192 \u8bbe\u81ea\u542f\u3002\u91cd\u70b9\u6ce8\u610f\u914d\u7f6e\u6587\u4ef6\u683c\u5f0f&#xff08;\u9876\u683c\u3001\u65e0\u7a7a\u683c&#xff09;\u3001\u9632\u706b\u5899 \/ SELinux \u653e\u884c&#xff0c;\u4ee5\u53ca\u6743\u9650\u6587\u4ef6\u7684\u8def\u5f84\u5339\u914d&#xff0c;\u5373\u53ef\u5feb\u901f\u642d\u5efa\u7a33\u5b9a\u7684 SVN \u670d\u52a1\u5668\u3002<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u805a\u7126 CentOS 7 \u7cfb\u7edf&#xff0c;\u8be6\u7ec6\u8bb2\u89e3 SVN \u670d\u52a1\u5668\u7684\u5b89\u88c5\u3001\u914d\u7f6e\u3001\u542f\u52a8\u53ca\u6743\u9650\u7ba1\u7406&#xff0c;\u6b65\u9aa4\u66f4\u8d34\u5408 CentOS 7 \u7279\u6027&#xff0c;\u786e\u4fdd\u64cd\u4f5c\u53ef\u843d\u5730\u3002\u4e00\u3001\u73af\u5883\u51c6\u5907&#xff08;CentOS 7 \u4e13\u5c5e&#xff09;1. \u6743\u9650\u4e0e\u57fa\u7840\u73af\u5883\u786e\u4fdd\u4ee5 root \u7528\u6237\u64cd\u4f5c&#xff0c;\u5148\u66f4\u65b0\u7cfb\u7edf\u5e76\u5173\u95ed \/ \u653e\u884c\u9632\u706b\u5899&#xff08;\u751f\u4ea7\u73af\u5883\u63a8\u8350\u653e\u884c\u7aef\u53e3&#xff09;&#xff1a;# \u66f4\u65b0 yum \u6e90&#xff08;\u53ef\u9009&#xff0c;\u63d0\u5347\u5b89\u88c5\u901f\u5ea6&amp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[59,58,394,43,44],"topic":[],"class_list":["post-80672","post","type-post","status-publish","format-standard","hentry","category-server","tag-centos","tag-linux","tag-svn","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/80672.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u805a\u7126 CentOS 7 \u7cfb\u7edf&#xff0c;\u8be6\u7ec6\u8bb2\u89e3 SVN \u670d\u52a1\u5668\u7684\u5b89\u88c5\u3001\u914d\u7f6e\u3001\u542f\u52a8\u53ca\u6743\u9650\u7ba1\u7406&#xff0c;\u6b65\u9aa4\u66f4\u8d34\u5408 CentOS 7 \u7279\u6027&#xff0c;\u786e\u4fdd\u64cd\u4f5c\u53ef\u843d\u5730\u3002\u4e00\u3001\u73af\u5883\u51c6\u5907&#xff08;CentOS 7 \u4e13\u5c5e&#xff09;1. \u6743\u9650\u4e0e\u57fa\u7840\u73af\u5883\u786e\u4fdd\u4ee5 root \u7528\u6237\u64cd\u4f5c&#xff0c;\u5148\u66f4\u65b0\u7cfb\u7edf\u5e76\u5173\u95ed \/ \u653e\u884c\u9632\u706b\u5899&#xff08;\u751f\u4ea7\u73af\u5883\u63a8\u8350\u653e\u884c\u7aef\u53e3&#xff09;&#xff1a;# \u66f4\u65b0 yum \u6e90&#xff08;\u53ef\u9009&#xff0c;\u63d0\u5347\u5b89\u88c5\u901f\u5ea6&amp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/80672.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-05T10:06:54+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/80672.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/80672.html\",\"name\":\"CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-03-05T10:06:54+00:00\",\"dateModified\":\"2026-03-05T10:06:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/80672.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/80672.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/80672.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/80672.html","og_locale":"zh_CN","og_type":"article","og_title":"CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u6587\u805a\u7126 CentOS 7 \u7cfb\u7edf&#xff0c;\u8be6\u7ec6\u8bb2\u89e3 SVN \u670d\u52a1\u5668\u7684\u5b89\u88c5\u3001\u914d\u7f6e\u3001\u542f\u52a8\u53ca\u6743\u9650\u7ba1\u7406&#xff0c;\u6b65\u9aa4\u66f4\u8d34\u5408 CentOS 7 \u7279\u6027&#xff0c;\u786e\u4fdd\u64cd\u4f5c\u53ef\u843d\u5730\u3002\u4e00\u3001\u73af\u5883\u51c6\u5907&#xff08;CentOS 7 \u4e13\u5c5e&#xff09;1. \u6743\u9650\u4e0e\u57fa\u7840\u73af\u5883\u786e\u4fdd\u4ee5 root \u7528\u6237\u64cd\u4f5c&#xff0c;\u5148\u66f4\u65b0\u7cfb\u7edf\u5e76\u5173\u95ed \/ \u653e\u884c\u9632\u706b\u5899&#xff08;\u751f\u4ea7\u73af\u5883\u63a8\u8350\u653e\u884c\u7aef\u53e3&#xff09;&#xff1a;# \u66f4\u65b0 yum \u6e90&#xff08;\u53ef\u9009&#xff0c;\u63d0\u5347\u5b89\u88c5\u901f\u5ea6&amp;","og_url":"https:\/\/www.wsisp.com\/helps\/80672.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-03-05T10:06:54+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/80672.html","url":"https:\/\/www.wsisp.com\/helps\/80672.html","name":"CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-03-05T10:06:54+00:00","dateModified":"2026-03-05T10:06:54+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/80672.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/80672.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/80672.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"CentOS 7 \u642d\u5efa SVN \u670d\u52a1\u5668\uff08\u7cbe\u7b80\u7248\u6559\u7a0b\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/80672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=80672"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/80672\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=80672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=80672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=80672"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=80672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}