Last active
December 23, 2023 23:35
-
-
Save BlenderSleuth/b05fddfc6f9aea6a055733d42317eb1b to your computer and use it in GitHub Desktop.
Ubuntu 22.04 Perforce Setup Script (including git connector)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Add perforce package key and repo (from https://www.perforce.com/manuals/p4sag/Content/P4SAG/install.linux.packages.install.html) | |
wget -qO - https://package.perforce.com/perforce.pubkey | gpg --dearmor | sudo tee /usr/share/keyrings/perforce.gpg | |
sudo echo "deb [signed-by=/usr/share/keyrings/perforce.gpg] https://package.perforce.com/apt/ubuntu jammy release" > /etc/apt/sources.list.d/perforce.list | |
# Install p4d | |
sudo apt-get update | |
sudo apt-get install -y helix-p4d | |
# Allow port 1666 through firewall | |
sudo ufw allow 1666 | |
# Run config script | |
sudo /opt/perforce/sbin/configure-helix-p4d.sh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run: