In this article let us take a look at how to install CVS Version Control on Linux/Ubuntu,
Step 1: Install CVS using the apt-get package tool,# apt-get install cvs
Reading package lists... Done
..
..
Suggested packages:
mksh rcs
The following NEW packages will be installed:
cvs
..
..
Unpacking cvs (2:1.12.13+real-27build1) ...
Setting up cvs (2:1.12.13+real-27build1) ...
Allowing use of questionable username.
Adding group `_cvsadmin' (GID 109) ...
Done.
Step 2: Install CVS Server using the apt-get package tool,
# sudo apt-get install cvsd
Reading package lists... Done
..
..
The following NEW packages will be installed:
cvsd
..
..
Configuring cvsd
----------------
The whole idea of cvsd is to serve repositories. Specify a colon ':' separated list of
repositories to serve. The location of these repositories is relative to the specified
chroot jail (/var/lib/cvsd) and should start with a '/'.
The repositories here should be initialized by hand with something like 'cvs -d
/var/lib/cvsd/myrepos init' after which passwords can be set with 'cvsd-passwd
/var/lib/cvsd/myrepos anonymous'. See the file /usr/share/doc/cvsd/README.gz for details on
creating repositories.
..
..
if your cvs binary changes (new version) you should rerun cvsd-buildroot
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for systemd (245.4-4ubuntu3.15) ...
Repositories to serve: cvs-server
Step 3: Initialise the repo
cvs -d /var/lib/cvsd/cvs-server init
Step 4: Create User
cvsd-passwd /var/lib/cvsd/cvs-server user-name
Step 5: Login to CVS
# cvs -d :pserver:user-name@localhost:/var/lib/cvs/cvs-server login
More Posts related to Linux,
- Terminal display next month Calendar
- How to change bash terminal prompt string and color
- How to exit from nano command
- How to Display content of a file in Terminal Screen?
- Copy entire directory using Terminal Command [Linux, Mac, Bash]
- 3 Commands to stop Nginx Server
- How to check file permissions for your file using Linux/Unix/macOS Terminal Command
- Create Hidden File or Directory using Shell Command
- bash: cls: command not found
- How to install python pip on Ubuntu using apt command
- The Date Command and its usage [Linux - Unix - macOS]
- SCP Copy all files from directory to Local Folder
- Create and write file in single Linux/macOS command
- Install OpenSSL on Linux/Ubuntu
- scp: ssh: connect to host xxxx port 22: Connection refused Error
- Check SSH/OpenSSH version Command
- Execute .bin and .run file Ubuntu Linux
- What does apt-get update command does?
- How to ls command to output one entry per line [macOS/Linux/Bash]
- 3 ways to clear screen on Linux Terminal
- How to backup a file in Linux/Unix
- How to quit or exit SFTP Prompt on Terminal
- How to use SCP Command to Copy Directory
- zsh hello world example
- How to remove/delete a directory in Linux/macOs
More Posts:
- Android SecurityException: Need BLUETOOTH ADMIN permissicacheNameAndAddresson: Neither user 10123 nor current process has android.permission.BLUETOOTH_ADMIN - Android
- java.lang.NoClassDefFoundError android.support.v4.content.LocalBroadcastManager - Android
- Read Text file from SD Card : Android Programming - Android
- Struts2 : java.lang.ClassNotFoundException: org.apache.commons.fileupload.RequestContext - Java
- How to know your Mac Screen Resolution? - MacOS
- BSNL Broadband upgrades speed to minimum 2MBps for all users 512Kbps 1Mbps - HowTos
- Android AlertDialog with 3 buttons example - Android
- How to Disable EditText Keyboard Android App - Android