---
title: "RedHat上离线安装SVN"
author: "henyue"
date: "2015-11-18T17:02:06Z"
tags: []
categories: ["研发管理"]
slug: "redhat-svn"
draft: false
lastmod: "2015-11-20T09:29:20Z"
id: 2257654
url: "https://henyue.iteye.com/blog/2257654"
---

第一次在Linux上安装SVN，遇到很多问题，参考以下两篇文章得到了解决：
<http://hanqunfeng.iteye.com/blog/688295>
<http://theron19.iteye.com/blog/1688172>

删除非空目录：rm -rf folderName
建立软连接： ln -s source target
关闭防火墙： service iptables stop
开启防火墙： service iptables start
默认关闭防火墙： chkconfig iptables off

设置RedHat开机自动运行脚本： 编辑/etc/rc.d/rc.local文件，在最后行下添加
svnserve -d -r /home/user/svnrepospath/