windows 部署SS server 出現的錯誤.

來源:互聯網
上載者:User

標籤:ssl   令行   and   man   round   後台運行   you   json   提示   

安裝過程:

1.Download and install Python for Windows, you can download x86-64 MSI installer in 64bit Windows.2.During installation you should install pip3.Install OpenSSL for Windows. If you installed 64bit Python, you should install 64bit OpenSSL.4.Install shadowsocks like Linux. In Command Prompt, type command line pip install shadowsocks5.If you want to use salsa20 or chacha20 encryption, download libsodium and put dll files (without path) into C:\Windows\System32 or C:\Windows\SysWOW64 (32bit Python on 64bit Windows). 

 

可以用設定檔啟動或者命令列參數方式啟動.分別為

ssserver -p 443 -k password -m aes-256-cfbssserver -c /etc/shadowsocks.json

 

當然也可以後台運行

ssserver -c /etc/shadowsocks.json -d startssserver -c /etc/shadowsocks.json -d stop

 

 

安裝過程中遇到的問題.

1.安裝OpenSSL後沒有環境變數

添加:   path:C:\OpenSSL-Win64\bin

2.啟動ss遇到的問題

報錯:

EVP_CIPHER_CTX_cleanup

原因是因為OpenSSL 丟棄了EVP_CIPHER_CTX_cleanup函數,改為 EVP_CIPHER_CTX_reset

根據提示: C:\Python27\Lib\site-packages\shadowsocks\crypto\openssl.py 檔案搜尋 EVP_CIPHER_CTX_cleanup 改為 EVP_CIPHER_CTX_reset ,共2處;

3.連接埠衝突

檢查連接埠佔用

 

 

 

總結~ windows下部署ss感覺挺麻煩~  

沒用用SSR的主要原因是因為SSR貌似還必須安裝MYSQL~~~更加麻煩. 懶得弄了.

windows 部署SS server 出現的錯誤.

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.