Install and configure CVS in winsows

Source: Internet
Author: User

Preparations

Download the cvsntfile from http://www.cvsnt.org/and the downloaded file is 2.5.04.

Install cvsnt

Double-click to run the cvsnt Installation File. During the installation process, you can select the classic, custom, and full installation methods. In the custom mode, you can select the installation path. After the installation is complete, a cvsnt server project appears in the control panel. The icon is a fish ~~

Configure cvsnt

After the cvsnt is installed, you can configure the cvsnt from the fish in the control panel. First, you need to create a directory to store the CVS Repository. I use G: \ cvsroot. Here, we need to first understand two concepts: the CVS repository and the module. In my understanding, the CVS repository is equivalent to a solution in vs. It can contain multiple projects, namely modules.

After opening the control panel of cvsnt, You can see seven tabs: Server Information, used to view server information and some simple statistical information; respository configuration, configure the CVS repository, including adding and deleting; server setting: configures some parameters for running the server, such as ports, encryption, compression, and other options; capatiblity options, related compatibility options, here, we mainly configure a version response compatible with non-cvsnt clients to CVS 1.11.2; plugins, plug-in configuration, which can be left empty after installation ~; Advanced: you do not need to worry about it after the installation is complete; about, you can manage the status of the cvsnt service here, stop or start the cvsnt and cvsnt lock services.

To put it simply, after m is installed by default, there are only two items to be set: cvs repository and server settings.

Server Settings: Set run as the system administrator account, or create a local user dedicated to CVS. The advantage of using a new local account is that NTFS permission control can be used to ensure the security of the server.

CVS Repository settings: Go to the respository Configuration tab and click Add. The "add cvs repository" dialog box is displayed. Select "standard" for "type". Then, enter the folder created previously in location to store the CVS repository, I use G: \ cvsroot. in name, it is automatically converted into an alias for a usable cvs repository. For example, I use "/cvsroot", and others use the default one, after confirmation, cvsnt will ask whether the CVS Repository directory you added is not initialized and whether it is initialized. Click "yes". cvsnt will automatically initialize the specified directory. After Initialization is complete, you can see a cvsroot folder in it.

Authentication Settings: After the CVS repository is configured, You need to modify the cvsnt authentication method to enable account access for CVS instead of Windows users, find the config file in the cvsroot directory of the CVS Repository directory, first remove its read-only attribute, and then open it in a text editor, change # systemauth = yes in the first line to # systemauth = No.

User settings: In the cvsroot directory, create a passwd file, open it in a text editor, and add two lines of content:

Cvsroot:

Xujiwei:

You can change "xujiwei" to the user name you want to use.

Change Password: After adding a user, it is best to change the password. You need to change the password in cmd. First, open CMD and set the cvsroot environment variable:

Set cvsroot =: pserver: xujiwei@127.0.0.1/cvsroot

Note: Here, xujiwei is the username added previously, And/cvsroot is the alias of the CVS Repository added previously. If your settings are different, replace them with your own values, it will not be described later.

Then, log on to the CVS server. Because no password is set when you add a user, you can directly press enter to log on without entering the password:

CVS Login

Change Password:

CVS passwd

After entering the new password and confirming the password, the user's password is successfully modified.

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.