-
Notifications
You must be signed in to change notification settings - Fork 0
/
luan.bat.sh
84 lines (40 loc) · 1.33 KB
/
luan.bat.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 192.168.42.129
route add 10.0.0.0 mask 255.0.0.0 10.8.28.254
pause
sudo apt-get update
sudo apt-get install shadowsocks-libev
ps -ef | grep shadowsocks-libev
cat /etc/shadowsocks-libev/config.json
sudo apt-get install curl
sudo curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt-get install -y nodejs
sudo apt install redis-server
sudo vim /etc/redis/redis.conf
supervised systemd
requirepass foobared
sudo systemctl status redis
sudo systemctl restart redis.service
sudo npm i -g shadowsocks-manager --unsafe-perm
mkdir .ssmgr .alipay
ssmgr -c /home/w/.ssmgr/ss.yml -r
sudo ssmgr -c /home/w/.ssmgr/mm.yml
nohup ssmgr -c /home/w/.ssmgr/ss.yml -r &
nohup sudo ssmgr -c /home/w/.ssmgr/mm.yml &
mi bluetooth neckband earphones
1 free -h
2 sync
3 echo 3 > /proc/sys/vm/drop_caches
4 free -h
5 free -h
6 free -h
7 exit
8 echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
9 echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
10 more /etc/sysctl.conf
11 sysctl -p
12 sysctl net.ipv4.tcp_available_congestion_control
13 lsmod | grep bbr
14 sysctl net.ipv4.tcp_congestion_control
15 lsmod | grep bbr
16 w