swarm-install.txt #1

  • //
  • guest/
  • russell_jackson/
  • ansible-sdp/
  • swarm/
  • swarm-install.txt
  • View
  • Commits
  • Open Download .zip Download (1 KB)
apt-get update
apt-get install -yq --no-install-recommends -q wget
Follow instructions for latest version of Swarm from Perforce docs.
cd /opt/perforce/swarm/data
cp config.php config.php.save
copy contents of config.php to /opt/perforce/swarm/data/config.php making sure to keep the new password from the current config.php.
cd /etc/apache2/mods-available/
cp mpm_prefork.conf to folder
cp reqtimeout.conf to folder
cp status.conf to folder
echo "APACHE_ULIMIT_MAX_FILES='ulimit -n 65536'" >> /etc/apache2/envvars
cd /etc/php/8.3/apache2/
edit php.ini and make changes that are in php.ini_diff
Then copy that php.ini to the fpm folder as well.
a2enmod ssl
mkdir /etc/apache2/ssl
cd /etc/apache2/ssl
copy perforce-swarm-site.conf to /etc/apache2/sites-available/
rm /etc/apache2/sites-enabled/000-default.conf
systemctl restart apache2
vi /opt/perforce/etc/swarm-cron-hosts.conf - Make sure server address is correct and using https. 
cd /opt/perforce/swarm/p4-bin/scripts
copy logrotate.d-helix-swarm to /etc/logrotate.d/helix-swarm 
/opt/perforce/swarm/p4-bin/scripts/swarm-cron.sh


# Change User Description Committed
#1 32488 Russell C. Jackson (Rusty) Ansible scaffolding for the sdp - Needs work.