Skip to content

tigeratgithub/tigerscript

Repository files navigation

tigerscript

some script for setup env

设置拥塞控制算法为bbr

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/tigeratgithub/tigerscript/main/enable_bbr.sh)"

或者 简单版本

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/tigeratgithub/tigerscript/main/simple_bbr.sh)"

xrdp-xfce.sh

xfce4 + xrdp

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/tigeratgithub/tigerscript/main/xrdp-xfce.sh)"

install docker

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/tigeratgithub/tigerscript/main/docker_install.sh.sh)"

mqtt证书更新脚本

# 全量参数
sudo ./renew-mqtt-cert.sh dns=dev.mqtt.com dir=/opt/mosquitto/config/certs cname=mosquitto
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/tigeratgithub/tigerscript/main/renew-mqtt-cert.sh)" -- dns=dev.mqtt.com dir=/opt/mosquitto/config/certs cname=mosquitto

# 只传域名(其他使用脚本内的默认值)
sudo ./renew-mqtt-cert.sh dns=iot.myserver.com
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/tigeratgithub/tigerscript/main/renew-mqtt-cert.sh)" -- dns=iot.myserver.com

# 改变顺序
sudo ./renew-mqtt-cert.sh cname=my_broker dns=mqtt.xyz.com
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/tigeratgithub/tigerscript/main/renew-mqtt-cert.sh)" -- cname=my_broker dns=mqtt.xyz.com

restart gnome-remote-desktop.service

# sudo systemctl restart gnome-remote-desktop.service
systemctl --user restart gnome-remote-desktop.service
sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/tigeratgithub/tigerscript/main/restart_gnome_remote_desktop.sh)"

About

some script for setup env

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages