月度归档:2013 年七月

Linux下SVN 服务器安装

系统环境Centos 5.4 32位
1.安装
yum install -y subversion
2.版本查看
svnserve –version
这里使用阿里云主机+WDCP面板的会出现错误信息
svn: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory
出现这个错误的原因就是svnserver在编译时是加了apache支持的,现在无法找到apr-util库,一般情况下我们将apache的lib目录加入到系统的lib路径中就可以了
打开ld.so/conf文件在最后加上你的apache的lib路径即可
# vi /etc/ld.so.conf 内容:
/www/wdlinux/apache/lib
保存后更新一下 ldconfig –v 这样就不会报错了 继续阅读

【转载】CentOS添加Tomcat自启动

本文转载自http://www.it165.net/os/html/201211/3973.html

略作修改

系统环境 Centos 5 32位,以下方法亲测有效

1、修改start.sh文件

vim /opt/tomcat /bin/startup.sh

在文件头增加以下内容:

#!/bin/sh

# chkconfig: 2345 97 00

# description:tomcat auto start

#processname: tomcat 继续阅读