#########查看系统版本###########
[root@DL-SVN ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
1、关闭防火墙
临时关闭防火墙
[root@DL-SVN ~]# systemctl stop firewalld
永久防火墙开机自关闭
[root@DL-SVN ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
查看防火墙状态
[root@DL-SVN ~]# systemctl status firewalld
2、关闭SELinux
临时停止:
# setenforce 0
修改配置永久关闭 (/etc/sysconfig/selinux、/etc/selinux/config):
# sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux
# sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
3、安装SVN
yum install subversion -y #同意所有验证
查看svn版本
[root@DL-SVN ~]# svn --version
svn,版本 1.7.14