Ubuntu network settings: Install the CVS Service

Source: Internet
Author: User
Ubuntu network settings: For details about how to install the CVS service-Linux Enterprise Application-Linux server application, see the following. 1. install CVS. In the new package manager, select cvs (system-system management-New Software Package Manager), select one from the package list on the right, and press cvs on the keyboard, the software package starts with the three letters is located.) Right-click the package and select the tag in the menu for installation. Click the application in the toolbar above. The system automatically downloads the package and installs the package.

2. Install CVSD. Same as above. Select cvsd and install. After installing cvsd, you will be prompted to set the repository location. You only need to enter the location relative to RootJail. RootJail is set in/etc/cvsd. conf. The default RootJail is/var/lib/cvsd. In other words, enter/myrepos in this step.

3. Open a command line window and create this/myrepos. # Cd/var/lib/cvsd # sudo mkdir myrepos

4. initialize this/myrepos. # Sudo cvs-d/var/lib/cvsd/myrepos init

5. Set the cvsd user authentication method. The default value is system level. Generally, cvs users are set separately. # Add the following lines to sudo gedit/var/lib/cvsd/myrepos/CVSROOT/config: SystemAuth = no PamAuth = no LockDir =/tmp/myrepos and save and exit. Note that/tmp/myrepos indicates the path relative to RootJail.

6. Create LockDir # sudo mkdir/var/lib/cvsd/tmp/myrepos

7. Add a user # sudo cvsd-passwd/var/lib/cvsd/myrepos cvsuser

8. Edit the cvsd configuration file and configure the damn RootJail. # The default value of sudo gedit/etc/cvsd. conf is RootJail/var/lib/cvsd Repos/myrepos. Note that the Repos path here is also relative to RootJail. In addition, if some abnormal network administrators prefer port sealing, you can set the cvsd listening port here. For example, you can change the default port 2401 to 8080. Listen * 8080

10. Set directory permissions. # Sudo chown cvsd: cvsd/var/lib/cvsd-R

11. Restart cvsd. # Sudo/etc/init. d/cvsd restart

12. Configure and use this cvs server in eclipse or other cvs clients. Connection type: pserver host: your ip port: 8080 repository path:/myrepos user: cvsuser

In fact, this cvsd installation mainly refers to its README, but it is a compressed file, and it didn't want to be unlocked at first. /Usr/share/doc/cvsd/README.gz.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.