install(1)

NAME

install - installation script

SYNOPSIS

install [options …​] <PCLPVIEW_DATA>

install -C [options …​] <PCLPVIEW_DATA>

install -U <PCLPVIEW_HOME> [options …​]

DESCRIPTION

Installs and configures PC-lint Plus View.

The most common options when installing PC-lint Plus View are :

  • -B, to open PC-lint Plus View to the network.

  • -k, to deploy a license file.

Alternatively, when upgrading an existing installation, use :

  • -U, to specify the directory to upgrade.

  • Existing installation settings can be overridden by providing options after the -U switch.

PC-lint Plus View data is stored in the <PCLPVIEW_DATA> directory.

OPTIONS

-C

Configure files only, does not create any database schema. This option may be used to reconfigure PC-lint Plus View after installation.

--data-version vers

Used in conjunction with -C, allows to configure a fresh installation using existing data at the vers version. The PC-lint Plus View data is upgraded during the installation process.

-U <PCLPVIEW_HOME>

Upgrade the installation pointed to by the <PCLPVIEW_HOME> folder.

--no-start

Do not start PC-lint Plus View after installation or upgrade.

Note that some PC-lint Plus View processes are still started during the installation or upgrade.

-v

Increase verbosity level.

--help

Display a short help and exit.

-S

Use remote database server. This option may be used to point on an existing server (no local cluster is created).

-P, --pgsql-dir pg_dir

Location of PostgreSQL executables.

-D, --cluster-dir cluster_dir

PostgreSQL cluster directory to create (default <PCLPVIEW_DATA>/cluster).

-h, --db-host host

Database server’s host name (default: localhost).

-p, --db-port port

Database server’s port number (default: DMBS dependent, 4661 for postgresql).

--dba-user user

Database administrator name (default: DMBS dependent, postgres for postgresql).

--dba-password secret

Database administator password. Prompted on console if not specified.

-d, --db-name name

PC-lint Plus View database name (default: pclpview).

-u, --db-user user

PC-lint Plus View database user (default: pclpview).

-w, --db-password secret

PC-lint Plus View database user password. Prompted from console if not specified.

-J java_home

Specify the Java home to use. Defaults to JAVA_HOME, and, if this variable is not set, to an OS specific value.

-B, --bind-all

Allow access from remote computers. This is equivalent to -b 0.0.0.0 option.

-b, --bind-address address

WildFly bind address (default: localhost). If you plan to use PC-lint Plus View from your local network, use 0.0.0.0 for the bind address or use -B option. Otherwise, access is restricted to connections from localhost only.

-o, --binding-offset offset

Ports binding offset (default: 200). This number is added to the default ports (8080 for http, 4461 for postgresql, etc.). An offset of 200 means that PC-lint Plus View is accessible via http://localhost:8280.

--phantomjs-port port

PhantomJS port. The port to use for the embedded installation of PhantomJS (default: 3103).

-m, --memory number[unit]

Total memory (RAM) available for this PC-lint Plus View instance (default: all). This value is used to configure the PostgreSQL cluster and the WildFly server.

A unit can be b (bytes), k (kilobytes), m (megabytes), or g (gigabytes). If omitted, bytes is used.

--cpu number

Number of CPUs available to this PC-lint Plus View instance (default: all). This value is used to configure the PostgreSQL cluster and the WildFly server.

-T tmp_dir

PC-lint Plus View temporary directory. (default: /tmp/pclpview)

-k file.lic

PC-lint Plus View licensing file.

ARGUMENTS

<PCLPVIEW_DATA>

The PC-lint Plus View data directory, where PC-lint Plus View data is stored. That is, the database cluster (when managed by PC-lint Plus View), projects related files, archives and backups.