CentOS7一鍵安裝WireGuard服務端腳本

#!/bin/bash #判斷系統 if [ ! -e '/etc/redhat-release' ]; then echo "僅支持centos7" exit fi if [ -n "$(grep ' 6\.' /etc/redhat-release)" ] ;then echo "僅支持centos7" exit fi #更新內核 update_kernel(){ yum
相關文章
相關標籤/搜索