Skip to content

Instantly share code, notes, and snippets.

View aortmannm's full-sized avatar

Adrian 'Ronny the fifth' Ortmann aortmannm

View GitHub Profile
@aortmannm
aortmannm / fifo.rb
Last active December 15, 2015 03:39
Fifo Recipe for installation in a Local Zone
## Write a new source in the pkgin config file
execute 'pkgin_config' do
command "echo 'http://release.project-fifo.net/pkg/#{node[:fifo][:release]}/' >>/opt/local/etc/pkgin/repositories.conf"
action :run
end
## Update the pkgin sources
execute 'update_pkgin' do
command 'pkgin -fy up'
action :run
@aortmannm
aortmannm / chunter.txt
Last active December 14, 2015 19:09
install chunter
cd /opt
curl -O http://release.project-fifo.net/chunter/rel/chunter-latest.gz
gunzip chunter-latest.gz
## you need to tyupe yes cause of the newest SmartOS Version
sh chunter-latest
@aortmannm
aortmannm / fifo.txt
Last active December 14, 2015 18:59
Fifo installation
echo "http://release.project-fifo.net/pkg/rel/" >>/opt/local/etc/pkgin/repositories.conf
pkgin -fy up
pkgin install snarl sniffle howl wiggle jingles haproxy
cp /opt/local/jingles/config/nginx.conf /opt/local/etc/nginx/nginx.conf
cp /opt/local/jingles/config/haproxy.cfg /opt/local/etc/haproxy.cfg
svcadm enable epmd snarl sniffle howl wiggle nginx haproxy
@aortmannm
aortmannm / npmjs.rb
Last active December 14, 2015 18:19
npmjs repository
## install couchdb package
package 'couchdb' do
version '1.2.0'
action :install
end
## download local.ini
cookbook_file '/opt/local/etc/couchdb/local.ini' do
source 'local.ini'
owner 'root'
@aortmannm
aortmannm / npmjs.txt
Last active December 14, 2015 18:19
npmjs reporitory
## Install CouchDB with all necessary packages
pkgin in couchdb
## /opt/local/etc/couchdb Edit the local.ini
[httpd]
secure_rewrites = false
## /opt/local/etc/couchdb edit the default.ini
bind_address = 0.0.0.0
@aortmannm
aortmannm / ubuntu.txt
Last active December 14, 2015 14:08
gitlabhq installation ubuntu
sudo apt-get update
sudo apt-get upgrade
## Install vim
sudo apt-get install -y vim
## Install required packages
sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server postfix checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev
## Install Python