CentOS4のsubversionをアップグレード (on WebARENA v2)
CentOS4の標準パッケージのsubversionは1.1.4-2.entとちと古いので、アップグレードしてみる。
本家(subversion: Subversion Packages)によれば、RHEL4用の最新rpmがあるようなので、これを流用する。CentOSx と RHELx (Redhat Enterprise Linux x)は互換性がある。
[root@host ~]# mkdir subversion [root@host ~]# cd subversion [root@host subversion]# wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/x86_64/apr-0.9.12-2.x86_64.rpm [root@host subversion]# wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/x86_64/apr-util-0.9.12-1.x86_64.rpm [root@host subversion]# wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/x86_64/mod_dav_svn-1.4.6-1.rhel4.x86_64.rpm [root@host subversion]# wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/x86_64/subversion-1.4.6-1.rhel4.x86_64.rpm [root@host subversion]# wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/x86_64/subversion-python-1.4.6-1.rhel4.x86_64.rpm [root@host subversion]# rpm -Uhv ./*.rpm
subversion-pythonをアップグレードしないと、Tracでエラーが出るので要注意。
あと、Virtualhostで複数のtracをmod_pythonで使う場合は、下記の一行を入れないとエラーでハマるのでご注意を!
PythonInterpreter main_interpreter