Skip to content

Instantly share code, notes, and snippets.

View amfred's full-sized avatar

Ann Marie Fred amfred

  • Red Hat
  • Cary, North Carolina, USA
  • X @DukeAMO
View GitHub Profile
@amfred
amfred / bootstrapKVMCentOSBaremetal.sh
Last active August 29, 2015 14:05
A script that installs KVM on a SoftLayer CentOS 6.5 baremetal server, with some helpful tips
#!/bin/bash
#=======================================================================
# bootstrapKVMCentOSBaremetal.sh
# © Copyright IBM Corporation 2014.
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#=======================================================================
# This is more of a set of tips than a tested script, but I used CentOS 6.5 Minimal Install 64 bit
# Remember to do a yum update first
@amfred
amfred / bootstrapKVMUbuntu.sh
Last active September 17, 2015 22:10
A script that installs KVM on Ubuntu , with some helpful tips
#!/bin/bash
#=======================================================================
# bootstrapKVMUbuntu.sh
# © Copyright IBM Corporation 2014.
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#=======================================================================
# This is more of a set of tips than a tested script, but I used Ubuntu 12.04 LTS Precise Pangolin Minimal Install 64 bit
# Check to see if mysql is installed, which SoftLayer seems to do by default. Remove it.
@amfred
amfred / bootstrapDisk2AndHostname.sh
Last active August 29, 2015 14:05
A script that mounts a second drive and modifies the hostname of a SoftLayer compute instance
#!/bin/bash
#=======================================================================
# bootstrapDisk2AndHostname.sh
# © Copyright IBM Corporation 2014.
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#=======================================================================
# Tested: Red Hat Enterprise Linux 6 - Minimal Install (64 bit), 100 GB SAN primary disk, 750 GB SAN secondary disk
@amfred
amfred / bootstrapTomcatChefSoftLayer.sh
Created May 14, 2014 06:43
Uses Chef to install Tomcat onto a SoftLayer CCI (virtual machine / compute instance).
#!/bin/bash
#=======================================================================
# bootstrapTomcatChefSoftLayer.sh
# © Copyright IBM Corporation 2014.
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#=======================================================================
# Tested with: Ubuntu 12.04 LTS Precise Pangolin Minimal Install 64 bit CCI
@amfred
amfred / bootstrapDevstackUbuntuBaremetal.sh
Last active August 29, 2015 14:01
A script that uses Git to install Devstack on a SoftLayer Ubuntu bare metal server.
#!/bin/bash
#=======================================================================
# bootstrapDevstackUbuntuBaremetal.sh
# © Copyright IBM Corporation 2014.
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#=======================================================================
sudo apt-get update
sudo apt-get install git -y
@amfred
amfred / bootstrapEurekaChefSoftLayer.sh
Last active August 29, 2015 14:01
A script that uses Chef to install a Eureka server on a SoftLayer Ubuntu compute instance.
#!/bin/bash
#=======================================================================
# bootstrapEurekaChefSoftLayer.sh
# © Copyright IBM Corporation 2014.
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#=======================================================================
# Tested: Ubuntu 12.04 LTS Precise Pangolin Minimal Install 64 bit CCI
@amfred
amfred / testDropbox.sh
Last active August 29, 2015 14:01
A very simple script that will write a "hello world" file and install Chef workstation. Put it on Dropbox or a web server to get an HTTPS URL, and use that as the SoftLayer provision script URL.
#!/bin/bash
#=======================================================================
# testDropbox.sh
# © Copyright IBM Corporation 2014.
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#=======================================================================
echo "hello world" > helloWorld.txt
curl -L https://www.opscode.com/chef/install.sh | bash