Install - Java Viper Controller on Linux VM with Sudoless Access



Installation Steps

  1. Ensure Prerequisites are met
  2. Download the latest vFunction Sudoless Controller Installation TGZ
  3. Move the Installation TGZ to the location where you intend to install vFunction
  4. Extract the vFunction Installation Package
### Replace VERSION with the actual value

tar -xvzf vfunction-controller-sudo-less-installation.vVERSION.tgz
  1. Open the installation.yaml
### Replace the INSTANCE_NAME and REPLACE_BASE_DIR with the actual values

vi REPLACE_BASE_DIR/etc/sysconfig/vfunction/installation/instances/INSTANCE_NAME/installation.yaml
  1. Modify the vFunction Configurable Settings
  2. Run the installation script
### Replace the INSTANCE_NAME and REPLACE_BASE_DIR with the actual values

bash REPLACE_BASE_DIR/opt/vfunction/controller-installation/install.sh -i INSTANCE_NAME -v

Optional flags that can be used in the install.sh script

Flag Full Command Purpose
-i –instance Used to input the Instance Name as a String following the flag
-u –server-username Used to input the server-installation.yaml’s server.admin.email address to create the vFunction App in the Server UI from the Controller
-p –server-password Used to input the server-installation.yaml’s server.admin.password to create the vFunction App in the Server UI from the Controller
-s –script-mode Used to run the installation in script mode so that all no user prompts are displayed and console output is minimized
-n –no-services Used to install but not start the vFunction services
-v –viper-mode Used when installed Viper but not the vFunction Agent
-a –agent-mode Used when installing the vFunction Agent but not Viper