Procedure for creating and managing a cvsnt Server

Source: Internet
Author: User

Preface:Today, I want to create a CVS server on a new computer and forget how to create a CVS server! Ah, it's old, it's hard to remember. After all, I wrote this article. I will create a CVS server later. Just click here! Body:1. Create an empty folder, such as cvshome. All CVS projects are placed under this folder. 2. Install cvsnt2.5 or later. 3. Open cvsnt and you can see that two Windows Services are executed. If you do not need to execute the CVS service every time, you can set it to manual start on the Windows Service Management page. 4. Click Add in repository configuration, select the created folder, and enter a new sub-folder, such as test. In this case, the system prompts that the folder does not exist and will be created for you, and initialize the project folder as CVS. That is, create the cvsroot directory under it, which contains many CVS control files. 5. In the cvsroot directory, create a file named passwd with the following content: shendl: Administrator [Where, add a user in the format of CVS Username: Password (should be blank ): for Windows users on the server, the initial password should be blank. Because the password is saved in a password file instead of a plaintext file, you cannot manually specify the password. A Windows user on the server indicates that the CVS user has the corresponding permissions of the user on the server.] In this way, the/cvshome/test project of CVS has a CVS user with the shendl username, empty password, and the administrator role permission on the operating system. 6. Open the command line and enter CVS-D: pserver: shendl @ localhost:/cvshome/test passwd. The system will prompt you to enter a new password. Enter 2 times for confirmation. 7. Now, use eclipse and other tools to connect to the newly created CVS server resource library: Connection Type: pserver User name: shendl HOST: localhost resource library path: cvshome/test. If you need to create your own CVS resource library, follow the steps above. 8. You can create countless projects under each resource library. We can release an Eclipse project to a CVS resource library. In eclispe, right-click the project name and select team ---- share project. (This option is not available for local projects synchronized by CVS. You can choose disconnect from the management of the CVS repository so that you can select share project ). Select the warehouse type CVs. Provides the CVS repository and user name protocol. In this way, a new project folder is created under the CVS repository. In addition, this eclipse project has been connected to the CVS repository. Next, you can use the CVS client tool that comes with eclipse to synchronize with the repository of the cvsnt server! OK! Now all the tasks for creating the CVS server have been completed!

 

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.