sudo apt-get -y install aptitude sudo aptitude update #Make aptitude be fully non-interactive, so we don't get the issues with Grub trying to configure itself. sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade #install packages sudo DEBIAN_FRONTEND=noninteractive apt-get -y install python-dev python-docutils gettext sudo libpam0g-dev libidn11 libidn11-dev cron postfix default-jdk #Install the HTH package sudo echo "deb http://package.perforce.com/apt/ubuntu xenial release" >> /etc/apt/sources.list wget -qO - http://package.perforce.com/perforce.pubkey | sudo apt-key add - sudo aptitude update sudo aptitude -y install hth helix-cli #Generate the self-signed certs, so https will work sudo aptitude -y install openssl sudo mkdir -p /etc/hth/ssl/ openssl req -x509 -subj '/C=US/ST=CA/L=Alameda/O=Perforce/OU=hth/CN=hth/E=hth@perforce.com' -nodes -days 365 -newkey rsa:2048 -keyout /etc/hth/ssl/192.168.2.71.key -out /etc/hth/ssl/192.168.2.71.crt > /dev/null 2>&1 if [ $? -ne 0 ]; then echo 'Errors while creating self-signed certificates!' exit 1 else echo 'Self-signed certificates have been created' fi sudo cp /etc/ssl/192.168.2.71.crt /etc/hth/trusted-certs/ #Reconfigure HTH sudo hth-ctl reconfigure #Run it again, as HTH seems to get stuck and I have to run reconfigure manually. sudo hth-ctl reconfigure #Install the HTH license sudo cp /home/vagrant/hws/license /var/opt/hth/shared/.license.pem sudo hth-ctl restart #Establish trust with the Helix Server. sudo -u hth -i p4 -u super -p ssl:192.168.2.72:1666 trust -y #Will need to create bot before switching authentication to Helix #add our own configuration file, which contains config for Helix Authentication sudo cp /home/vagrant/hws/hth.json /var/opt/hth/shared/ #sudo hth-ctl reconfigure
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 26546 | Jen Bottom | Copying up work on HTH with Helix For Git setup | ||
#3 | 26518 | Jen Bottom | Copy up work on boxes that make up the HTH + Helix For Git setup, from dev to main | ||
#2 | 26072 | Jen Bottom |
Integrating work on HTH box backed by Helix For Git to main. Currently both HTH and gconn are brought up, license is installed in gconn (if you supply one) and some graph depots are populated with content. Some work to establish Helix authentication is also included. The Gconn provision script also checks the HTH box is up, as we will need it to be up so we can get and set the company and account keys in the Helix Server trigger config file |
||
#1 | 25880 | Jen Bottom | Integrating work on HTH setups from dev to main |