docker pull teddysun/xray

Teddysun b96f4dc697 update Disk information 9 years ago
LICENSE cb59221e34 Initial commit 10 years ago
Readme.md 4620288e1e update Readme.md 9 years ago
backup.sh f1dceef971 update show more information 9 years ago
bench.sh b96f4dc697 update Disk information 9 years ago
l2tp.sh cce4a86762 update comment 9 years ago
pptp.sh a622d6beb1 Update get IP address method 10 years ago
unixbench.sh 8d894934d7 update download link 9 years ago

Readme.md

Some useful scripts

l2tp.sh

  • Description: Auto install L2TP VPN for CentOS6+/Debian7+/Ubuntu12+
  • Intro: https://teddysun.com/448.html

    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  |
    

bench.sh

  • Description: Auto test download & I/O speed script
  • Intro: https://teddysun.com/444.html

    Usage:
    
    | Option   | 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 need to modify the config at first
  • Backup MySQL/MariaDB all datebases & files and directories
  • Backups are encrypted with AES256-cbc with SHA1 message-digest
  • Auto transfer backup file to Google Drive (need install gdrive)
  • Auto delete Google Drive's remote file (option)

    Install gdrive step:
    
    For x86_64: 
    wget -O /usr/bin/gdrive http://dl.teddysun.com/files/gdrive-linux-x64
    chmod +x /usr/bin/gdrive
    
    For i386: 
    wget -O /usr/bin/gdrive http://dl.teddysun.com/files/gdrive-linux-386
    chmod +x /usr/bin/gdrive
    

unixbench.sh

pptp.sh(Deprecated)

Copyright (C) 2013-2016 Teddysun [email protected]