tar zxvf apr-1.6.5.tar.gz
cd apr-1.6.5
./configure --prefix=/usr/local/apr
make &&make install
tar zxvf apr-util-1.6.1.tar.gz
cd apr-util-1.6.1
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make && make install
rpm -ivh expat-devel-2.0.1-11.el6_2.x86_64.rpm openssl-devel-1.0.1e-30.el6.x86_64.rpm openssl-devel-1.0.1e-30.el6.i686.rpm zlib-1.2.3-29.el6.x86_64.rpm zlib-devel-1.2.7-17.el7.x86_64.rpm --force --nodeps
tar zxvf subversion-1.10.3.tar.gz
unzip -d subversion-1.10.3 sqlite-amalgamation-3250300.zip
cd subversion-1.10.3
cp -r sqlite-amalgamation-3250300/ sqlite-amalgamation/
./configure --prefix=/home/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/home/svn1/package/svn_package/subversion-1.10.3/sqlite-amalgamation/sqlite3.c --with-lz4=internal --with-utf8proc=internal
make && make install
cd /home
mkdir wwytcode
cd wwytcode/
cd project
mkdir project
svnadmin create /home/wwytcode/project/
cd project/
ll
svnserve -d -r /home/wwytcode/
svn checkout svn://20.196.87.64/project
systemctl stop firewalld
问题解决:
解决报错:no acceptable C compiler found in $PATH when installing python
搭建本地yum源
mount -o loop -t iso9660 /media/rhel-server-7.5-x86_64-dvd.iso /media/iso/
[base]
name=redhat7.5
baseurl=file:///media/iso
gpgcheck=1
enabled=1
gpgkey=file:///media/iso/RPM-GPG-KEY-redhat-release
yum groupinstall "Development tools"
来源:CSDN
作者:凤舞飘伶
链接:https://blog.csdn.net/woshaguayi/article/details/103833453