翻牆 | trojan一鍵安裝



trojan最新官方腳本伺服器端一鍵安裝,安全無後門。
使用 certbot 證書機器人自動申請 letsencrypt 證書。
本教程安裝不限制操作系統,可以使用除了 Debian 的其他操作系統。

Trojan 在線文檔
https://trojan-gfw.github.io/trojan

Trojan 各種平台上的安裝指南
https://github.com/trojan-gfw/trojan/wiki/Binary-&-Package-Distributions
友情提醒:如果你在 Windows 上安裝 Trojan 客戶端,請先下載 vc_redist.x64.exe,然後安裝的客戶端才可以正常打開。具體請看 Windows 安裝指南這一節。

Certbot 證書機器人官網
https://certbot.eff.org/、

▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬
本視頻用到的命令

1. 使用證書機器人 certbot 申請 letsencrypt 證書
# wget https://dl.eff.org/certbot-auto -P /usr/local/bin
# chmod a+x /usr/local/bin/certbot-auto
# certbot-auto certonly –standalone -d tro1.appletrees.cn -d tro2.appletrees.cn –email [email protected]

2. trojan啟動/關閉/查看運行狀態/開機啟動 命令
# systemctl start trojan
# systemctl stop trojan
# systemctl status trojan
# systemctl enable trojan

3. 三個月後,證書會過期,需要用證書機器人重新更新下證書
# certbot-auto renew

4. 查看 debian 操作系統的版本
# cat /etc/debian_version

▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬
歡迎訂閱頻道
https://www.youtube.com/channel/UCgo7XWK6MQBgKt0gBI6x3CA?sub_confirmation=1

技術交流互動電報群
t.me/shinianlaocheng .

5 comments
  1. 我建議如果是老鳥,以前裝過v2ray這些,可以把證書保存下來,就不用每次都重新申請了。經常有人由於安裝問題,反覆安裝多次申請,結果申請證書頻率過高,不能再申請了。

  2. 您好,請教您,出現:-bash: /usr/local/bin/certbot-auto: Permission denied是什麼原因呢?如何處理?我按您的講解進行到這一步時無法繼續了,能否麻煩您給點指導?非常感謝

Comments are closed.