WinCVS and CVSNT Confidential Users (1)

xiaoxiao2021-03-06  93

1 Introduction:

CVS is a version-controlled tool. At present, there are different versions under Linux and Windows; The introduction of CVS under Windows is a few.

This article is an experience introduction to the CVS in a LAN environment of Windows. Step by step to describe how to configure and use CVS server-side and clients. At the same time, this article only uses the most basic things in CVS, there are many more advanced things, this article is not involved. Below is another connection map of this article, you are welcome to discuss use and make progress together.

Article connection: http://www.kuihua.net/book/list.asp? Id = 66

Forum connection: http://www.kuihua.net/bbs/dispbbs.asp? BoardId = 1 & rootid = 670 & id = 670

2 Installed version:

2.1 Server (CVSNT)

1. This article uses CVSNT-2.0.4, which is a relatively stable version, do not use the latest CVSNT-2.1.1, I found more serious bugs in use.

2. Download connection: http://www.cvsnt.org Currently, it provides downloads from version 2.0.6 and 2.1.1.

3. The above connection also provides source code, interested friends can also download it carefully :).

4. Have a heart, carefully observe, will find: http://www.cvsnt.org does not provide any client download, because cvs.exe can be used for both the server side and the client, WinCVS is For the convenience of the client, the shell is used. (About this, I did not have any confirmation, just an experience in the process of use, welcome everyone to discuss.)

2.2 Client (WinCVS)

1. This article uses WinCVS-1.3b13, which should be a new version :), I have not found any serious bugs during use.

2. Download connection: http://sourceforge.net/projects/cvsgu/

3. This website also offers a wealth of CVS documentation and related source code, as well as the related documents and code below the OS; friends with the collection are blessed :).

4. The version of the CVSNT used by WinCVS-1.3b13 is CVSNT-2.0.2, and no incompatible or conflict is found when used in conjunction with the server-side CVSNT-2.0.4.

5. The results displayed in my system use the CVS version command as follows:

Client: Concurrent Versions System (CVSNT) 2.0.2 (Client / Server)

Server: Concurrent Versions System (CVSNT) 2.0.4 (Client / Server)

3 Server-side (CVSNT) installation and configuration: 3.1 Server-side machine and environment configuration: 1. Operating system: Windows 2000 Professional SP2 Chinese version 2. Machine name: Server 3. Machine Address: 192.168.0.6 (internal IP) 4. Network Environment: 100 megabytes exchange LAN 5. Hard disk partition format: FAT32 and NTFS can be. 6. Prepare 2 CVSNT working directory: f: / khroot (root of your own source code) F: / khtemp (directory) 7. There is a list of users on this machine: (by NT or User's user creation) Administrator Jackey Jackey (ordinary user) Riolee (ordinary users) 3.2 Install CVSNT: 1. Download CVSNT-2.0.4; use administrator to log in to the Server machine. 2. Double-click the self-extracted EXE file, select Full Install, other in the default mode; you can find more than 2 services in the service controller after installation: CVSNT and CVSLOCKING 3. Send Service Control Panel to the desktop, form shortcuts . 4. The installer will automatically install the CVS installation path, set to the system's path environment variable, so the user can perform cvs.exe anywhere in the console (CMD), which is important to the following configuration! ! 3.3 Configuring CVSNT Servers: 1. Double-click Service Control Panel shortcut, in the Service Status page, confirm that 2 services are normal and stable. 2. Select the Repository page, click the Add button, select the F: / KHROOT that you have prepared, confirm, OK, Yes, then create a cvsroot directory below F: / khroot, which is the default management directory of CVS ( Default module). If an error is reported, it is that the system Path path is not set correctly. 3. Select the Advanced page, hook Use Local Users for PServer ..., (Why? I don't know! J), select F: / khtemp, confirm, OK in the Temporary column. 4. Press the [Application] button, confirm, exit, ok, get it! ! 3.4 Summary: 1. To this, the CVSNT server is basically configured, and WinCVS is used and managed below.

2. Because CVS supports remote management, it is the characteristics of the client and server integration, so we will add all managers such as users, permission control, module maintenance, and put it in the remote (WinCVS), the server You can enter the lock state in Ctrl ATL DEL, and all the following work is handed over to the distal WinCVS for management. 4 Client (WinCVS) installation and configuration: 4.1 Client machine and environment configuration: 1. Operating system: Windows 2000 Professional SP2 Chinese version 2. Machine name: YCW2000 3. Machine Address: 192.168.0.2 (internal IP) 4. Network environment: 100 trillion swap LAN, you can access the Server 5. Hard Disk Partition Format: FAT32 and NTFS can be. 4.2 Install WinCVS: 1. Download WinCVS 1.3b13, all according to the default installation. 2. Start WinCVS and start using it. Special note: All of the following operations are remotely completed on YCW2000 (192.168.0.2). At this time, the server (192.168.0.0.6) host has entered a lock state. 5 Administrators use WinCVS for remote management: 5.1 Configuring WinCVS as an administrator status: 1. Prepare the administrator work directory: (on YCW2000 machine) E: / cvsclient / admin (Administrator Work Contents) E: / CVSTemp (WinCVS temporary Directory 2. When you start WinCVS, you can automatically pop up the Preferences configuration page, or you can enter by admin => Preference menu; you need to configure the following three pages: l General page settings: Note: Follow the illustration Method input, you need to note that the format of the PATH section is UNIX path format, which refers to the work root directory set by the CVSNT.

l CVS page settings:

Note: The Home path is the storage location of files such as setting password, which must be specified, otherwise, WinCVS also pops up the setting box when logging in. This HOME path needs Python.exe this plug-in. Here you have prepared path: E / CVSTEMP

l WinCVS page settings:

Note: This page sets WinCVS plug-in editing, usually easy to use UltraEdit. 3. Set the work path of the administrator: You can click the icon

转载请注明原文地址:https://www.9cbs.com/read-122447.html

New Post(0)