#!/bin/bash declare Version=1.0.4 # This bootstraps a new CentOS server: # * Ensuring that it has current packages. # * Ensure that it can connect to the Perforce Package Repository. echo "Running ${0##*/} v$Version." cd /tmp # Even though it's a test/demo environment, we don't want any # ShellShock or Heartbleed or whatnot. sudo yum update -y sudo yum install epel-release -y # Tools required to build Python, P4Python, Perl, P4Perl, etc. sudo yum groupinstall -y "Development tools" sudo yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel # Enable connection to Perforce Package Repository. rpm --import http://package.perforce.com/perforce.pubkey echo -e "[perforce]\nname=Perforce\nbaseurl=http://package.perforce.com/yum/rhel/6/x86_64/\nenabled=1\ngpgcheck=1" > /etc/yum.repos.d/perforce.repo exit 0
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 21706 | Sven Erik Knop |
Populate //cbd/main/... .... |