Skip to content

Instantly share code, notes, and snippets.

@sivel
Created Sep 18, 2014
Embed
What would you like to do?
Drone on RHEL6
sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install -y golang git mercurial make bzr
export GOPATH=~/Go
export PATH=$PATH:$GOPATH/bin
mkdir $GOPATH
go get github.com/drone/drone
cd $GOPATH/src/github.com/drone/drone
make deps
make vendor
make clean
make embed
make build-dist
sudo mkdir -p /var/cache/drone /var/lib/drone
sudo cp bin/{drone,droned} /usr/local/bin/
sudo cp deb/drone/etc/default/drone /etc/default
sudo cp deb/drone/etc/init/drone.conf /etc/init/
sudo sed -i '/console/d' /etc/init/drone.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment