`

install svn server on ubuntu

阅读更多

使用svnadmin create时建立的是一个resposity,可以看作是一个root directory.如:

svnadmin create /usr/local/svn/project-name

建立后可以进行acl的设置,包括认证,授权等。

其中,svnserve.conf+password是认证文件,需要在前者设置使用password模式,然后在password添加自己的密码;authz是授权文件,设定许可

 

chown svn root

安装过几次都是在/usr/local下,由于是root权限,所以在elcipse连接时显示

svn: Can't open file '/usr/local/svn/projectxxx/db/txn-current-lock': Permission denied

于是我使用chown对root目前时行了当前用户的修改,pass!

 

如果 现在想建立一个new project:cms,那么 可以在

1.command导入

svn  import ....#具体请参阅相关命令说明

 

2.或elipse中share project:

在team->share project中指定

 

当然 了,对于check out或update,在eclipse或command中都有相关的命令可以使用。效果是一样的。

 

那么同时可以建立另外一个:svn/tag

这样就可以单独控制了。

 

 

 

启动svn server

svnserve -d -r /usr/local/

#--foreground:以非daemon进程形式启动,用于是实时监控信息,这里没有使用

#-r:后续 的访问就是相对于这个目录进行了,不再需要qualified pah,如:

url:svn://loalhost/svn/project-name/trunk

 

 

另外 ,如要将svnserve作用启动时一个daemon来启动。

 

references:

http://wiki.ubuntu.org.cn/SubVersion

http://www.slideshare.net/weiwensheng/ubuntu-svn

http://listsetio090529.blog.163.com/blog/static/132732184201010242444304/

http://blog.sina.com.cn/s/blog_3eba8f1c0100dqk1.html

 

 

 

 

 

 

分享到:
评论

相关推荐

    https+linux+svn服务器搭建指导书.docx

    SSLEngine on SSLCertificateFile /path/to/your/server.crt SSLCertificateKeyFile /path/to/your/server.key SVNPath /var/svn/repos Dav svn SVNParentPath /var/svn/repos AuthType Basic AuthName ...

    Ubuntu系统下安装Reviewboard详解

    sudo apt-get install mysql-server python-mysqldb libmemcache-dev ``` 安装过程中会提示输入数据库的root密码,这里推荐使用较为简单的“123”作为示例(实际部署时应使用更安全的密码)。 ##### 3.3.1 创建...

    svn个人配置日记帮助使用APACHE域认证

    - `sudo apt-get install libapache2-svn` 或 `sudo yum install mod_dav_svn` 2. 配置Apache虚拟主机,编辑`/etc/apache2/sites-available`或`/etc/httpd/conf.d`下的配置文件,添加以下内容: ``` *:80> ...

    ubuntu 工具源码和安装说明

    ./configure --prefix=/usr/local/svn --with-apxs=/usr/local/webserver/apache2/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite --with-ssl --with-...

    Linux-FTP和SVN服务器的配置服务器教程-电脑资料.doc

    对于基于Debian或Ubuntu的系统,可以使用以下命令: ``` sudo apt-get install vsftpd ``` 对于基于RHEL或CentOS的系统,使用: ``` sudo yum install vsftpd ``` 2. 配置用户权限:VSFTPD允许你为每个用户...

    GitLab安装-Ubuntu16.10

    sudo apt-get install curl openssh-server ca-certificates postfix ``` 这里特别提到了Postfix,因为它主要用于发送邮件,如用户注册时的验证邮件等。 ##### 配置Postfix 在安装过程中会提示配置Postfix的一些...

    ubuntu 工具源码和安装说明-2

    ./configure --prefix=/usr/local/svn --with-apxs=/usr/local/webserver/apache2/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite --with-ssl --with-...

    linux下subverion服务器搭建

    用户可以通过HTTP或HTTPS访问SVN仓库,例如 `http://yourserver/svn/myrepo`。如果需要通过HTTPS提供更安全的访问,你需要配置Apache以支持SSL/TLS。 对于权限控制,Apache的 `Require` 指令允许你定义访问规则。...

    nexusphp安装方法(英文版)

    本安装指南适用于具备一定经验的网络管理员,并以 Ubuntu Server 10.04 为例进行了具体说明。NexusPHP 1.5 Beta 4 可在支持 PHP 的大多数操作系统上运行,包括 Linux、Unix 和 Microsoft Windows。 ##### 必需条件...

    crtmpserver源码

    * in directory "debian" builder for Debian, also can be used for Ubuntu and other distributions based on debian * in directory "freebsd" builder(port) for FreeBSD crtmpserver settings * All ...

    MYSQL简单指令-常用

    例如,在Ubuntu上,可以运行`sudo apt-get install mysql-server`;在CentOS/RHEL上,使用`sudo yum install mysql-server`。 2. **启动/停止MySQL服务**: 服务的启停通常通过系统服务命令完成。在Systemd系统上...

    Apache2.2.15 配置http和https

    例如,在Ubuntu上,运行`sudo apt-get install apache2`。 2. **配置默认站点**:Apache的配置文件通常位于`/etc/apache2`目录下。主配置文件是`apache2.conf`或`httpd.conf`。在`sites-available`目录下,你可以...

    Linux 通过Rsync+Inotify实现本、异地远程数据实时同步功能

    1. 修改`/etc/xinetd.d/rsync`文件,将`disable = yes`改为`disable = no`,`flags = IPv6`改为`flags = IPv4`,并添加`server_args = --daemon --config=/etc/rsyncd.conf`。 2. 编辑`/etc/rsyncd.conf`文件,配置...

    softap_ap6212a0_tinav2.1_验证通过_旧版本的系统_20170915_1223没有外层目录.7z

    HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty HOST_BUILD_TYPE=release BUILD_ID=57513AA3 OUT_DIR= ============================================ rootroot@cm-System-Product...

    Linux系统安装Tomcat并配置Service启动关闭

    你可以通过`sudo apt-get install default-jdk`(Ubuntu/Debian)或`yum install java-1.8.0-openjdk`(CentOS/RHEL)来安装。 2. **下载和解压Tomcat** 从Apache官方网站下载Tomcat的tar.gz文件,然后使用`tar -...

Global site tag (gtag.js) - Google Analytics