一键安装FinalSpeed
rm -f install_fs.sh
wget http://fs.d1sm.net/finalspeed/install_fs.sh
chmod +x install_fs.sh
./install_fs.sh 2>&1 | tee install.log
卸载
sh /fs/stop.sh ; rm -rf /fs
停止
sh /fs/stop.sh
重新启动
sh /fs/restart.sh; tail -f /fs/server.log
查看日志
tail -f /fs/server.log
设置服务端口
默认udp 150和tcp 150 ,修改端口后服务端会自动修改防火墙.
linux版:
mkdir -p /fs/cnf/ ; echo 端口号 > /fs/cnf/listen_port ; sh /fs/restart.sh
windows 版:
在cnf目录下新建文件listen_port,文件内容为端口号.
注意:由于finalspeed的工作原理,不要开放finalspeed所使用的tcp端口.
设置开机启动
chmod +x /etc/rc.local
vi /etc/rc.local
加入
sh /fs/start.sh
每天晚上3点自动重启
crontab -e
加入
0 3 * * * sh /fs/restart.sh