3 Installation and Configuration of Server (CVSNT):
3.1 Server-side machines and environment configurations:
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 (Store your own source code)
F: / khtemp (24 directory of CVS error message)
7. There is a list of users on this machine: (created by NT or native users)
Administrator (System Administrator)
Jackey (ordinary users)
Goury (ordinary users)
RioleE (ordinary users)
3.2 Install CVSNT:
1. Download CVSNT-2.0.4; log in to the Server machine using administrator.
2. Double-click the self-extracting EXE file, select Full Install, other according to the default mode; you can find more services in the service controller after installation: CVSNT and CVSLOCKING
3. Send Service Control Panel to the desktop to 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. At this point, the CVSNT server is basically configured, and the use and management of WinCVS is performed 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 switching LAN, you can directly access 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 the YCW2000 machine)
E: / cvsclient / admin (Administrator Work Contents)
E: / cvstemp (WinCVS Temporary Catalog)
2. When you start WinCVS for the first time, you will 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: According to the illustration, you need to note that the format of the PATH section is the 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
, Or view => browse location => change ... menu for settings, select the ready path: E: / CVSClient / Admin, confirm, OK, this directory will appear in the left navigation bar of WinCVS [Workspace].
4. At this point, WinCVS is configured to use a remote administrator to use the basic operation drill you need for general administrators. The content of the drill is: Administrator needs to manage Jackey, Goury, Riolee three users, and establish a work directory for these three users, each can only access their own work directory. At the same time, only Administrator can perform permission assignment, and other people do not have any administrative privileges. (Until it, to be continued)