本站网址: YippeeSoft开心软件

本文链接: ubuntu svn

使用Busybox1.13.3制作yaffs2根文件系统(hlhq转)_PINGALL_百度空间
http://hi.baidu.com/pingall/blog/item/d0ad750f3004dde7aa645768.html



使用Busybox1.13.3制作yaffs2根文件系统(hlhq转)_PINGALL_百度空间
http://hi.baidu.com/pingall/blog/item/d0ad750f3004dde7aa645768.html



benrobb :: Howto: Start Subversion at Boot on Ubuntu
http://benrobb.com/2007/01/15/howto-start-subversion-at-boot-on-ubuntu/
Howto: Start Subversion at Boot on Ubuntu


I don’t know if I’ve extolled the virtues of Ubuntu on this blog yet, but they are many. They are, however, not the topic of this post. Every once in a while, I like to try different operating systems on my server, and at the moment, I’m just coming back to an Ubuntu server after a brief fling with Windows Server 2003.


On the list of things to do after install was to get Ubuntu to start the svnserve daemon at boot. I’ve taken the time to look this up enough times that I figured I’d just add it here. This procedure holds for anything you’d like to do at boot, I’m simply running my svn daemon.


Step 1 – Create your script.
Simply create a new file (I called mine svnserve) and type the command you’d like to run


cd /etc/init.d/ # (thanks Alfonso)
sudo touch svnserve
sudo vi svnserve
svnserve -d -r /usr/local/svn/repository_name


Step 2 – Save the script in the /etc/init.d/ folder


Step 3 – Make the script executable
sudo chmod +x svnserve


Step 4 – Add the script to the boot sequence
sudo update-rc.d svnserve defaults


That’s it. When you’re done you should see some output similar to


Adding system startup for /etc/init.d/svnserve …
/etc/rc0.d/K20svnserve -> ../init.d/svnserve
/etc/rc1.d/K20svnserve -> ../init.d/svnserve
/etc/rc6.d/K20svnserve -> ../init.d/svnserve
/etc/rc2.d/S20svnserve -> ../init.d/svnserve
/etc/rc3.d/S20svnserve -> ../init.d/svnserve
/etc/rc4.d/S20svnserve -> ../init.d/svnserve
/etc/rc5.d/S20svnserve -> ../init.d/svnserve


[转载]SVN自启动的脚本(Linux) – hi.baidu.com/elicecn – BlogJava
http://www.blogjava.net/eli/archive/2008/10/07/232951.html



linux 开机自动启动脚本方法(2) – Svn中文网
http://svn8.com/linux/WL/20091223/15606_2.html



用ubuntu作服务器 – 点到为止的潇洒 – CSDN博客
http://blog.csdn.net/C_wander850115/archive/2008/05/24/2478457.aspx



ubuntu rc.local 为何不执行? – PHP程序员的日志 – 网易博客
http://blog.163.com/lgh_2002/blog/static/44017526201032803748503/



linux下svn开机自动启动-it群
http://www.itqun.net/content-detail/76776.html



linux 开机自动启动脚本方法 – Svn中文网
http://www.svn8.com/linux/WL/20091223/15606.html



ubuntu配置svn | Raselion
http://blog.weiqp.cn/index.php/archives/417



ubuntu下SVN服务器安装配置_mirze_新浪博客
http://blog.sina.com.cn/s/blog_3eba8f1c0100dqk1.html
一、SVN安装
1.安装包
$ sudo apt-get install subversion


2.添加svn管理用户及subversion组
$ sudo adduser svnuser
$ sudo addgroup subversion
$ sudo addgroup svnuser subversion      


3.创建项目目录
$ sudo mkdir /home/svn
$ cd /home/svn
$ sudo mkdir fitness
$ sudo chown -R root:subversion fitness
$ sudo chmod -R g+rws fitness


4.创建SVN文件仓库
$ sudo svnadmin create /home/svn/fitness


5.访问方式及项目导入:
$ svn co file:///home/svn/fitness
或者
$ svn co file://localhost/home/svn/fitness
* 注意:
如果您并不确定主机的名称,您必须使用三个斜杠(///),而如果您指定了主机的名称,则您必须使用两个斜杠(//).
//–
下面的命令用于将项目导入到SVN 文件仓库:
$ svn import -m “New import” /home/svn/fitness file:///home/svnuser/src/fitness
一定要注明导入信息


//————————–//
6.访问权限设置
修改 /home/svn/fitness目录下:
svnserve.conf 、passwd 、authz三个文件,行最前端不允许有空格
//–
编辑svnserve.conf文件,把如下两行取消注释
password-db = password
authz-db = authz


//补充说明
# [general]
anon-access = read
auth-access = write
password-db = passwd
其中 anon-access 和 auth-access 分别为匿名和有权限用户的权限,默认给匿名用户只读的权限,但如果想拒绝匿


名用户的访问,只需把 read 改成 none 就能达到目的。


//–
编辑/home/svnuser/etc/passwd  如下:
[users]
mirze = 123456
test1 = 123456
test2 = 123456
//–
编辑/home/svnuser/etc/authz如下
[groups]
admin = mirze,test1
test = test2
[/]
@admin=rw
*=r
这里设置了三个用户mirze,test1,test2密码都是123456
其中mirze和test1属于admin组,有读和写的权限,test2属于test组只有读的权限


7.启动SVN服务
svnserve -d -r /home/svn
描述说明:
-d 表示svnserver以“守护”进程模式运行
-r 指定文件系统的根位置(版本库的根目录),这样客户端不用输入全路径,就可以访问版本库
如: svn://192.168.12.118/fitness


这时SVN安装就完成了.
局域网访问方式:
例如:svn checkout svn://192.168.12.118/fitness –username mirze –password 123456 /var/www/fitness


 


ubuntu(linux)下开机自动运行脚本以及定时任务的处理 – 臭皮匠
http://guogoul.com/2008/05/21/crontab/



【转载】ubuntu搭建subversion(svn)服务器 – 程序即人生 – CSDN博客
http://blog.csdn.net/vagrxie/archive/2009/08/19/4461252.aspx



 

原创文章,转载请注明: 转载自YippeeSoft开心软件

本文链接地址: ubuntu svn

历史博文

标签: