Tested Platform
- Debian 8 or higher from Digital Ocean
Attention: Before Execution
- First download this project and make all .sh files executable:
git clone https://github.com/mexsser/vps-init.git
cd vps-init
chmod +x ./*.sh
- Add your public key to ./publickey !!!
- Modify ./setup.sh to specify the new user name and password !!!
Execution
- Run as root
./setup.sh
Features available
- Add a non-root user(optional:add to sudo group) and set it as the only ssh login user
- Add swap space to your VPS
- Setup OpenVPN server
- Setup IPsec/L2TP server
- Install Docker CE
- Install Cloud-Torrent
- Install BaiduPCS-Go
- Install rclone to mount Googel Drive as a local disk
- Setup Node.js reverse proxy to use Netease Cloud Music out of China
To Do
- Install webhook to play with IFTTT
- Setup Nginx server and cert-bot
- Setup v2ray server
- Setup a mirror of google with ssl and basic authentication
- Setup MTProxy for Telegram client
Inspired by