De forma rápida y concisa:
1. Instale CVS y el servidor CVS:
-------------------------
sudo apt-get install cvs
sudo apt-get install cvsd
Cuando le pregunte la ruta del repositorio, teclee: “/cvsroot”.
2. Configure CVS
-------------------------
vaya a /var/lib/cvsd y teclee:
sudo cvsd-buildroot /var/lib/cvsd
Crear la carpeta cvsroot:
sudo mkdir cvsroot
e inicialice el repositorio:
sudo cvs -d /var/lib/cvsd/cvsroot init
sudo chown -R cvsd:cvsd cvsroot
Defina un usuario y password:
sudo cvsd-passwd /var/lib/cvsd/cvsroot +username
y cambie el tipo de autorización descomentando la línea “SystemAuto=no”:
sudo vi /var/lib/cvsd/cvsroot/CVSROOT/config
3. Pruebe CVS
-------------------------
cvs -d :pserver:username@localhost:/cvsroot login
cvs -d :pserver:username@localhost:/cvsroot checkout
4. Instale xinetd
-------------------------
Edite el archivo xinetd.conf:
sudo gedit /etc/xinetd.conf
copie lo siguiente:
service cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
user = root
wait = no
type = UNLISTED
server = /var/lib/cvsd/bin/cvs
server_args = -f --allow-root /var/lib/cvsd/cvsrepo pserver
disable = no
}
Reinice el servicio:
sudo /etc/init.d/xinetd restart
2 comments:
lanza esto cuanto trato de ejecutar el checkout:
Fatal error, aborting.
cvsd: no such system user
podrìas ayudarme?
gracias.
Are you sure you need step 4? It doesn't seem to use the chroot jail if you are running cvsd already.
Anyway, to fix the problem with "no such system user" you should try cvsd-buildroot from cvsd 1.0.22.
(I don't really read Spanish so I may have misinterpreted some things)
Post a Comment