Instructions
- Step 1
Open a command line or terminal screen. Run the following command to install CVS:
sudo apt-get install cvs
The installation process creates the repository in the "/var/lib/cvs" directory by default. - Step 2
Control the starting and stopping of the CVS server by installing Xinetd. Do so by running the following command:
sudo apt-get install xinetd - Step 3
Open the file located at /etc/xinetd/cvspserver and add the following lines:
service cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
user = root
wait = no
type = UNLISTED
server = /usr/bin/cvs
server_args = -f --allow-root /var/lib/cvs pserver
disable = no
} - Step 4
Start your newly-installed CVS server by running the following command:
sudo /etc/init.d/xinetd start
The CVS server has now been set up and you can begin adding new projects.
No comments:
Post a Comment