linux创建SVN客户端,服务器
2014-06-13 16:29
260 查看
1- linux基本都自带svn
2-创建svn服务器
新创建服务器代码仓库
# svnadmin create serversvn
这样,我们就在~/目录下新建了版本库serverSvn。
3-修改配置文件
svnserve.conf
passwd
authz
4- 启动svn服务器
cd serversvn/conf
#svnserve -d -r /home/
-d 后台方式启动
-r 指定版本库目录
5-创建svn客户端
现在目录为 /home/serversvn
如果启动时-r目录为/home/,那么svn路径localhost后直接写-r 指定目录的下一目录为 serversvn,目的使svn://路径为绝对路径
svn://localhost/serversvn clientsvn
如果启动时,没有指定-r选项(svnserve -d),则要输入版本库的绝对路径
svn://localhost/home/serversvn clientsvn
#svn checkout svn://localhost/serversvn clientsvn
创建好客户端为 cliensvn
这样版本库的所有内容都被check出来,存放在当前目录clientsvn下,这里使用的svn协议,不用搭建http服务器
err:
miaoyl@LucidaTech:~/clientsvn$ svn commit -m "initial version openssl_0.1.0" openssl/
svn: Commit failed (details follow):
svn: Authorization failed
查看[3-修改配置文件]步骤
2-创建svn服务器
新创建服务器代码仓库
# svnadmin create serversvn
这样,我们就在~/目录下新建了版本库serverSvn。
3-修改配置文件
svnserve.conf
[general] anon-access = read auth-access = write password-db = passwd authz-db = authz
passwd
[users] # harry = harryssecret # sally = sallyssecret username = password //修改为想要的用户名
authz
[groups] user = username [serversvn:/] //serversvn一定是 svn://localhost/后面的路径 @user = wr
4- 启动svn服务器
cd serversvn/conf
#svnserve -d -r /home/
-d 后台方式启动
-r 指定版本库目录
5-创建svn客户端
现在目录为 /home/serversvn
如果启动时-r目录为/home/,那么svn路径localhost后直接写-r 指定目录的下一目录为 serversvn,目的使svn://路径为绝对路径
svn://localhost/serversvn clientsvn
如果启动时,没有指定-r选项(svnserve -d),则要输入版本库的绝对路径
svn://localhost/home/serversvn clientsvn
#svn checkout svn://localhost/serversvn clientsvn
创建好客户端为 cliensvn
这样版本库的所有内容都被check出来,存放在当前目录clientsvn下,这里使用的svn协议,不用搭建http服务器
err:
miaoyl@LucidaTech:~/clientsvn$ svn commit -m "initial version openssl_0.1.0" openssl/
svn: Commit failed (details follow):
svn: Authorization failed
查看[3-修改配置文件]步骤
相关文章推荐
- svn服务器架设在linux系统上,svn客户端在windows上,在update的时候可能会出现“Can't open file. XXXX/tmp/text-base/XX.svn-base 系统
- linux SVN服务器创建版本库
- Linux SVN 服务器配置以及客户端使用
- LINUX下如何创建TCP客户端和服务器,实现通信
- linux搭建SVN服务器及用svn创建管理多个项目
- Linux SVN 服务器配置以及客户端使用
- Linux中SVN服务器安装与使用以及windows客户端的使用(CentOS-6.5)
- Linux 下 SVN 创建操作流程(客户端mac osx)
- linux上svn服务器及客户端的安装配置
- centos linux下创建SVN服务器
- Linux SVN 服务器配置以及客户端使用
- linux svn服务器搭建、客户端操作、备份与恢复 推荐
- svn服务器和客户端的创建和管理(二)
- linux svn服务器搭建、客户端操作、备份与恢复
- Linux SVN 服务器配置以及客户端使用
- Linux SVN 服务器配置以及客户端使用
- Linux下SVN服务器安装配置及客户端安装说明
- linux SVN服务器创建版本库
- linux下创建svn服务器
- linux svn服务器搭建、客户端操作、备份与恢复