The install_viewagent.sh script installs View Agent on a Linux guest operating system.

Use the following form of the install_viewagent.sh script in a command window in the gnome desktop environment.

install_viewagent.sh command_option argument [command_option argument] . . .

The install_viewagent.sh script includes mandatory and optional parameters.

Table 1. install_viewagent.sh Mandatory Parameters

Mandatory Parameter

Description

-b

FQDN or IP address of the View Connection Server instance. For example: mybroker.mydomain.com or 192.0.2.10

-d

Domain name of the View Connection Server instance administrator user. For example: mydomain.com

-u

User name of the View Connection Server administrator user. For example: myadmin

The user must have the Agent Registration Administrators or Administrators role in View Administrator. Specifically, the Register Agent privilege is required to register View Agent with View Connection Server. Agent Registration Administrators is a restricted role that provides this minimum privilege.

Table 2. install_viewagent.sh Password Parameter

Optional Parameter (Required Information)

Description

-p

Password for the View Connection Server administrator user.

You do not have to type the -p parameter at the command line if you do not want to expose the password in text. If you type the install_viewagent.sh command without the -p parameter, you are prompted to enter the password. When you type the password at the prompt, the text is hidden.

You must provide the password, either with the -p parameter or at the prompt.

If the password contains a special character such as $ within the shell in which the installer is executed, make sure the special character is escaped. For example: ab\$cdef

Table 3. install_viewagent.sh Optional Parameter

Optional Parameter

Description

-n

Machine name that is registered to View Connection Server. By default, the View Agent installer uses the host name. You can specify your own name.