Log in to the system as the HAWQ administrator (for example,
gpadmin) on the HAWQ master host.
# su - gpadmin
Set the search path to include the public schema.
Navigate to the
database_setup/HAWQ directory.
$ cd /home/gpadmin/database_setup/HAWQ
Run the
Team Studio installer (the
.bin file).
$ sh alpine_miner_installer_HAWQ.bin
Read and accept the license agreement.
Specify the HAWQ installation path. The setup places the required shared library in the directory
$HAWQHOME/lib/postgres/.
Specify if the installer should copy the shared library to the segment hosts. Enter
y for multi-node clusters.
If you entered
y, then enter the full path to the file containing the segment host names.
You can create your own host file. For example, create a file
/tmp/hostfile and add all the segment host names or IP addresses one after the other in the file, similar to the following.