First, become root:
sudo su -
Then, as root:
set -o vi
mkdir -p /hxdepots /hxmetadata /hxlogs
mkdir /root/sdp_install
cd /root/sdp_install
curl -L -O https://workshop.perforce.com/download/guest/perforce_software/sdp/main/Server/Unix/setup/install_sdp.sh
chmod +x install_sdp.sh
./install_sdp.sh -C > sdp_install.cfg.template
sed -E -e "s/^P4AdminList=.*/[email protected]/g" -e "s/^MailFrom=.*/MailFrom=${HOSTNAME%%.*}@p4demo.com/g" -e 's/^DNS_name_of_master_server=.*/DNS_name_of_master_server=p4.p4demo.com/g' -e 's/^SiteTag=.*/SiteTag=awsusw2/g' -e 's/^P4_PORT=.*?/P4_PORT=7468/g' -e 's/^P4BROKER_PORT=.*/P4BROKER_PORT=7467/g' -e 's/^Instance=.*/Instance=hms/g' sdp_install.cfg.template > sdp_install.cfg
diff sdp_install.cfg.template sdp_install.cfg
./install_sdp.sh -c sdp_install.cfg -init -demo
Review the dry run, and confirm that it indicates success. If so, proceed:
./install_sdp.sh -c sdp_install.cfg -init -demo -y# Sample Install Steps First, become root: ``` sudo su - ``` Then, as root: ``` set -o vi mkdir -p /hxdepots /hxmetadata /hxlogs mkdir /root/sdp_install cd /root/sdp_install curl -L -O https://workshop.perforce.com/download/guest/perforce_software/sdp/main/Server/Unix/setup/install_sdp.sh chmod +x install_sdp.sh ./install_sdp.sh -C > sdp_install.cfg.template sed -E -e "s/^P4AdminList=.*/[email protected]/g" -e "s/^MailFrom=.*/MailFrom=${HOSTNAME%%.*}@p4demo.com/g" -e 's/^DNS_name_of_master_server=.*/DNS_name_of_master_server=p4.p4demo.com/g' -e 's/^SiteTag=.*/SiteTag=awsusw2/g' -e 's/^P4_PORT=.*?/P4_PORT=7468/g' -e 's/^P4BROKER_PORT=.*/P4BROKER_PORT=7467/g' -e 's/^Instance=.*/Instance=hms/g' sdp_install.cfg.template > sdp_install.cfg diff sdp_install.cfg.template sdp_install.cfg ./install_sdp.sh -c sdp_install.cfg -init -demo ``` Review the dry run, and confirm that it indicates success. If so, proceed: ``` ./install_sdp.sh -c sdp_install.cfg -init -demo -y ```
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 33516 | C. Thomas Tyler |
Consistency pass: fix absolute URLs, p4ms->hms renames, script/doc typos and bugs - Convert absolute workshop.perforce.com URLs to relative paths in dlp/ReadMe.md - Fix case-mismatch link to HMS_Product_Roadmap.md in README.md - Rename reset_p4ms.sh -> reset_hms.sh and p4broker_p4ms_test -> p4broker_hms_test - Fix .sh-suffix bugs: bin/hms calling global_replica_status.sh (should be no ext), and matching SEE ALSO / doc references for sdp_sync and global_replica_status - Add missing scripts (gtu, hrun, irun, global_replica_status) to gen_script_man_pages.sh - Add stub scripts: nj_help.sh, broker_njob.pl, broker_mkproj.pl, broker_jr.pl - Remove dangling absolute symlinks HostCM/p4 and HostCM/p4d (cruft) - Rename test/b -> test/broker_ctl.sh for clarity - Fix real bugs: broker_imply-u.pl broken regex match, gen_dlp_broker_cfg.sh and gen_nj_broker_cfg.sh copy-pasted Version-file existence check, garbled comment in broker_must_be_owner.pl, unclosed quote in tools/gsr.sh usage(), missing 'h' in HMS_SystemComponents.md broker command example (^ms$ -> ^hms$) - Fix broken sed command and incomplete sentence in HMS_Install_Notes.md and SDP_and_HMS_Update_Process.md - Fix broken markdown table in HMS_Product_Roadmap.md - Fix unclosed parenthesis, missing verb, and FKA Swarm mislabel in HMSDeploymentPlanning.adoc - Standardize //streams/main/... naming in HostCM/ReadMe.md - Numerous typo fixes across README.md, HMS_SystemComponents.md, SDP_and_HMS_Update_Process.md, HMS_TightShipManagement.adoc, HMSDeploymentPlanning.adoc, HostCM/ReadMe.md, and various scripts Co-authored-by: Copilot <[email protected]> |