Giter Site home page Giter Site logo

2022's Introduction

2022script.sh

Installation

curl -OL https://github.com/loyess/2022/raw/main/2022script.sh
chmod +x 2022script.sh
./2022script.sh

Specify path install

curl -OL https://github.com/loyess/2022/raw/main/2022script.sh
chmod +x 2022script.sh
./2022script.sh --specifypi /etc/ss-rust

Uninstall

./2022script.sh --remove

Env variables

# Specify shadowsocks-rust install path
export SSRUST_ROOT_DIR='/etc/rustss2022'

# Specify shadowsocks-rust install version
export SSRUST_VERSION='1.15.0-alpha.5'

Note: Env variables are specified before the script is run. eg: export SSRUST_ROOT_DIR='/etc/rustss2022' && ./2022script.sh If the SSRUST_ROOT_DIR path is not specified, it will be installed in the rustss2022 directory under the current path.

Encryption method

Shadowsocks-rust Ciphers: 

  1. none
  2. plain
  3. aes-256-gcm
  4. aes-128-gcm
  5. chacha20-ietf-poly1305
  6. 2022-blake3-aes-128-gcm
  7. 2022-blake3-aes-256-gcm
  8. 2022-blake3-chacha20-poly1305

Please select an encryption method (deafult: 2022-blake3-aes-128-gcm):

Help information

root@debian:~# ./2022script.sh -h
 ____   ___ ____  ____    ____            _       _   
|___ \ / _ \___ \|___ \  / ___|  ___ _ __(_)_ __ | |_ 
  __) | | | |__) | __) | \___ \ / __| '__| | '_ \| __|
 / __/| |_| / __/ / __/   ___) | (__| |  | | |_) | |_ 
|_____|\___/_____|_____| |____/ \___|_|  |_| .__/ \__|
                                           |_|        

Usage: 
  ./2022script.sh [OPTIONS...] [ARGS...]

Options: 
  -i  --install            Install ss-rust
  -r  --remove             Remove ss-rust
  -f  --cover              Cover install ss-rust
  -p  --specifypi          Specify path install ss-rust
  -u  --update-script      Update script
  -l  --log                Show log information
  -c  --config             Show config information
  -s  --url-scheme         Show url-scheme information
  -st --start              Start ss-rust
  -sp --stop               Stop ss-rust
  -rt --restart            Restart ss-rust
  -ss --status             Show ss-rust status
  -b  --bbr                Enable bbr
  -fw --firewall           Config firewall manual mode
  -v  --version            Show script version number
  -h  --help               Show this help

Source: https://github.com/loyess/2022
BBR-Source: https://github.com/teddysun/across

About firewall

This script only simply handles the firewall settings. If you can't connect to the server after installation, please open the port yourself.

Note: Only Linux servers with architectures amd64|x86_64 and armv8|aarch64 launched by the Systemd management application are supported.

Links

2022's People

Contributors

loyess avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.