購買Cloudcone搭建VPS步驟(CentOS)

基本操作命令

  • 包括--pid-file ss1.pid

0x00 選擇價(jià)位

  • 以促銷信息為準(zhǔn)(2$/Mon)


    創(chuàng)建界面
  • Networking中開啟IPv6
  • 原始密碼會(huì)發(fā)郵件,可以在Access中重新獲取
  • 使用Xshell連接服務(wù)器,輸入IP/root/初始密碼
  • 修改原始密碼
passwd
#輸入密碼兩次

0x01 安裝ss

#安裝更新pip
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
pip install --upgrade pip
#安裝ss
pip install shadowsocks

#設(shè)置ss配置文件
vi /etc/shadowsocks.json

#輸入
{
"server":"::",
"port_password":{
"8388":"19951006",
"8366":"19950805"
},
"timeout":300,
"method":"aes-256-cfb"
}

0x02 設(shè)置啟動(dòng)

  • 后臺(tái)啟動(dòng)
ssserver -c /etc/shadowsocks.json -d start
  • 腳本啟動(dòng)
vim /etc/systemd/system/shadowsocks.service
#輸入
[Unit]
Description=Shadowsocks

[Service]
TimeoutStartSec=0
ExecStart=/usr/bin/ssserver -c /etc/shadowsocks.json

[Install]
WantedBy=multi-user.target

之后就可以使用

systemctl enable shadowsocks
systemctl start shadowsocks

#查看服務(wù)的狀態(tài)
systemctl status shadowsocks -l

啟動(dòng)ss

  • 防火墻
    確認(rèn)服務(wù)啟動(dòng)成功后,配置防火墻規(guī)則,開放你配置的端口:
firewall-cmd --zone=public --add-port=8388/tcp --permanent
firewall-cmd --zone=public --add-port=8366/tcp --permanent
firewall-cmd --reload

0x03 開啟BBR

選擇系統(tǒng)CentOS 7.5 Server - 64 Bit (Latest Kernel + BBR) 默認(rèn)使用BBR

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容