Linux Installation
-
Optional - Depending on the environment, additional tools may be required to run VirtServer.
For example, if you need to download ReadyAPI, you need a tool like wget.
Script:
sudo apt-get install wget -
Use an appropriate tool (for example, wget) to download a version of VirtServer.
Script:
wget https://dl.eviware.com/virtserver/3.35.1/virtserver-x64-3.35.1.sh -
Optional - You may need to set permissions on the file to allow installation.
Script:
chmod a+x VirtServer-x64-3.35.1.sh -
Install VirtServer from the downloaded location.
-
When installing VirtServer, additional parameter options can be specified. For example, you may want to install and start VirtServer as a service.
-
Optional: If installing VirtServer on a Linux Machine, you need to do additional configuration. For details, see the instructions for running VirtServer as a service on Linux.
Script:
sudo sh VirtServer-x64-3.35.1.sh q -Dservice.install=true -Dservice.autostart=true -
-
Running services may take a few seconds to become available, so you may want to add an optional delay before proceeding to the next step.
Script:
sleep 3' -
Log in to VirtServer.
Script:
sudo sh /opt/SmartBear/VirtServer-3.35.1/bin/virtserver-cli.sh -login -s 127.0.0.1:9090 -u defaultUser -pw svp4everTo obtain a license access key, see the VirtServer ID-based Licensing documentation.
-
Apply for a VirtServer License from SLM using CLI.
Script:
sudo sh /opt/SmartBear/VirtServer-3.35.1/bin/virtserver-cli.sh -activatelicense -licenseaccesskey <Access Key> -licenseissuer SLMTo obtain a license access key, see the VirtServer ID-based Licensing documentation.
-
Use the VirtServer CLI (
virtser-cli.sh) to deploy and manage virtual services. For more information, see the Command-Line Interface Utility documentation. -
Log out of VirtServer.
Script:
sudo sh /opt/SmartBear/VirtServer-3.35.1/bin/virtserver-cli.sh -logout -s127.0.0.1:9090