#004最堅挺出國方式v2ray+websocket+cdn+tls系列教程之四:Ngnix、v2ray的安裝和配置



圖文教程:
https://jeanniestudio.github.io/2020/02/15/%E6%9C%80%E5%9D%9A%E6%8C%BA%E5%87%BA%E5%9B%BD%E6%96%B9%E5%BC%8F%EF%BC%9Av2ray+CDN+Ngnix+websocket/

使用Winscp連接VPS教程:
https://jeanniestudio.github.io/2020/02/14/%E4%BD%BF%E7%94%A8WINSCP%E8%BF%9E%E6%8E%A5VPS%E6%95%99%E7%A8%8B–%E4%B8%80%E9%94%AE%E8%84%9A%E6%9C%AC/

我的電報群:https://t.me/jeannieStudioGroup

#001原理分析:https://youtu.be/WXrEWMkjGNE

#002域名註冊與購買:https://youtu.be/VZJF-POGKVU

#003實例創建、域名託管與解析:https://youtu.be/YvyMHNxapV0

#004Ngnix、v2ray的安裝和配置:https://youtu.be/pyNlzTIMUTc

#005PC端、IOS端、安卓端配置:https://youtu.be/N5d3p2jmVKw

30 comments
  1. 你好Jeannie,nginx可以連接我們VPS。但是通過連上winscp了改完後,連接我自己的域名發生問題,cloud弗拉熱working,You brower working, host這裡Error。不知道是什麼原因了?Error 521謝謝

  2. 在安裝證書和密鑰安裝時.出現-bash: $: command not found, 我把$去掉,安裝成功,但在修改Ngnix配置後,重啟不成功:Failed to start A high performance web server and a

    reverse proxy server.

  3. 給姐姐一個建議,如果此教程面向小白,顯得有些過於複雜,那樣新手看到這個視頻的長度,就覺得很複雜就不想自己搭建了,不如直接買個機場,且視頻內容有很多是程序員才懂得東西,而對於懂的人來說又有很多東西是浪費時間的,而這兩條就會導致你的視頻播放量不高。所以視頻的面向群體可能需要先定位好

  4. 姐姐··修改default保存刷新後`重啟一下Ngnix才可以?我不小心退出了SSH 從新打開一個新頁面輸入什麼命令才能重啟?直接systemctl restart nginx

    不成功!是不是還需要得加點指令命令?

  5. 所有步驟按照教程都做了,打開域名HTTPS也是正確的,可就是v2ray服務無法啟動,,,教程仔細核對了,該做的都做了啊? 啟動不了V2RAY

  6. root@debian-9:~# service v2ray status

    ● v2ray.service – V2Ray Service

    Loaded: loaded (/etc/systemd/system/v2ray.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Sun 2020-02-23 05:55:05 CST; 9s ago

    Process: 806 ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json (code=exited, status=23)

    Main PID: 806 (code=exited, status=23)
    是不是腳本的模板有問題?

  7. 我是小白, win10系統,可以用谷歌,在您的圖文教程里第一打開BBR就難住了,不知道是個啥東西了。請給予指導,謝謝~!

  8. root@taiwan:~# systemctl restart nginx

    Job for nginx.service failed because the control process exited with error code.

    See "systemctl status nginx.service" and "journalctl -xe" for details.

    root@taiwan:~# systemctl status nginx.service

    ● nginx.service – A high performance web server and a reverse proxy server

    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Fri 2020-02-21 21:33:25 CST; 16s ago

    Docs: man:nginx(8)

    Process: 3182 ExecStop=/sbin/start-stop-daemon –quiet –stop –retry QUIT/5 –pidfile /run/nginx.pid (code=exite

    d, status=0/SUCCESS)

    Process: 2158 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

    Process: 3879 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/

    FAILURE)

    Main PID: 2161 (code=exited, status=0/SUCCESS)

    Feb 21 21:33:25 taiwan systemd[1]: Starting A high performance web server and a reverse proxy server…

    Feb 21 21:33:25 taiwan nginx[3879]: nginx: [emerg] invalid port in upstream "127.0.0.1:123456" in /etc/nginx/sites-

    enabled/default:11

    Feb 21 21:33:25 taiwan nginx[3879]: nginx: configuration file /etc/nginx/nginx.conf test failed

    Feb 21 21:33:25 taiwan systemd[1]: nginx.service: Control process exited, code=exited status=1

    Feb 21 21:33:25 taiwan systemd[1]: Failed to start A high performance web server and a reverse proxy server

    .

    Feb 21 21:33:25 taiwan systemd[1]: nginx.service: Unit entered failed state.

    Feb 21 21:33:25 taiwan systemd[1]: nginx.service: Failed with result 'exit-code'.

    root@taiwan:~#

    以上問題哪裡出問題了

Comments are closed.