If you don't have already a zip of the project create one with :
Send the zip to the VM :
scp /path/to/the/zip.zip gazelle@<VM>/tmp/
Connect to the VM and extract the zip :
unzip /tmp/gazelle-calibration.zip -d /tmp/gazelle-calibration
Edit installation.sh and make sure the variable APACHE_ROOT is correct. Execute the script :
sudo chmod +x installation.sh sudo /tmp/gazelle-calibration/installation.sh
sudo apt-get install libxml2-utils
sudo apt-get install maven
cd /tmp wget https://s3.amazonaws.com/downloads.eviware/soapuios/5.4.0/SoapUI-x64-5.4.0.sh chmod +x SoapUI-x64-5.4.0.sh ./SoapUI-x64-5.4.0.sh
Check the php version installed on the server :
php --version
Depending on the version, the package is different :
php-5 :
sudo apt-get install php5-dom
php-7.0 :
sudo apt-get install php7.0-xml
php-7.1 :
sudo apt-get install php7.1-xmlCheck that the values in ~/gazelle-calibration/html/scripts/calibrate.sh are correct, especially INDEX_PATH and REFERENCES_PATH.
Create or add an existing htpasswd.users in /home/gazelle/gazelle-calibration/html. To add a new user type :
sudo htpasswd /home/gazelle/gazelle-calibration/html/htpasswd.users <user>
Add the following to the configuration file in /etc/apache2/site-enable :
<Directory /var/www/html/gazelle-calibration>
Options +Indexes +FollowSymLinks +MultiViews
Order allow,deny
Allow from all AuthName
"Calibration Access" AuthType Basic AuthUserFile /home/gazelle/gazelle-calibration/html/htpasswd.users Require valid-user </Directory><domain\>
/gazelle-calibration is now password protected.