Set Up Shadowsocks on Vultr with Ruisu Crack or Google BBR Acceleration

1. Purchase Vultr and deploy a server (CentOS 7 or 6 or Debian)

Registration link

http://www.vultr.com/?ref=7049441-3B

2. Enter the terminal

1. Connect to the server via ssh

ssh [email protected]server address

And enter the password

2. Install Shadowsocks on the server:

2.1 For CentOS, follow the steps below (skip for Debian)

vi /etc/yum.repos.d/CentOS-Base.repo

Go to the end and change enable=0 to 1

2.2 Enter the following code line by line:

wget –no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh

chmod +x shadowsocks.sh

./shadowsocks.sh 2>&1 | tee shadowsocks.log

Then set the password and port. Finally, the deployment information will be displayed, so write it down.

You can choose either 3 or 4
3. Install the cracked version of Ruisu

3.1 Change the CentOS kernel (skip this step for Debian):

rpm -ivh http://soft.91yun.org/ISO/Linux/CentOS/kernel/kernel-3.10.0-229.1.2.el7.x86_64.rpm --force

Check whether it was successful:

rpm -qa | grep kernel

Reboot:

reboot

Check the current kernel:

uname -r

3.2 Install Ruisu

wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/serverspeeder/master/serverspeeder-all.sh && bash serverspeeder-all.sh

You may be prompted about the kernel version; just choose the closest version.

If you need to uninstall Ruisu:

chattr -i /serverspeeder/etc/apx* && /serverspeeder/bin/serverSpeeder.sh uninstall -f

4. Use Google BBR
Instructions: (quoted from https://teddysun.com/489.html)
Log in as the root user and run the following commands:

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh

After the installation is complete, the script will prompt you to reboot the VPS. Enter y
and press Enter to reboot. After the reboot is complete, log back into the
VPS and verify whether the latest kernel was installed successfully and TCP
BBR has been enabled by running the following command:

uname -r

Check the kernel version. If it contains 4.12, that means it’s OK.
Below is the verification for each parameter:

sysctl net.ipv4.tcp_available_congestion_control

The returned value is generally:

net.ipv4.tcp_available_congestion_control = bbr cubic reno

sysctl net.ipv4.tcp_congestion_control

The returned value is generally:

net.ipv4.tcp_congestion_control = bbr

sysctl net.core.default_qdisc

The returned value is generally:

net.core.default_qdisc = fq

lsmod | grep bbr

If the returned value includes the tcp_bbr module, it means BBR has been enabled.

Kernel upgrade method
If you are using a CentOS system, run the following command to upgrade the kernel:

yum --enablerepo=elrepo-kernel -y install kernel-ml kernel-ml-devel

For CentOS 6, run:

sed -i 's/^default=.*/default=0/g' /boot/grub/grub.conf

For CentOS 7, run:

grub2-set-default 0

If you are using a Debian/Ubuntu
system, you need to manually download and install the latest kernel to upgrade. Go here to download the latest kernel deb installation package.
If the system is 64-bit, download the amd64 linux-image deb package that contains
generic;
If the system is 32-bit, download the i386 linux-image deb package that contains
generic; the installation command is as follows (using the latest 64-bit
4.12.4 as an example only; please replace it with the deb package you downloaded):

dpkg -i linux-image-4.12.4-041204-generic_4.12.4-041204.201707271932_amd64.deb

After the installation is complete, run the following command:

/usr/sbin/update-grub

Finally, just reboot the VPS.

Author: Micro
Link: http://www.jianshu.com/p/edfa164b22df
Source: Jianshu
The copyright belongs to the author. For commercial reprints, please contact the author for authorization; for non-commercial reprints, please indicate the source.

Leave a Comment

Your email address will not be published. Required fields are marked *

中文 EN
🚀

RedGate VPN

免费节点太挤太慢?
升级高速稳定专线

立即体验 →

告别卡顿

RedGate VPN
全球高速节点

免费下载 →
Scroll to Top