New Package Manager CVS Service installation settings

Source: Internet
Author: User
Keywords installed newly made and then this can
Tags application button click default download etc install installation

1. Install CVS and select CVS (System-System Management-new package manager) in the new Package Manager Select a random one in the list of packages on the right, and then press the CVS three letters on the keyboard to locate packages that start with these three letters, and then click the right mouse button, Select the tag in the menu to install. Then click on the application in the top toolbar, the system will automatically download the package, and then install.

2. Install CVSD, ditto, select Cvsd, install. After installing the CVSD, you will be prompted to set the location of the repository as long as you enter the position relative to the rootjail. Rootjail is set in/etc/cvsd/cvsd.conf, and the default rootjail is/var/lib/cvsd. That is to say, enter/myrepos in this step.

3. Open a Command line window to 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 is System level, in general CVS users are set separately.

sudo gedit/var/lib/cvsd/myrepos/cvsroot/config

Add the following lines: systemhttp://www.aliyun.com/zixun/aggregation/11646.html ">auth=no pamauth=no ubuntu 9.10 does not need to join the bank lockdir=/ Tmp/myrepos then save the exit. Note that the/tmp/myrepos here refers to the path relative to the Rootjail.

6. Create Lockdir

sudo mkdir/var/lib/cvsd/tmp/myrepos

7. Add User

sudo cvsd-passwd/var/lib/cvsd/myrepos cvsuser

8. Edit CVSD configuration file, configure the damn rootjail.

sudo gedit/etc/cvsd/cvsd.conf

The default should be: Rootjail/var/lib/cvsd Repos/myrepos Note that the Repos path is also relative to Rootjail. In addition, if some abnormal network management like the port, this can be set CVSD listening port, such as can be changed to the default 2401 port 8080. Listen * 8080

Another problem here is that if you are using IPv4, you should change the * to 0.0.0.0, otherwise the system defaults to IPv6 address, CVSD does not start normally

10. Set directory permissions.

sudo chown cvsd:cvsd/var/lib/cvsd-r

11. Reboot the CVSD.

Sudo/etc/init.d/cvsd restart

12. Configure the use of this CVS server in eclipse or other CVS clients. Connection type:pserver host:your IP port:8080 repository path:/myrepos

In fact, the installation of this cvsd, mainly refer to its readme, but it is a compressed file, at the beginning did not want to untie it. /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.