V17 UNIX Update Instructions

From Vital Soft Wiki
Revision as of 18:03, 15 July 2016 by >Johno (Vital Signs 1.7.05 - UNIX Update Instructions)
Jump to: navigation, search

Vital Signs 1.7.02 - UNIX Update Instructions

These instructions are valid if you are upgrading from Version 1.6 or a previous 1.7 version. Contact Vital Soft support for assistance if you are upgrading from Version 1.5 or earlier.

Backup the Existing vsdata Directory

  • Create a backup of the current setup:
  login askplus  
  cd /ASKPLUS
  cp -Rp vsdata vsdata-bkup-yyyymmdd
  • Remove any old backup directories that are no longer needed
  # Be careful, this command deletes all files and sub-directories from the specified directory
  rm -R old-bkup-dir

Install New UNIX Job/Script Files

We recommend that you right-click and choose "Download linked file as..." (or the equivalent option) as this should prevent your browser from automatically unzipping the file during the download.

  • Transfer (binary) the gz file to the /ASKPLUS directory on the UNIX system and then extract the files.
 
  #Confirm that you are in /ASKPLUS
  pwd
  # Transfer (using binary) the gz file to the /ASKPLUS directory
  # Unzip the files
  gunzip VSIGNS-UNIX-1702.gz
  tar -xvf VSIGNS-UNIX-1702
  # Update permissions for scripts
  cd vsdata/scripts
  chmod 644 VS*
  chmod 755 v*
  # Update permissions for jobs
  cd ../jobs
  chmod 755 *

Update the Sample Custom Files

The sample custom files should be copied only if the custom file does not exist.

  • Respond No to the following commands if the file already exists.
  cd /ASKPLUS/vsdata/scripts
  cp -i VSCALC-CUSTOM-ATTR.samp VSCALC-CUSTOM_ATTR
  cp -i VSLOAD-CUSTOM.samp VSLOAD-CUSTOM

Back ...