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 apt-get install -y autojump wget curl git software-properties-common zsh lrzsz | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
if grep -q "export SHELL=/bin/zsh" ~/.bashrc | |
then | |
echo -ne "\nexport SHELL=/bin/zsh" >> ~/.bashrc | |
echo -e "exec /bin/zsh -l" |
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 apt-get install -y autojump wget curl git software-properties-common zsh lrzsz | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
if grep -q "export SHELL=/bin/zsh" ~/.bashrc | |
then | |
echo "already exists" | |
else |
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 apt-get install -y autojump wget curl git software-properties-common zsh lrzsz | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
if grep -q "export SHELL=/bin/zsh" ~/.bashrc | |
then | |
echo "already exists" | |
else |
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 apt-get install -y autojump wget curl git software-properties-common zsh lrzsz | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
if grep -q "export SHELL=/bin/zsh" ~/.bashrc | |
then | |
echo "already exists" | |
else |
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 apt-get install -y autojump wget curl git software-properties-common zsh lrzsz | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
if grep -q "export SHELL=/bin/zsh" ~/.bashrc | |
then | |
echo "already exists" | |
else |
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
sudo apt-get install -y autojump wget curl git software-properties-common zsh lrzsz | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
if grep -q "export SHELL=/bin/zsh" ~/.bashrc | |
then | |
echo "already exists" | |
else | |
echo "export SHELL=/bin/zsh" | tee -a ~/.bashrc | |
echo "exec /bin/zsh -l" | tee -a ~/.bashrc |
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
sudo apt-get install -y --force-yes autojump wget curl git software-properties-common zsh lrzsz | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
if grep -q "export SHELL=/bin/zsh" ~/.bashrc | |
then | |
echo "already exists" | |
else | |
echo "export SHELL=/bin/zsh" | tee -a ~/.bashrc | |
echo "exec /bin/zsh -l" | tee -a ~/.bashrc |
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
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
echo "deb http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
sudo apt-get update | |
sudo apt-get install mongodb-org-shell |
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
sudo apt-get update | |
sudo apt-get install -y apt-transport-https ca-certificates | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo "deb https://mirrors.tuna.tsinghua.edu.cn/docker/apt/repo ubuntu-precise main" | sudo tee /etc/apt/sources.list.d/docker.list | |
sudo apt-get update && sudo apt-get install -y linux-image-generic-lts-trusty | |
sudo apt-get install docker-engine | |
sudo service docker 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
Java HotSpot(TM) 64-Bit Server VM (24.79-b02) for linux-amd64 JRE (1.7.0_79-b15), built on Apr 10 2015 11:34:48 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8) | |
Memory: 4k page, physical 16136236k(6924012k free), swap 3906556k(3892576k free) | |
CommandLine flags: -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:ErrorFile=/data/weblog/java/spy_service/hs_err_%p.log -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/weblog/java/spy_service -XX:InitialHeapSize=3221225472 -XX:LargePageSizeInBytes=134217728 -XX:MaxHeapSize=3221225472 -XX:MaxNewSize=1610612736 -XX:MaxTenuringThreshold=6 -XX:NewSize=1610612736 -XX:OldPLABSize=16 -XX:-OmitStackTraceInFastThrow -XX:PermSize=201326592 -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:ThreadStackSize=512 -XX:+UseCMSCompactAtFullCollection -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC | |
2017-06- |
OlderNewer