Skip to content

Instantly share code, notes, and snippets.

View yangbinnnn's full-sized avatar
🎯
Focusing

yangbinnnn

🎯
Focusing
View GitHub Profile
@yangbinnnn
yangbinnnn / start-mongo-replset.sh
Created February 9, 2017 02:01 — forked from leetreveil/start-mongo-replset.sh
Shell scripts to create a mongodb replica set and sharded cluster locally
#!/bin/bash
# shell script to create a simple mongodb replica set (tested on osx)
set -e
red=$(tput setaf 1)
green=$(tput setaf 2)
yellow=$(tput setaf 3)
default=$(tput sgr0)
@yangbinnnn
yangbinnnn / centos6.ks
Created May 10, 2016 08:38 — forked from kenjiskywalker/centos6.ks
CentOS 6.3 install on KVM from kickstart
# Kickstart file automatically generated by anaconda.
#version=RHEL6
install
rootpw --iscrypted [HASH PASSWORD]
text
keyboard us
lang en_US.UTF-8
selinux --disabled
timezone --utc Asia/Tokyo