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

来源:互联网 发布:日本视频聊天软件 编辑:程序博客网 时间:2024/06/05 04:21

注明: 因公司的备份程序之前是保存在另一个硬盘之上,所以现在需要在新系统的新硬盘上恢复之前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/svnexit 0 


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

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

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

 

 

 

原创粉丝点击