Last active
December 31, 2015 13:39
-
-
Save chicks/7994589 to your computer and use it in GitHub Desktop.
Sugar Development with Jenkins CI and GitHub (CentOS 6.5)
This file contains 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
# Install stuff we need to build git | |
sudo yum groupinstall "Development Tools" | |
sudo yum install zlib-devel perl-ExtUtils-MakeMaker asciidoc xmlto openssl-devel | |
# Download, unpack, prep | |
cd ~ | |
wget -O git.zip https://github.com/git/git/archive/master.zip | |
unzip git.zip | |
cd git-master | |
# Build | |
make configure | |
./configure --prefix=/usr/local | |
make all doc | |
sudo make install install-doc install-html | |
This file contains 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
# Make sure we're using a compatible java | |
yum remove java | |
yum install java-1.6.0-openjdk wget | |
# Install Jenkins | |
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo | |
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key | |
sudo yum install jenkins | |
# Enable Jenkins at boot, and start it up | |
chkconfig jenkins on | |
service jenkins start |
This file contains 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
# Install a compiler and curl | |
sudo yum groupinstall "Development Tools" | |
# Install RVM | |
sudo yum install curl | |
curl -L get.rvm.io | bash -s stable | |
# Add root to rvm group | |
vi /etc/group | |
# Logout | |
exit | |
# Login and check rvm | |
rvm info | |
# Install Ruby 1.9.3 | |
rvm install 1.9.3 | |
# Install Vagrant | |
sudo gem install vagrant | |
# Install VirtualBox Repo | |
sudo curl http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo > /etc/yum.repos.d/virtualbox.repo | |
# Install VirtualBox | |
sudo yum install VirtualBox-4.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment