`
yidongkaifa
  • 浏览: 4039202 次
文章分类
社区版块
存档分类
最新评论

Debian 6.0.6 系统安装第九步: 搭建SVN,恢复服务器数据

 
阅读更多

注明: 因公司的备份程序之前是保存在另一个硬盘之上,所以现在需要在新系统的新硬盘上恢复之前SVN服务器的数据。

1. # apt-get install subversion

2.# vi /etc/rc.local

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

mount /dev/sda1 /mnt/svn/
svnserver -d -r /mnt/svn/home/svn


exit 0 


其中,下面两句是添加的:

mount /dev/sda1 /mnt/svn/
svnserver -d -r /mnt/svn/home/svn

(/dev/sda1为数据硬盘的对应设备挂载点)

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics