Because the project needs to be constantly modified for a long time, the Code is completely messy. the manual backup package method often makes me suffer from a large number of hard-to-distinguish redundant compressed packages. So I want to calm down and learn how to use CVS, the necessary learning may be able to achieve half the result of success. as I expected, software version and tutorial asymmetry in the computer world, especially the lag of tutorials, often lead to some unnecessary troubles. today, too. I have read a lot of installation tutorials on the Internet, so I have to try it. the results always show these losses.
Because the project needs to be constantly modified for a long time, the Code is completely messy. the manual backup package method often makes me suffer from a large number of hard-to-distinguish redundant compressed packages. So I want to calm down and learn how to use CVS, the necessary learning may be able to achieve half the result of success.
As I expected, software version and tutorial asymmetry in the computer world, especially the lag of tutorials, often lead to some unnecessary troubles. today, too. I have read a lot of installation tutorials on the Internet, so I have to try it. as a result, we can always find that these low-quality Chinese tutorials have skipped some key issues, and I can't help but sigh that Chinese piracy is really amazing. Such wrong articles can also be copied and pasted hundreds of times, instead, the original correct operation methods are drowned in a large volume of junk data. I can only hate myself for being not good at English, and reading speed is too slow, leading to too many mistakes in these problems.
Well, you must have waited for a specific configuration tutorial. Let's get started.
I installed eclipse 3.5 on my system. I won't talk about installing Eclipse on Ubuntu 10.04. There are many methods. If you don't know, run it.
Sudo apt-get install eclipse!
The CVS plug-in version 3.5 is only a client. You need to configure a CVS version on the server. install cvs-pserver and/etc/xinet. d/cvspserver: To be honest, I am not familiar with other linux versions and do not know what version they are using. If you are Ubuntu 9.10 or Ubuntu 10.4, please follow my instructions, the Ubuntu method of earlier versions should also be the same. I think there should be no/etc/xinet on Ubuntu. d/.
Sudo apt-get install cvsd cvs
After installation, open the terminal and enter the following:
Cd/var/lib/cvsd
Sudo mkdir myrepos
Sudo cvs-d/var/lib/cvsd/myrepos init initializes the CVS library and establishes the most basic configuration file for version control.
Sudo vim/var/lib/cvsd/myrepos/CVSROOT/config modify the user authentication method
Add the following lines:
SystemAuth = no
PamAuth = no
LockDir =/tmp/myrepos this file path is relative to the RootJail path mentioned later
Exit and save.
In this case, you need to view and modify the CVSD configuration file and open the file/etc/cvsd. conf.
Sudo vim/etc/cvsd. conf
If the value of RootJail is/var/lib/cvsd, you will not change it. Otherwise, you can modify it if you are familiar with cvsd, however, you need to modify it with the previous steps.
Check whether the Respos is/myrepos.
Finally, it is very important to note that in many tutorials, we need to change * In Listen * 2401 to 0.0.0.0, I am not quite clear about the specific meanings of * And 0.0.0.0 for CVSd, but 0.0.0.0 should allow local access, and * I am not clear about it, www.linuxidc.com I have never tried remote access.
After saving, create LockDir as the critical cache directory. sudo mkdir/var/lib/cvsd/tmp/myrepos