centos5.4下yum安装svn与自动启动
2012-01-05 10:42
344 查看
centos5.4下yum安装svn
[test@localhost /]# yum -y install subversion --prefix=/opt/svn
cd /opt
mkdir svndata //创建一个SVN根目录
chmod -R 777 svndata //给SVN根目录权限
启SVN服务,并指定SVN的根目录:
[test@localhost /]# svnserve -d -r /opt/svn/
#svnserve -d --listen-port 3690 -r /opt/svndata/
创建版本库
[test@localhost /]#mkdir -p /opt/svndata/repos1
#svnadmin create /opt/svndata/repos1
修改版本库
[test@localhost /]#vi /opt/svndata/repos1/conf/svnserve.conf
内容修改为:
[general]
anon-access = none
auth-access = write
password-db = /opt/svn/conf/pwd.conf
authz-db = /opt/svn/conf/authz.conf
realm = repos1
查看SVN运行情况
[test@localhost /]#netstat -tunlp | grep svn
tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN 8646/svnserve
查看服务的进程号:
[test@localhost svn]$ ps -A | grep svn
4094 ? 00:00:00 svnserve
关闭进程:#kill 4094
配置自动启动:
把svnserve -d -r /opt/svn/ 放在/etc/rc.d/rc.local最后一行
[test@localhost /]# yum -y install subversion --prefix=/opt/svn
cd /opt
mkdir svndata //创建一个SVN根目录
chmod -R 777 svndata //给SVN根目录权限
启SVN服务,并指定SVN的根目录:
[test@localhost /]# svnserve -d -r /opt/svn/
#svnserve -d --listen-port 3690 -r /opt/svndata/
创建版本库
[test@localhost /]#mkdir -p /opt/svndata/repos1
#svnadmin create /opt/svndata/repos1
修改版本库
[test@localhost /]#vi /opt/svndata/repos1/conf/svnserve.conf
内容修改为:
[general]
anon-access = none
auth-access = write
password-db = /opt/svn/conf/pwd.conf
authz-db = /opt/svn/conf/authz.conf
realm = repos1
查看SVN运行情况
[test@localhost /]#netstat -tunlp | grep svn
tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN 8646/svnserve
查看服务的进程号:
[test@localhost svn]$ ps -A | grep svn
4094 ? 00:00:00 svnserve
关闭进程:#kill 4094
配置自动启动:
把svnserve -d -r /opt/svn/ 放在/etc/rc.d/rc.local最后一行
相关文章推荐
- centos7.0 svn安装及设置自动启动
- CentOS下通过yum安装svn及配置
- CentOS 5.4下使用yum安装Xen
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- Linux上yum安装svn并使用钩子实现自动更新
- [转]Linux(centOS6.5)下SVN的安装、配置及开机启动
- CentOs使用Yum自动安装UnRar方法
- Centos5.4 yum安装svn
- CentOS下通过yum安装svn及配
- centos开机自动启动SVN服务的方法1、编辑rc.local文件
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- CentOS通过yum安装Mariadb(MySQL)无法启动服务或者找不到mysql.sock(2)
- CentOS6.7下使用非root用户(普通用户)编译安装与配置mysql数据库并使用shell脚本定时任务方式实现mysql数据库服务随机自动启动
- Linux(CentOS 7.0)下使用yum安装配置和使用svn.
- (yum方式)CentOS 6.4安装SVN版本管理系统
- 【转载并整理】Linux - centOS 6 SVN服务器安装、配置及开机启动
- Linux基本操作系列(二):在CentOS 6.8系统上安装Tomcat并配置自动启动
- CentOS安装配置svn,并配置SVN自动更新Web目录
- CentOS 7 安装Nginx 并配置自动启动