equal
deleted
inserted
replaced
1 -*- mode: outline; coding: utf-8 -*- |
1 -*- coding: utf-8 -*- |
2 |
2 |
3 * CVS via proxy server. |
3 ====== |
|
4 CVS. |
|
5 ====== |
|
6 |
|
7 CVS via proxy server. |
|
8 ===================== |
|
9 :: |
4 |
10 |
5 $ cvs -d:pserver;proxy=$proxyhost;proxyport=$proxyport:$cvsuser@$cvsdomain:/$repo |
11 $ cvs -d:pserver;proxy=$proxyhost;proxyport=$proxyport:$cvsuser@$cvsdomain:/$repo |
6 |
12 |
|
13 Create CVS Repository. |
|
14 ====================== |
|
15 :: |
|
16 |
|
17 $ export CVSROOT=/srv/cvsroot |
|
18 $ cvs init |
|
19 |
|
20 $ groupadd cvs |
|
21 $ useradd -m -g cvs -s /bin/sh -c "CVS Repository" cvs |
|
22 |
|
23 $ chown -R cvs $CVSROOT |
|
24 $ chgrp -R cvs $CVSROOT |
|
25 $ chmod -R g+s $CVSROOT |
|
26 |
|
27 $ grep cvs /etc/services && echo OK |
|
28 cvspserver 2401/tcp # CVS client/server operations |
|
29 cvspserver 2401/udp # CVS client/server operations |
|
30 $ echo '# CVS server |
|
31 cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/usr/local/src/cvsroot pserver' \ |
|
32 >/etc/inetd.conf |
|
33 $ killall -HUP inetd # signal inetd daemon to re-read the config file |
|
34 |
|
35 $ ls $CVSROOT/CVSROOT |
|
36 readers # list of pseudo usernames that can read via cvspserver |
|
37 writers # list of pseudo usernames can write via cvspserver |
|
38 passwd # encrypted passwd string with (htpasswd from apache) |
|
39 |