Quickly setup a debian server
pip install -r requirements.txt
fab -H root@hostip setup
Including:
- Common essentials like
git/zip/unzip/curl/wget/tmux
etc. - ntp service
- dotfiles from ichuan/dotfiles
- UTC timezone
- tuned
security/limits.conf
andsysctl.conf
- disable debian upgrade check
- bbr
- diable IPv6
fab -H host1 setup --what nodejs,docker
Available softwares:
- letsencrypt
- nodejs
- yarn
- mysql
- mariadb
- mongodb
- nginx
- redis
- docker
- solc
- mono
- go
- python
# install a swapfile of 1G
fab -H host2 setup-swap
# install a swapfile of 2G
fab -H host2 setup-swap --size 2