#!/bin/bash
# This script can be executed by root to rapidly create a cvs repository on RedHat Linux 8 or later. Author: Philip Mark Donaghy
# Adapted from http://www7b.software.ibm.com/wsdd/library/techarticles/0209_yu/yu.html Article by Colin Yu
# The user cvs and the Users required to have access to cvs.
useradd cvs
useradd -G cvs penguin
useradd -G cvs tiger
# CVS environment
mkdir /home/cvs/anoncvs
chmod -R 770 /home/cvs
chown -R cvs /home/cvs
chgrp -R cvs /home/cvs
chmod g+s /home/cvs/anoncvs
cvs -d /home/cvs/anoncvs init
# Daemon process. CVS Service
printf "# default : off\n# description : A cvs server.\nservice cvspserver\n{\n disable = no\n socket_type = stream\n protocol = tcp\n user = root\n wait = no\n server = /usr/bin/cvs\n server_args = -f --allow-root=/home/cvs/anoncvs pserver\n log_on_success += USERID\n log_on_failure += USERID\n}\n" > /etc/xinetd.d/cvspserver
service xinetd restart
# Users environment for localhost
printf "export CVSROOT=\":pserver:\$USER@localhost:/home/cvs/anoncvs\"\n" >> /etc/profile
# Manual configuration
# User the following command to initialize a project
# cvs import -m "New Project" ProjectName group release1_0
Everything Java Apache Geospatial Open Source. Hello Shinning Stars!!! Vincent Massol, Raphael Luta, Santiago Gala, Carsten Z.
Wednesday, November 03, 2004
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2004
(125)
-
▼
November
(10)
- Multimap.com - Online Maps to Everywhere is new ma...
- Guide to Pubs and Bars in Paris: A to Z helped me ...
- Struttin' With Struts - Lessons was Spammed to me ...
- Cenqua Clover Code Coverage for Java is used to te...
- Index of Geronimo modules
- Four essential Software development support system...
- Most interesting search phrase for temporal databa...
- Powerful Flashback Query is used in Oracle 10g for...
- #!/bin/bash # This script can be executed by root...
- How can a database model implement versioning of d...
-
▼
November
(10)
No comments:
Post a Comment