Build a configuration management environment using the PVCS series software (2)

zhaozj2021-02-16  49

Second part VM Server

VM Server is a feature expansion tool for Version Manager, which provides the functionality of project databases in the web browser to access version management. The advantage of this way is to make the client use the PVCS Version Manager client interface, just need to install Plug-in when you first access it.

installation

VM Server requires web server support, and it is best to install it on the same machine with the PVCS Version Manager server.

Execute the installer for VM Server

: /VMSERVER/NT/Setup.exe

Make installation.

After the installation is complete, the configuration tool for PVCS VM Server appears.

Figure 8

If the server is unattended in the plan, it is best to install the VM Server into NT / 2000 service, so the server may not log in.

In the Servers tab, click Install NT Service.

Open the NT / 2000 service manager, you can see a PVCS-VM-Server service, change its launch type to automatic, and start this service.

Configuring IIS

Here is set as an example of IIS5. In the default site of IIS (or build a virtual site called VM Server, the port number does not take 8080.) Create the following virtual directory:

Alias ​​actual location VMINET_IMAGES

/ vminet / html

VMINET_TEMP

/ VMINET / TEMP / HTML

VMINET_BOOKS

/ books / vminet

Jakarta

/ VMINET / TOMCAT / BIN / WIN32 / I386

Add permissions to the Jakarta virtual directory.

Right click on the site, add a filter named Jakarta at the site attribute, add a filter named Jakarta.

/VMinet/tomcat/bin/win32/i386/isapi_redirect.dll

Note: The above settings are for 6.7.10, and other versions I have not tried. Several steps described in the 6.7.10 manual are erroneous.

Figure 9

Enter http in the address bar of the browser: //

/VMINET.HTML

Testing is correct if the settings are correct.

Figure 10

If configured correctly, the sample item database as shown is appear.

Click on the project connection / sampledb, enter the username admin and password! Admin Try to log in to the sample database, if there is no error, then configure the currently used item library to support the browser access.

Increase project library

Open the VM Server Configuration tool,

Enter the project name at servlet name, enter the description of the project, and the name of the URL name and the current server will be accessed, remove the mask in Default Password.

Note: When creating a VM servlet, the value of the servlet url and the servet name should be the same, otherwise the 404 cannot be found in the page when the user logs in from the browser.

Select the directory where the Version Manager item library is located in Project Database or root.

Point Add.

Figure 11

After adding a service item library, you need to restart the IIS service and PVCS-VM-Server service.

Enter http in the address bar of the browser: //

/VMINET.HTML

Verify that the item library has been added correctly.

Figure 12

Enter your username and password access to the project library

Figure 13

VM Server authentication process

VM Server itself provides authentication with the password mask, or you can integrate authentication with Version Manager. The following is the VM Server authentication process. Figure 14

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

New Post(0)