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,
- Command to know the Available Memory on Linux System
- How to install curl on Alpine Linux
- How to backup a file in Linux/Unix
- Install Java Runtime Environment (Oracle or open JRE) on Ubuntu
- What is the Default Admin user and Password for Jenkins
- How to tar.gz a directory or folder Command
- Copy entire directory using Terminal Command [Linux, Mac, Bash]
- Fix: bash: ipconfig: command not found on Linux
- Command to check Last Login or Reboot History of Users and TTYs
- Linux: Create a New User and Password and Login Example
- ls command to list only directories
- bash: cls: command not found
- How to exit from nano command
- Installing and using unzip Command to unzip a zip file using Terminal
- What does apt-get update command does?
- ls command: sort files by name alphabetically A-Z or Z-A [Linux/Unix/macOS/Bash]
- How to remove or uninstall Java from Ubuntu using apt-get
- scp: ssh: connect to host xxxx port 22: Connection refused Error
- Sort ls command by last modified date and time
- Create Nested Directories using mkdir Command
- How to Exit a File in Terminal (Bash/Zsh)
- Command to know the installed Debian version?
- How to connect to SSH port other than default 22
- How to save a file in Nano Editor and Exit
- Install OpenSSL on Linux/Ubuntu
More Posts:
- Java Join Strings with Comma Separator - Java
- How to create a Git Project in Eclipse (Step-by-step) - Eclipse
- Run JumpCloud Commands in Powershell - Powershell
- Check Bluetooth is turned on or off on Android device programmatically [Java Code] - Android
- Task is ambiguous in root project gradle-examples. Candidates are: myTask1, myTask2 - Gradle
- Add Buttons at the bottom of Android Layout xml file - Android
- Error code 0xCAA82EE2: Something went wrong (request timed out) [Microsoft] - Microsoft
- Failed to load the JNI shared library jvm.dll - Eclipse