Skip to content

Instantly share code, notes, and snippets.

@jcpowermac
Last active August 29, 2015 14:01
Show Gist options
  • Save jcpowermac/e8e72c1b6a551f75c5cf to your computer and use it in GitHub Desktop.
Save jcpowermac/e8e72c1b6a551f75c5cf to your computer and use it in GitHub Desktop.
This guide is for individuals just want to get Hanlon installed and running quickly. We are using Ubuntu LTS 14.04 but should also work with previous releases.
Lets first install git, mongodb, dhcpd, tftpd, ipxe installed:
```bash
root@hanlon:/# apt-get install -y git make mongodb openjdk-7-jre-headless g++ isc-dhcp-server ipxe tftp tftpd curl
```
For Windows testing only
```bash
apt-get install samba apache2 -y
```
Configure tftpd
```bash
mkdir /tftpboot
chmod -R 777 /tftpboot
chown -R nobody /tftpboot
```
Create TFTP server configuration
```bash
cat > /etc/xinetd.d/tftp << EOF
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}
EOF
service xinetd reload
```
Copy ipxe files to tftpboot
```bash
cp /usr/lib/ipxe/* /tftpboot
```
To get pxelinux we can download it here:
```bash
wget https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.02.tar.gz
tar -zxvf syslinux-6.02.tar.gz --strip-components 3 -C /tftpboot syslinux-6.02/bios/core/pxelinux.0
tar -zxvf syslinux-6.02.tar.gz --strip-components 4 -C /tftpboot syslinux-6.02/bios/com32/menu/menu.c32
mkdir /tftpboot/pxelinux.cfg
cat > /tftpboot/pxelinux.cfg/default <<EOF
default menu.c32
prompt 0
menu title Hanlon Boot Menu
timeout 50
f1 help.txt
f2 version.txt
label hanlon-boot
menu label Automatic hanlon Node Boot
kernel ipxe.lkrn
append initrd=hanlon.ipxe
label boot-else
menu label Bypass hanlon
localboot 1
EOF
```
Configure DHCPd, remember to change based on your specific network...
```bash
cat > /etc/dhcp/dhcpd.conf << EOF
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
authorative;
option space ipxe;
option ipxe-encap-opts code 175 = encapsulate ipxe;
option ipxe.priority code 1 = signed integer 8;
option ipxe.keep-san code 8 = unsigned integer 8;
option ipxe.skip-san-boot code 9 = unsigned integer 8;
option ipxe.syslogs code 85 = string;
option ipxe.cert code 91 = string;
option ipxe.privkey code 92 = string;
option ipxe.crosscert code 93 = string;
option ipxe.no-pxedhcp code 176 = unsigned integer 8;
option ipxe.bus-id code 177 = string;
option ipxe.bios-drive code 189 = unsigned integer 8;
option ipxe.username code 190 = string;
option ipxe.password code 191 = string;
option ipxe.reverse-username code 192 = string;
option ipxe.reverse-password code 193 = string;
option ipxe.version code 235 = string;
option iscsi-initiator-iqn code 203 = string;
option ipxe.pxeext code 16 = unsigned integer 8;
option ipxe.iscsi code 17 = unsigned integer 8;
option ipxe.aoe code 18 = unsigned integer 8;
option ipxe.http code 19 = unsigned integer 8;
option ipxe.https code 20 = unsigned integer 8;
option ipxe.tftp code 21 = unsigned integer 8;
option ipxe.ftp code 22 = unsigned integer 8;
option ipxe.dns code 23 = unsigned integer 8;
option ipxe.bzimage code 24 = unsigned integer 8;
option ipxe.multiboot code 25 = unsigned integer 8;
option ipxe.slam code 26 = unsigned integer 8;
option ipxe.srp code 27 = unsigned integer 8;
option ipxe.nbi code 32 = unsigned integer 8;
option ipxe.pxe code 33 = unsigned integer 8;
option ipxe.elf code 34 = unsigned integer 8;
option ipxe.comboot code 35 = unsigned integer 8;
option ipxe.efi code 36 = unsigned integer 8;
option ipxe.fcoe code 37 = unsigned integer 8;
option ipxe.vlan code 38 = unsigned integer 8;
option ipxe.menu code 39 = unsigned integer 8;
option ipxe.sdi code 40 = unsigned integer 8;
option ipxe.nfs code 41 = unsigned integer 8;
option ipxe.no-pxedhcp 1;
option hanlon_server code 224 = ip-address;
option hanlon_port code 225 = unsigned integer 16;
option hanlon_base_uri code 226 = text;
subnet 192.168.66.0 netmask 255.255.255.0 {
range 192.168.66.200 192.168.66.210;
option domain-name "virtomation.com";
option routers 192.168.66.1;
next-server 192.168.66.254;
option tftp-server-name "192.168.66.254";
option domain-name-servers 192.168.66.1;
default-lease-time 600;
max-lease-time 7200;
option hanlon_server 192.168.66.254;
option hanlon_port 8026;
option hanlon_base_uri "/hanlon/api/v1";
if exists user-class and option user-class = "iPXE" {
filename "hanlon.ipxe";
} else {
filename "undionly.kpxe";
}
}
EOF
I am using RVM to get JRuby and Ruby:
```bash
\curl -sSL https://get.rvm.io | bash -s stable --ruby=jruby
source /usr/local/rvm/scripts/rvm
```
Since we are getting this up as quick as possible lets just use trinidad for now:
```bash
gem install bundler trinidad
```
Once that is complete clone the git repository locally
```bash
mkdir /opt/hanlon
cd /opt/hanlon
git clone https://github.com/csc/Hanlon.git .
```
Install the prerequisite gems
```bash
bundle install
```
Run hanlon_init and modify the configuration files
```bash
./hanlon_init
vi /opt/hanlon/web/conf/hanlon_server.conf
vi /opt/hanlon/cli/conf/hanlon_client.conf
```
Execute the run-tri.sh script
```bash
cd /opt/hanlon/script
./run-tri.sh
```
You can use ./cli/hanlon now with JRuby but it is incredibly slow so lets add Ruby.
Open a new terminal or SSH connection and run:
```bash
source /usr/local/rvm/scripts/rvm
cd /opt/hanlon
rvm install 1.9.3
rvm use ruby-1.9.3
```
And again run bundler
```bash
bundle install
```
If you have a requirement to install ESXi you will need to build iPXE with different configuration options, see https://github.com/csc/Hanlon/issues/46 for more details.
```bash
git clone git://git.ipxe.org/ipxe.git
```
Create the patch file...
```bash
cat > image_comboot.patch << EOF
diff -rupN org_ipxe/src/config/general.h ipxe/src/config/general.h
--- org_ipxe/src/config/general.h 2014-06-11 08:07:39.193081793 -0400
+++ ipxe/src/config/general.h 2014-06-10 15:15:30.628188405 -0400
@@ -111,7 +111,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#define IMAGE_PXE /* PXE image support */
//#define IMAGE_SCRIPT /* iPXE script image support */
//#define IMAGE_BZIMAGE /* Linux bzImage image support */
-//#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
+#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
//#define IMAGE_EFI /* EFI image support */
//#define IMAGE_SDI /* SDI image support */
//#define IMAGE_PNM /* PNM image support */
EOF
```
And finally patch.
```bash
patch -p0 < image_comboot.patch
```
We will need the Hanlon microkernel to get started...
```bash
wget https://github.com/csc/Hanlon-Microkernel/releases/download/v1.0/hnl_mk_prod-image.1.0.iso
```
Add the microkernel and ignore the bson_ext warning, _do_not_install_ bson_ext...
```bash
./cli/hanlon image add -t mk -p hnl_mk_prod-image.1.0.iso
** Notice: The native BSON extension was not loaded. **
For optimal performance, use of the BSON extension is recommended.
To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
and run the following command:
gem install bson_ext
If you continue to receive this message after installing, make sure that
the bson_ext gem is in your load path.
Attempting to add, please wait...
Image Added:
UUID => j2B1BswDUNPvGDQ1NXVaM
Type => MicroKernel Image
ISO Filename => hnl_mk_prod-image.1.0.iso
Path => /opt/hanlon/image/mk/j2B1BswDUNPvGDQ1NXVaM
Status => Valid
Version => 1.0
Built Time => 2014-05-21 21:37:12 -0400
```
Create the hanlon ipxe script.
```bash
./cli/hanlon config ipxe > /tftpboot/hanlon.ipxe
```
Lets install CentOS
Download the CentOS ISO...
```bash
wget http://reflector.westga.edu/repos/CentOS/6.5/isos/x86_64/CentOS-6.5-x86_64-minimal.iso
```
Add CentOS image to hanlon...
```bash
./cli/hanlon image add -t os -p CentOS-6.5-x86_64-minimal.iso -n CentOS65 -v 6.5
Attempting to add, please wait...
Image Added:
UUID => K3v2suiIkSYNEdx1CTKqs
Type => OS Install
ISO Filename => CentOS-6.5-x86_64-minimal.iso
Path => /opt/hanlon/image/os/K3v2suiIkSYNEdx1CTKqs
Status => Valid
OS Name => CentOS65
OS Version => 6.5
```
Create a model for a CentOS deployment...
```bash
./cli/hanlon model add -t centos_6 -l centos65-model -i K3v2suiIkSYNEdx1CTKqs
Model Created:
Label => centos65-model
Template => linux_deploy
Description => CentOS 6 Model
UUID => 2J5Vb2ztkks9pz1iLrCxks
Image UUID => K3v2suiIkSYNEdx1CTKqs
```
```bash
./cli/hanlon policy add --template=linux_deploy -l centos65-policy -m 2J5Vb2ztkks9pz1iLrCxks -t memsize_1GiB --enabled true
```
### BEGIN WINDOWS TESTING ###
cat > /etc/samba/smb.conf <<EOF
[hanlon]
browsable = true
read only = no
guest ok = yes
path = /opt/hanlon_cifs_share
EOF
cd /var/www/html
wget http://git.ipxe.org/releases/wimboot/wimboot-latest.zip
unzip -p wimboot-latest.zip wimboot-1.0.5/wimboot > wimboot
cat > /var/www/html/wimboot.ipxe <<EOF
#!ipxe
kernel wimboot
initrd media/bootmgr bootmgr
initrd media/Boot/BCD BCD
initrd media/Boot/Fonts/segmono_boot.ttf segmono_boot.ttf
initrd media/Boot/Fonts/segoe_slboot.ttf segoe_slboot.ttf
initrd media/Boot/Fonts/segoen_slboot.ttf segoen_slboot.ttf
initrd media/Boot/Fonts/wgl4_boot.ttf wgl4_boot.ttf
initrd media/Boot/boot.sdi boot.sdi
initrd boot.wim boot.wim
boot
EOF
### END WINDOWS ###
@jcpowermac
Copy link
Author

I never saw that error before.
This is what I have installed in 14.04:

accountsservice                 install
acpid                       install
adduser                     install
apache2                     install
apache2-bin                 install
apache2-data                    install
apparmor                    install
apport                      install
apport-symptoms                 install
apt                     install
apt-transport-https             install
apt-utils                   install
apt-xapian-index                install
aptitude                    install
aptitude-common                 install
at                      install
attr                        install
autoconf                    install
automake                    install
autotools-dev                   install
base-files                  install
base-passwd                 install
bash                        install
bash-completion                 install
bc                      install
bind9-host                  install
binutils                    install
biosdevname                 install
bison                       install
bsdmainutils                    install
bsdutils                    install
busybox-initramfs               install
busybox-static                  install
byobu                       install
bzip2                       install
ca-certificates                 install
ca-certificates-java                install
command-not-found               install
command-not-found-data              install
console-setup                   install
coreutils                   install
cpio                        install
cpp                     install
cpp-4.8                     install
crda                        install
cron                        install
curl                        install
dash                        install
dbus                        install
debconf                     install
debconf-i18n                    install
debianutils                 install
dh-python                   install
diffutils                   install
dmidecode                   install
dmsetup                     install
dnsutils                    install
dosfstools                  install
dpkg                        install
e2fslibs:amd64                  install
e2fsprogs                   install
ed                      install
eject                       install
ethtool                     install
file                        install
findutils                   install
fontconfig-config               install
fonts-dejavu-core               install
fonts-ubuntu-font-family-console        install
friendly-recovery               install
ftp                     install
fuse                        install
g++                     install
g++-4.8                     install
gawk                        install
gcc                     install
gcc-4.8                     install
gcc-4.8-base:amd64              install
gcc-4.9-base:amd64              install
genisoimage                 install
geoip-database                  install
gettext-base                    install
gir1.2-glib-2.0                 install
git                     install
git-man                     install
gnupg                       install
gpgv                        install
grep                        install
groff-base                  install
grub-common                 install
grub-gfxpayload-lists               install
grub-ipxe                   install
grub-pc                     install
grub-pc-bin                 install
grub2-common                    install
gzip                        install
hdparm                      install
hostname                    install
icedtea-7-jre-jamvm:amd64           install
ifupdown                    install
info                        install
init-system-helpers             install
initramfs-tools                 install
initramfs-tools-bin             install
initscripts                 install
insserv                     install
install-info                    install
installation-report             install
iproute2                    install
iptables                    install
iputils-ping                    install
iputils-tracepath               install
ipxe                        install
ipxe-qemu                   install
irqbalance                  install
isc-dhcp-client                 install
isc-dhcp-common                 install
isc-dhcp-server                 install
iso-codes                   install
java-common                 install
kbd                     install
keyboard-configuration              install
klibc-utils                 install
kmod                        install
krb5-locales                    install
landscape-common                install
language-pack-en                install
language-pack-en-base               install
language-selector-common            install
laptop-detect                   install
less                        install
libaccountsservice0:amd64           install
libacl1:amd64                   install
libaio1:amd64                   install
libapparmor-perl                install
libapparmor1:amd64              install
libapr1:amd64                   install
libaprutil1:amd64               install
libaprutil1-dbd-sqlite3:amd64           install
libaprutil1-ldap:amd64              install
libapt-inst1.5:amd64                install
libapt-pkg4.12:amd64                install
libarchive-extract-perl             install
libasan0:amd64                  install
libasn1-8-heimdal:amd64             install
libasprintf0c2:amd64                install
libatomic1:amd64                install
libattr1:amd64                  install
libaudit-common                 install
libaudit1:amd64                 install
libavahi-client3:amd64              install
libavahi-common-data:amd64          install
libavahi-common3:amd64              install
libbind9-90                 install
libbison-dev:amd64              install
libblkid1:amd64                 install
libboost-dev                    install
libboost-filesystem1.54.0:amd64         install
libboost-iostreams1.54.0:amd64          install
libboost-program-options1.54.0:amd64        install
libboost-system1.54.0:amd64         install
libboost-thread1.54.0:amd64         install
libboost1.54-dev                install
libbsd0:amd64                   install
libbz2-1.0:amd64                install
libc-bin                    install
libc-dev-bin                    install
libc6:amd64                 install
libc6-dev:amd64                 install
libcap-ng0                  install
libcap2:amd64                   install
libcap2-bin                 install
libcgmanager0:amd64             install
libck-connector0:amd64              install
libclass-accessor-perl              install
libcloog-isl4:amd64             install
libcomerr2:amd64                install
libcups2:amd64                  install
libcurl3:amd64                  install
libcurl3-gnutls:amd64               install
libcwidget3                 install
libdb5.3:amd64                  install
libdbus-1-3:amd64               install
libdbus-glib-1-2:amd64              install
libdebconfclient0:amd64             install
libdevmapper-event1.02.1:amd64          install
libdevmapper1.02.1:amd64            install
libdns100                   install
libdrm2:amd64                   install
libedit2:amd64                  install
libelf1:amd64                   install
libept1.4.12:amd64              install
liberror-perl                   install
libestr0                    install
libevent-2.0-5:amd64                install
libexpat1:amd64                 install
libffi-dev:amd64                install
libffi6:amd64                   install
libfile-copy-recursive-perl         install
libfontconfig1:amd64                install
libfreetype6:amd64              install
libfribidi0:amd64               install
libfuse2:amd64                  install
libgc1c2:amd64                  install
libgcc-4.8-dev:amd64                install
libgcc1:amd64                   install
libgck-1-0:amd64                install
libgcr-3-common                 install
libgcr-base-3-1:amd64               install
libgcrypt11:amd64               install
libgdbm-dev                 install
libgdbm3:amd64                  install
libgeoip1:amd64                 install
libgirepository-1.0-1               install
libglib2.0-0:amd64              install
libglib2.0-data                 install
libgmp10:amd64                  install
libgnutls-openssl27:amd64           install
libgnutls26:amd64               install
libgomp1:amd64                  install
libgoogle-perftools4                install
libgpg-error0:amd64             install
libgpm2:amd64                   install
libgssapi-krb5-2:amd64              install
libgssapi3-heimdal:amd64            install
libhcrypto4-heimdal:amd64           install
libhdb9-heimdal:amd64               install
libheimbase1-heimdal:amd64          install
libheimntlm0-heimdal:amd64          install
libhx509-5-heimdal:amd64            install
libidn11:amd64                  install
libio-string-perl               install
libisc95                    install
libisccc90                  install
libisccfg90                 install
libisl10:amd64                  install
libitm1:amd64                   install
libiw30:amd64                   install
libjpeg-turbo8:amd64                install
libjpeg8:amd64                  install
libjson-c2:amd64                install
libjson0:amd64                  install
libk5crypto3:amd64              install
libkdc2-heimdal:amd64               install
libkeyutils1:amd64              install
libklibc                    install
libkmod2:amd64                  install
libkrb5-26-heimdal:amd64            install
libkrb5-3:amd64                 install
libkrb5support0:amd64               install
liblcms2-2:amd64                install
libldap-2.4-2:amd64             install
libldb1:amd64                   install
liblocale-gettext-perl              install
liblockfile-bin                 install
liblockfile1:amd64              install
liblog-message-simple-perl          install
liblwres90                  install
liblzma5:amd64                  install
libmagic1:amd64                 install
libmodule-pluggable-perl            install
libmount1:amd64                 install
libmpc3:amd64                   install
libmpdec2:amd64                 install
libmpfr4:amd64                  install
libncurses5:amd64               install
libncurses5-dev:amd64               install
libncursesw5:amd64              install
libnewt0.52:amd64               install
libnfnetlink0:amd64             install
libnih-dbus1:amd64              install
libnih1:amd64                   install
libnl-3-200:amd64               install
libnl-genl-3-200:amd64              install
libnspr4:amd64                  install
libnss3:amd64                   install
libnss3-1d:amd64                install
libnss3-nssdb                   install
libntdb1:amd64                  install
libnuma1:amd64                  install
libp11-kit0:amd64               install
libpam-cap:amd64                install
libpam-modules:amd64                install
libpam-modules-bin              install
libpam-runtime                  install
libpam-systemd:amd64                install
libpam0g:amd64                  install
libparse-debianchangelog-perl           install
libparted0debian1:amd64             install
libpcap0.8:amd64                install
libpci3:amd64                   install
libpcre3:amd64                  install
libpcrecpp0:amd64               install
libpcsclite1:amd64              install
libpipeline1:amd64              install
libplymouth2:amd64              install
libpng12-0:amd64                install
libpod-latex-perl               install
libpolkit-agent-1-0:amd64           install
libpolkit-backend-1-0:amd64         install
libpolkit-gobject-1-0:amd64         install
libpopt0:amd64                  install
libprocps3:amd64                install
libpython-stdlib:amd64              install
libpython2.7:amd64              install
libpython2.7-minimal:amd64          install
libpython2.7-stdlib:amd64           install
libpython3-stdlib:amd64             install
libpython3.4-minimal:amd64          install
libpython3.4-stdlib:amd64           install
libquadmath0:amd64              install
libreadline5:amd64              install
libreadline6:amd64              install
libreadline6-dev:amd64              install
libroken18-heimdal:amd64            install
librtmp0:amd64                  install
libsasl2-2:amd64                install
libsasl2-modules:amd64              install
libsasl2-modules-db:amd64           install
libselinux1:amd64               install
libsemanage-common              install
libsemanage1:amd64              install
libsepol1:amd64                 install
libsigc++-2.0-0c2a:amd64            install
libsigsegv2:amd64               install
libslang2:amd64                 install
libsnappy1                  install
libsqlite3-0:amd64              install
libsqlite3-dev:amd64                install
libss2:amd64                    install
libssl-dev:amd64                install
libssl1.0.0:amd64               install
libstdc++-4.8-dev:amd64             install
libstdc++6:amd64                install
libsub-name-perl                install
libsystemd-daemon0:amd64            install
libsystemd-login0:amd64             install
libtalloc2:amd64                install
libtasn1-6:amd64                install
libtcmalloc-minimal4                install
libtdb1:amd64                   install
libterm-ui-perl                 install
libtevent0:amd64                install
libtext-charwidth-perl              install
libtext-iconv-perl              install
libtext-soundex-perl                install
libtext-wrapi18n-perl               install
libtimedate-perl                install
libtinfo-dev:amd64              install
libtinfo5:amd64                 install
libtool                     install
libtsan0:amd64                  install
libudev1:amd64                  install
libunwind8                  install
libusb-0.1-4:amd64              install
libusb-1.0-0:amd64              install
libustr-1.0-1:amd64             install
libuuid1:amd64                  install
libv8-3.14.5                    install
libwbclient0:amd64              install
libwind0-heimdal:amd64              install
libwrap0:amd64                  install
libx11-6:amd64                  install
libx11-data                 install
libxapian22                 install
libxau6:amd64                   install
libxcb1:amd64                   install
libxdmcp6:amd64                 install
libxext6:amd64                  install
libxml2:amd64                   install
libxmuu1:amd64                  install
libxtables10                    install
libyaml-0-2:amd64               install
libyaml-dev:amd64               install
linux-firmware                  install
linux-generic                   install
linux-headers-3.13.0-24             install
linux-headers-3.13.0-24-generic         install
linux-headers-generic               install
linux-image-3.13.0-24-generic           install
linux-image-extra-3.13.0-24-generic     install
linux-image-generic             install
linux-libc-dev:amd64                install
locales                     install
lockfile-progs                  install
login                       install
logrotate                   install
lsb-base                    install
lsb-release                 install
lshw                        install
lsof                        install
ltrace                      install
lvm2                        install
m4                      install
make                        install
makedev                     install
man-db                      install
manpages                    install
manpages-dev                    install
mawk                        install
memtest86+                  install
mime-support                    install
mlocate                     install
module-init-tools               install
mongodb                     install
mongodb-clients                 install
mongodb-dev                 install
mongodb-server                  install
mount                       install
mountall                    install
mtr-tiny                    install
multiarch-support               install
nano                        install
ncurses-base                    install
ncurses-bin                 install
ncurses-term                    install
net-tools                   install
netbase                     install
netcat-openbsd                  install
ntfs-3g                     install
ntpdate                     install
openjdk-7-jre-headless:amd64            install
openssh-client                  install
openssh-server                  install
openssh-sftp-server             install
openssl                     install
os-prober                   install
parted                      install
passwd                      install
patch                       install
pciutils                    install
perl                        install
perl-base                   install
perl-modules                    install
pkg-config                  install
plymouth                    install
plymouth-theme-ubuntu-text          install
policykit-1                 install
popularity-contest              install
powermgmt-base                  install
ppp                     install
pppconfig                   install
pppoeconf                   install
procps                      install
psmisc                      install
python                      install
python-apt                  install
python-apt-common               install
python-chardet                  install
python-configobj                install
python-crypto                   install
python-debian                   install
python-dnspython                install
python-gdbm                 install
python-ldb                  install
python-minimal                  install
python-ntdb                 install
python-openssl                  install
python-pam                  install
python-pkg-resources                install
python-requests                 install
python-samba                    install
python-serial                   install
python-six                  install
python-talloc                   install
python-tdb                  install
python-twisted-bin              install
python-twisted-core             install
python-urllib3                  install
python-xapian                   install
python-zope.interface               install
python2.7                   install
python2.7-minimal               install
python3                     install
python3-apport                  install
python3-apt                 install
python3-commandnotfound             install
python3-dbus                    install
python3-distupgrade             install
python3-gdbm:amd64              install
python3-gi                  install
python3-minimal                 install
python3-newt                    install
python3-problem-report              install
python3-pycurl                  install
python3-software-properties         install
python3-update-manager              install
python3.4                   install
python3.4-minimal               install
readline-common                 install
resolvconf                  install
rsync                       install
rsyslog                     install
run-one                     install
samba                       install
samba-common                    install
samba-common-bin                install
samba-dsdb-modules              install
samba-libs:amd64                install
samba-vfs-modules               install
screen                      install
sed                     install
sensible-utils                  install
sgml-base                   install
shared-mime-info                install
software-properties-common          install
sqlite3                     install
ssh-import-id                   install
ssl-cert                    install
strace                      install
sudo                        install
systemd-services                install
systemd-shim                    install
sysv-rc                     install
sysvinit-utils                  install
tar                     install
tasksel                     install
tasksel-data                    install
tcpd                        install
tcpdump                     install
tdb-tools                   install
telnet                      install
tftp                        install
tftpd                       install
time                        install
tmux                        install
tzdata                      install
tzdata-java                 install
ubuntu-keyring                  install
ubuntu-minimal                  install
ubuntu-release-upgrader-core            install
ubuntu-standard                 install
ucf                     install
udev                        install
ufw                     install
unattended-upgrades             install
update-inetd                    install
update-manager-core             install
update-notifier-common              install
upstart                     install
ureadahead                  install
usbutils                    install
util-linux                  install
uuid-runtime                    install
vim                     install
vim-common                  install
vim-runtime                 install
vim-tiny                    install
w3m                     install
watershed                   install
wget                        install
whiptail                    install
wireless-regdb                  install
wireless-tools                  install
wpasupplicant                   install
xauth                       install
xinetd                      install
xkb-data                    install
xml-core                    install
xz-utils                    install
zlib1g:amd64                    install
zlib1g-dev:amd64                install

And gems at least for jruby

root@virhanpaw001:~# gem list

*** LOCAL GEMS ***

activesupport (4.1.1)
atomic (1.1.16 java)
axiom-types (0.1.1)
base62 (1.0.0)
bouncy-castle-java (1.5.0147)
bson (1.9.2 java)
builder (3.2.2)
bundler (1.6.2)
bundler-unload (1.0.2)
coercible (1.0.0)
colored (1.2)
daemons (1.1.9)
descendants_tracker (0.0.4)
diff-lcs (1.2.5)
equalizer (0.0.9)
executable-hooks (1.3.2)
facter (2.0.1)
gem-wrappers (1.2.5)
grape (0.7.0)
grape-entity (0.4.2)
grape-swagger (0.7.2)
hashie (3.0.0)
i18n (0.6.9)
ice_nine (0.11.0)
jdbc-postgres (9.3.1101)
jruby-launcher (1.1.0 java)
jruby-openssl (0.9.3)
jruby-rack (1.1.14)
json (1.8.1 java, 1.8.0 java)
kramdown (1.3.3)
krypt (0.0.2.rc1)
krypt-core (0.0.2.rc1 universal-java)
krypt-provider-jdk (0.0.2.rc1)
logger (1.2.8)
macaddr (1.7.1)
minitest (5.3.4)
mongo (1.9.2)
multi_json (1.10.1)
multi_xml (0.5.5)
net-scp (1.2.1)
net-ssh (2.9.1)
rack (1.5.2)
rack-accept (0.4.5)
rack-mount (0.8.3)
rake (10.1.0)
rdoc (4.0.1)
require_all (1.3.2)
rspec (3.0.0)
rspec-core (3.0.0)
rspec-expectations (3.0.0)
rspec-mocks (3.0.1)
rspec-support (3.0.0)
rubygems-bundler (1.4.4)
rufus-scheduler (3.0.8)
rvm (1.11.3.9)
systemu (2.6.4)
thread_safe (0.3.4 java)
trinidad (1.4.6)
trinidad_jars (1.4.0)
tzinfo (1.2.1)
uuid (2.3.7)
virtus (1.0.2)

@ap1kenobi
Copy link

I switched to rbenv and it installs bins as opposed to compile locally. All is well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment