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
1. Download from ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 | |
2. Untar and cd into vim-7.3/src | |
3. Configure | |
./configure --prefix=/Users/spencerward/bin --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-cscope | |
4. ./make | |
5. sudo make install | |
I have my $PATH setup so ~/bin ($HOME/bin) sits in front of everything else, so anything I put / install in there is picked up first in the path. I prefer not to install things in /usr/bin /usr/local/bin etc. |
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
#!/bin/bash | |
sudo bash <<EOF | |
dd if=/dev/zero of=/EMPTY bs=1M | |
rm /EMPTY | |
EOF |
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
vagrant@packer-basic:/var/log/cassandra$ sudo /opt/cassandra/bin/cassandra -f | |
xss = -ea -javaagent:/opt/cassandra/bin/../lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms245M -Xmx245M -Xmn61M -XX:+HeapDumpOnOutOfMemoryError -Xss180k | |
INFO 06:07:37,828 Logging initialized | |
INFO 06:07:37,862 JVM vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.7.0_25 | |
INFO 06:07:37,863 Heap size: 250544128/251592704 | |
INFO 06:07:37,865 Classpath: /opt/cassandra/bin/../conf:/opt/cassandra/bin/../build/classes/main:/opt/cassandra/bin/../build/classes/thrift:/opt/cassandra/bin/../lib/antlr-3.2.jar:/opt/cassandra/bin/../lib/apache-cassandra-1.2.8.jar:/opt/cassandra/bin/../lib/apache-cassandra-clientutil-1.2.8.jar:/opt/cassandra/bin/../lib/apache-cassandra-thrift-1.2.8.jar:/opt/cassandra/bin/../lib/avro-1.4.0-fixes.jar:/opt/cassandra/bin/../lib/avro-1.4.0-sources-fixes.jar:/opt/cassandra/bin/../lib/commons-cli-1.1.jar:/opt/cassandra/bin/../lib/commons-codec-1.2.jar:/opt/cassandra/bin/../lib/commons-lang |
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
vagrant@packer-docker:/docker/jenkins$ sudo su - root | |
root@packer-docker:~# ulimit -a | |
core file size (blocks, -c) 0 | |
data seg size (kbytes, -d) unlimited | |
scheduling priority (-e) 0 | |
file size (blocks, -f) unlimited | |
pending signals (-i) 15876 | |
max locked memory (kbytes, -l) unlimited | |
max memory size (kbytes, -m) unlimited | |
open files (-n) 32768 |
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
FROM ubuntu:12.10 | |
MAINTAINER Stuart King <stuartrexking@gmail.com> | |
RUN apt-get update | |
RUN apt-get -y install redis-server | |
EXPOSE 6379 | |
ENTRYPOINT ["/usr/bin/redis-server"] | |
CMD ["/etc/redis/redis.conf"] |
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
root@packer-docker:/docker/redis# docker run -i -t stuartrexking/redis bash | |
root@fc4fce182183:/# /usr/bin/redis-server /etc/redis/redis.conf | |
root@fc4fce182183:/# ps aux | |
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | |
root 1 0.1 0.0 18068 1984 ? S 21:48 0:00 bash | |
root 11 0.0 0.0 36628 1656 ? Ssl 21:49 0:00 /usr/bin/redis-server /etc/redis/redis.conf | |
root 14 0.0 0.0 15532 1124 ? R+ 21:49 0:00 ps aux | |
root@fc4fce182183:/# |
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
docker: After this operation, 248 MB of additional disk space will be used. | |
docker: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.8.0-27-generic amd64 3.8.0-27.40~precise3 [47.9 MB] | |
docker: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-3.8.0-27 all 3.8.0-27.40~precise3 [12.2 MB] | |
docker: Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-3.8.0-27-generic amd64 3.8.0-27.40~precise3 [1,009 kB] | |
docker: Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-generic-lts-raring amd64 3.8.0.27.27 [2,436 B] | |
docker: Get:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-generic-lts-raring amd64 3.8.0.27.27 [2,440 B] | |
docker: Fetched 61.1 MB in 16s (3,725 kB/s) | |
docker: Selecting previously unselected package linux-image-3.8.0-27-generic. | |
docker: (Reading database ... 51821 files and directories currently installed.) | |
docker: Unpacking linux-image-3.8.0- |
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
digitalocean: Adding debian:Buypass_Class_2_Root_CA.pem | |
digitalocean: Adding debian:Go_Daddy_Class_2_CA.pem | |
digitalocean: Adding debian:StartCom_Certification_Authority.pem | |
digitalocean: Adding debian:T-TeleSec_GlobalRoot_Class_3.pem | |
digitalocean: Adding debian:E-Guven_Kok_Elektronik_Sertifika_Hizmet_Saglayicisi.pem | |
digitalocean: Adding debian:Certum_Trusted_Network_CA.pem | |
digitalocean: Adding debian:COMODO_ECC_Certification_Authority.pem | |
digitalocean: done. | |
digitalocean: Setting up icedtea-6-jre-cacao:amd64 (6b27-1.12.6-1ubuntu0.13.04.2) ... | |
digitalocean: Setting up icedtea-6-jre-jamvm:amd64 (6b27-1.12.6-1ubuntu0.13.04.2) ... |
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
stuartrexking@builder:~$ sudo docker images | |
REPOSITORY TAG ID CREATED SIZE | |
antipodeanlabs/docker-registry latest 5b10623fa499 11 minutes ago 12.29 kB (virtual 636.2 MB) | |
ubuntu 12.04 8dbd9e392a96 4 months ago 131.5 MB (virtual 131.5 MB) | |
ubuntu 12.10 b750fe79269d 4 months ago 24.65 kB (virtual 180.1 MB) | |
ubuntu latest 8dbd9e392a96 4 months ago 131.5 MB (virtual 131.5 MB) | |
ubuntu precise 8dbd9e392a96 4 months ago 131.5 MB (virtual 131.5 MB) | |
ubuntu quantal b750fe79269d 4 months ago 24.65 kB (virtual 180.1 MB) | |
stuartrexking@builder:~$ |
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
root@packer-docker:/docker/nodejs# docker images | |
REPOSITORY TAG ID CREATED SIZE | |
ubuntu 12.10 b750fe79269d 4 months ago 24.65 kB (virtual 180.1 MB) | |
antipodeanlabs/nodejs latest baa176ab6678 14 seconds ago 47.76 MB (virtual 422.4 MB) | |
root@packer-docker:/docker/nodejs# docker tag baa176ab6678 index.antipodeanlabs.com/nodejs | |
root@packer-docker:/docker/nodejs# docker push index.antipodeanlabs.com/nodejs | |
Username: stuartrexking | |
Password: | |
Email: stuartrexking@gmail.com | |
Login Succeeded |