VirtServer uses a separate installation package from ReadyAPI. You can install it on Windows, Linux and macOS. The ways to install the product on these operating systems are very similar. There are differences in installing the product on Linux headless (GUIless) machines. This topic provides detailed information on installation steps for both cases.
Follow these steps:
Download the VirtServer installer for your platform (Windows, Linux or macOS, 32- or 64-bit) from the SmartBear web site.
|Note:||If you use Linux, check that the installer has correct permissions and is executable.|
Run the downloaded installation package.
Follow the installation wizard instructions:
Specify the installation directory.
On one of the steps, the wizard will ask you to select additional components to be installed:
These components are optional, but may be needed to run some of your tests:
|These options work on Windows only. ReadyAPI VirtServer Service commands the installation wizard to install VirtServer as a Windows service. This way VirtServer will run even if no user is logged in to the computer where it is installed.
Autostart Service means that the operating system will run this service automatically upon startup. Note, however, that if you select this option, the first run of the server may result in an error: to run VirtServer you have to create a user on it first. See Running VirtServer as Service for details.
JDBC drivers for Postgres and SQL Server databases. You can download them at any time later from the PostgreSQL and MSDN web sites.
Install these drivers if your virtual services are using data sources connected to databases. If they use other databases, you will have to install database drivers manually.
|HermesJMS||Support for HermesJMS. Install it, if you are going to run JMS virtual services based on HermesJMS.|
After selecting the desired components, click Next to finish the installation.
If you selected to install HermesJMS, follow the instructions of its installation wizard. When it is over, you will automatically return to the ReadyAPI VirtServer installation wizard.
The last page of the wizard has the Send usage statistics check box. Select this check box if you want to help us find out on what features to focus our development efforts: the check box will let VirtServer know that you agree to provide anonymous data on using the product.
After the installation is over, you may need to perform some additional actions. See below.
After the installation is over, run VirtServer, create a user on it (this is needed to control VirtServer from ServiceV) and activate the VirtServer license. These actions are rather simple. Just follow the instructions you will see on the screen.
Download the VirtServer installer from the SmartBear web site.
Make sure the installer has appropriate permissions for execution.
Run the installer with the
-c argument in its command line. Here is an example for running a 64-bit installer of VirtServer 2.7.1:
|Note:||On Windows computers, use the following command:
start /wait <VirtServer-x64-2.7.1.sh> -c
The installer will unpack files and then will continue the installation in the command-line mode.
The installer will ask you to perform the same actions that you perform in the GUI installer: specify the installation folder, choose the components to be installed, and so on. Follow the instructions you will see on the screen.
After the installation is over, run VirtServer, create a user, and activate the license (see above).
An alternative approach is to download the VirtServer .tag.gz archive and extract files from it manually. However, in this case, you will have to install JDBC drivers, Hermes, Java and other components manually, as well.