Teddy的脚本合集
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Teddysun e4da9f44ed
Merge pull request #36 from bosscoder/patch-1
3 weeks ago
docker Update README.md 2 months ago
LICENSE Initial commit 3 years ago
Readme.md Update Readme.md 9 months ago
backup.sh Fixed bind: Address already in use problem when use ftp command 1 month ago
bbr.sh Update comments 1 month ago
bench.sh Fixed docker image problem 6 months ago
ftp_upload.sh Update comments 1 year ago
kms Initial commit 9 months ago
kms-debian Initial commit 9 months ago
kms.sh Fixed script bug 3 weeks ago
l2tp.sh Update download url 1 month ago
pptp.sh update pptpd version 1 year ago
unixbench.sh Update comments change download URL 1 month ago

Readme.md

Some useful scripts

l2tp.sh

  • Description: Auto install L2TP VPN for CentOS6+/Debian7+/Ubuntu12+
  • Intro: https://teddysun.com/448.html ```bash Usage: l2tp [-l,--list|-a,--add|-d,--del|-m,--mod|-h,--help]
Bash Command Description
l2tp -l,--list List all users
l2tp -a,--add Add a user
l2tp -d,--del Delete a user
l2tp -m,--mod Modify a user password
l2tp -h,--help Print this help information

bbr.sh
======

- Description: Auto install latest kernel for TCP BBR
- Intro: https://teddysun.com/489.html

kms.sh
======

- Description: Auto install KMS Server
- Intro: https://teddysun.com/530.html

bench.sh
========

- Description: Auto test download & I/O speed script
- Intro: https://teddysun.com/444.html
```bash
Usage:

| No.      | Bash Command                    |
|----------|---------------------------------|
| 1        | wget -qO- bench.sh | bash       |
| 2        | curl -Lso- bench.sh | bash      |
| 3        | wget -qO- 86.re/bench.sh | bash |
| 4        | curl -so- 86.re/bench.sh | bash |

backup.sh

  • You must modify the config before run it
  • Backup MySQL/MariaDB/Percona datebases, files and directories
  • Backup file is encrypted with AES256-cbc with SHA1 message-digest (option)
  • Auto transfer backup file to Google Drive (need install gdrive command) (option)
  • Auto transfer backup file to FTP server (option)
  • Auto delete Google Drive’s or FTP server’s remote file (option)
  • Intro: https://teddysun.com/469.html
Install gdrive command step:

For x86_64: 
wget -O /usr/bin/gdrive http://dl.lamp.sh/files/gdrive-linux-x64
chmod +x /usr/bin/gdrive

For i386: 
wget -O /usr/bin/gdrive http://dl.lamp.sh/files/gdrive-linux-386
chmod +x /usr/bin/gdrive

ftp_upload.sh

unixbench.sh

pptp.sh(Deprecated, DO NOT USE)

Copyright © 2013-2018 Teddysun i@teddysun.com