Changeset 7319b78 for server/other/cvsserver/cvsserver-inst.xml
- Timestamp:
- 02/01/2003 04:51:51 PM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 123c844
- Parents:
- 9a88a3b9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/cvsserver/cvsserver-inst.xml
r9a88a3b9 r7319b78 15 15 <para>Create a new CVS repository with the following commands, 16 16 logged in as root:</para> 17 <para><screen><userinput> 18 mkdir /cvsroot && 17 <para><screen><userinput>mkdir /cvsroot && 19 18 chmod 1777 /cvsroot && 20 19 export CVSROOT=/cvsroot … … 26 25 repository:</para> 27 26 28 <para><screen><userinput> 29 export CVSROOT=/cvsroot && 27 <para><screen><userinput>export CVSROOT=/cvsroot && 30 28 cd sourcedir && 31 cvs import -m "repository test" cvstest vendortag releasetag 32 </userinput></screen></para></sect3> 29 cvs import -m "repository test" cvstest vendortag releasetag</userinput></screen></para></sect3> 33 30 34 31 <sect3><title>3. Verify local repository access.</title> … … 36 33 with the following command:</para> 37 34 38 <para><screen><userinput> 39 cvs co cvstest 40 </userinput></screen></para></sect3> 35 <para><screen><userinput>cvs co cvstest</userinput></screen></para></sect3> 41 36 42 37 <sect3><title>4. Verify remote repository access.</title> … … 50 45 51 46 52 <para><screen><userinput> 53 export CVS_RSH=/usr/bin/ssh && 54 cvs -d:ext:servername:/cvsroot co cvstest 55 </userinput></screen></para></sect3> 47 <para><screen><userinput>export CVS_RSH=/usr/bin/ssh && 48 cvs -d:ext:servername:/cvsroot co cvstest</userinput></screen></para></sect3> 56 49 </sect2> 57 50 <sect2> … … 62 55 commands:</para> 63 56 64 <para><screen><userinput> 65 (grep anonymous /etc/passwd || useradd anonymous -s /bin/false) && 57 <para><screen><userinput>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false) && 66 58 echo anonymous: > /cvsroot/CVSROOT/passwd && 67 echo anonymous > /cvsroot/CVSROOT/readers 68 </userinput></screen></para> 59 echo anonymous > /cvsroot/CVSROOT/readers</userinput></screen></para> 69 60 70 61 <para>If you use inetd, the following command will add the pserver 71 62 entry to /etc/inetd.conf:</para> 72 63 73 <para><screen><userinput> 74 echo "2401 stream tcp nowait root /usr/bin/cvs cvs -f \ 75 --allow-root=/cvsroot pserver" >> /etc/inetd.conf 76 </userinput></screen></para> 64 <para><screen><userinput>echo "2401 stream tcp nowait root /usr/bin/cvs cvs -f \ 65 --allow-root=/cvsroot pserver" >> /etc/inetd.conf</userinput></screen></para> 77 66 78 67 <para>Issue a killall -HUP inetd to reread the changed inetd.conf … … 82 71 entry to /etc/xinetd.conf:</para> 83 72 84 <para><screen><userinput> 85 cat >> /etc/xinetd.conf << "EOF" 73 <para><screen><userinput>cat >> /etc/xinetd.conf << "EOF" 86 74 service cvspserver 87 75 { … … 95 83 server_args = -f --allow-root=/cvsroot pserver 96 84 } 97 EOF 98 </userinput></screen></para> 85 EOF</userinput></screen></para> 99 86 <para>Issue a killall -HUP xinetd to reread the changed xinetd.conf 100 87 file.</para> … … 106 93 and execute the following command:</para> 107 94 108 <para><screen><userinput> 109 cvs -d:pserver:anonymous@servername:/cvsroot co cvstest 110 </userinput></screen><note><para>Replace "servername" with the IP 95 <para><screen><userinput>cvs -d:pserver:anonymous@servername:/cvsroot co cvstest</userinput></screen><note><para>Replace "servername" with the IP 111 96 address or hostname of the CVS server</para></note></para> 112 97
Note:
See TracChangeset
for help on using the changeset viewer.