Vagrant uses Virtualbox to manage the virtual dependencies. You can directly download virtualbox and install or use homebrew for it.
$ brew cask install virtualbox
Now install Vagrant either from the website or use homebrew for installing it.
yum -y remove java | |
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo | |
rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key | |
yum -y install jenkins java | |
service jenkins start | |
chkconfig jenkins on |
yum -y install perl |
#!/usr/bin/env bash | |
if [[ $(whoami) != "root" ]]; then | |
echo "ERROR: must be run as root" | |
exit 1 | |
fi | |
cd /tmp | |
curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
python get-pip.py |
setup-x86_64.exe ^ | |
--no-desktop ^ | |
--quiet-mode ^ | |
--disable-buggy-antivirus ^ | |
--upgrade-also ^ | |
--packages ^ | |
curl,^ | |
git,^ | |
openssh,^ | |
rsync,^ |
Feature: FizzBuzzKata | |
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number | |
and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz". | |
Sample output: | |
1 | |
2 | |
Fizz |
#!/usr/bin/env bash | |
## Instructions based on https://books.sonatype.com/nexus-book/reference3/install.html | |
## Oracle JDK | |
JDK_RPM_VERSION=8u102 | |
JDK_BUILD=14 | |
JDK_ARCH=x64 | |
## Version 3 - supports Docker NuGet npm Bower |
@echo off | |
echo %COMPUTERNAME% >> C:\temp\test.log | |
date /t >> C:\temp\test.log | |
time /t >> C:\temp\test.log |
sysctl -n machdep.cpu.brand_string | |
df -h | |
ifconfig | |
sysctl -n hw.physicalcpu | |
sysctl -n hw.logicalcpu | |
sw_vers -productVersion | |
diskutil list |
yum -y upgrade ca-certificates |