some useful tools in this box.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MongoDB add mongod config file Jan 19, 2017
docker-compose feat: mount pg data Jun 8, 2018
nginx add supervisor shadowsocks config Jan 4, 2017
supervisor add supervisor shadowsocks config Jan 4, 2017
.gitignore feat: mount pg data Jun 8, 2018
LICENSE
README.md docs: add Jenkins and Sentry Mar 26, 2018
SetDNS.sh feat: add SetDNS Oct 19, 2017
backup-private-config.py update backup script Aug 14, 2017
disable-transparent-hugepages.sh feat: add v2ex auto sign script. Mar 12, 2017
format-image-filename.py process microMsg. type Mar 26, 2017
restart-sogou-input.sh feat: add restart sogou input Jun 19, 2017
set-npm-mirror.sh docs: add set npm mirror Mar 25, 2018
set-pypi-mirror.sh docs: adjuct pypi mirror script Apr 14, 2018
ubuntu-disable-transparent-hugepages.sh feat: set shebang Jul 20, 2017
ubuntu-enable-BBR.sh feat: set shebang Jul 20, 2017
ubuntu-install-mongo-ce.sh feat: set shebang Jul 20, 2017
ubuntu-install-nginx-stable.sh feat: nginx use https Apr 4, 2018
ubuntu-set-aliyun-mirror.sh feat: use https url Apr 3, 2018
ubuntu-set-timezone-to-shanghai.sh feat: set shebang Jul 20, 2017
ubuntu-xenial-support-zh-hans.sh
v2ex_auto_sign.py code format Mar 26, 2017

README.md

toolbox

  • some useful scripts.
  • some configuration files.

Description Script Usage
Ubuntu使用国内DNS(腾讯DNSPod, 阿里DNS) SetDNS.sh curl -sSL https://raw.githubusercontent.com/ldsink/toolbox/master/SetDNS.sh | sudo sh
Ubuntu关闭THP ubuntu-disable-transparent-hugepages.sh curl -sSL https://raw.githubusercontent.com/ldsink/toolbox/master/ubuntu-disable-transparent-hugepages.sh | sudo sh
Ubuntu开启BBR(linux kernel 4.9+) ubuntu-enable-BBR.sh curl -sSL https://raw.githubusercontent.com/ldsink/toolbox/master/ubuntu-enable-BBR.sh | sudo sh
Ubuntu安装MongoDB CE ubuntu-install-mongo-ce.sh curl -sSL https://raw.githubusercontent.com/ldsink/toolbox/master/ubuntu-install-mongo-ce.sh | sudo sh
Ubuntu安装Nginx Stable ubuntu-install-nginx-stable.sh curl -sSL https://raw.githubusercontent.com/ldsink/toolbox/master/ubuntu-install-nginx-stable.sh | sudo sh
Ubuntu使用阿里源 ubuntu-set-aliyun-mirror.sh curl -sSL https://raw.githubusercontent.com/ldsink/toolbox/master/ubuntu-set-aliyun-mirror.sh | sudo bash
设置PyPI源(默认阿里,支持豆瓣) set-pypi-mirror.sh curl -sSL https://raw.githubusercontent.com/ldsink/toolbox/master/set-pypi-mirror.sh | sh
设置npm淘宝源 set-npm-mirror.sh curl -sSL https://raw.githubusercontent.com/ldsink/toolbox/master/set-npm-mirror.sh | sh
v2ex自动签到 v2ex_auto_sign.py append to crontab 20 */8 * * * /path/to/v2ex_auto_sign.py <username> <password> >> /var/log/v2ex_sign.log

docker-compose

  • Redis Standalone
  • PostgreSQL Standalone
  • Jenkins LTS
  • Sentry