To enable the gpadmin user to execute Command Center utilities such as gpcc
at the command line, source the gpcc_path.sh
file in the Greenplum Command Center installation directory. For example:
$ source /usr/local/greenplum-cc-<version>/gpcc_path.sh
The gpcc_path.sh
script sets the GPCC_HOME
environment variable to the Command Center installation directory and adds the $GPCC_HOME/bin
directory to the path.
To automatically source the gpcc_path.sh
each time you log in, add the above source command to your start-up script, for example ~/.bashrc
or ~/.bash_profile
.