centos7一键升级python3
wget http://down.freenn.com/sh/python/python3.py
python python3.py
wget http://down.freenn.com/sh/python/python3.py
python python3.py
wget -O install.sh http://down.freenn.com/sh/bt/install_7.7.sh && bash install.sh
bash <(curl -fsSL http://down.freenn.com/sh/warp/warp.sh) menu
wget http://down.freenn.com/sh/speedtest/speedtest.py
chmod a+rx speedtest.py
./speedtest.py
先新建启动脚本/etc/systemd/system/vpnserver.service
[Unit]
Description=SoftEther VPN Server
After=network.target
[Service]
Type=forking
ExecStart=/root/vpnserver/vpnserver start
ExecStop=/root/vpnserver/vpnserver stop
[Install]
WantedBy=multi-user.target
然后就可以通过systemctl start vpnserver
启动了,并通过systemctl enable vpnserver
设置开机自启。