wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssr.sh && chmod +x ssr.sh && bash ssr.sh
Use the wget command to download the file. -N means not to download the file again unless it is newer than the local file, and --no-check-certificate means not to check the certificate.
After the download is complete, you can see the following interface. Follow the prompts to enter the port/password/encryption method/protocol/obfuscation and other parameters to complete the installation.
After the installation is complete, if you need to enter the service interface, enter the following command.
bash ssr.sh
After the installation is complete, it will be automatically set as a system service, so it supports using the service to start/stop and other operations, and also supports startup on boot.
service ssr start //start
service ssr stop //stop
service ssr restart //restart
service ssr status
ShadowsocksR supports UDP forwarding by default, and no additional settings are required on the server side.
This script has integrated the installation/uninstallation of ServerSpeeder (ReSpeeder), but whether it is supported or not, please refer to the Linux Supported Kernel List.