永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放

Board logo

標(biāo)題: [分享] 阿里云 Centos 7.3 官方純靜版 安裝 WDCP V3.21 過程 [打印本頁]

作者: nohacks    時間: 2017-5-11 05:17     標(biāo)題: 阿里云 Centos 7.3 官方純靜版 安裝 WDCP V3.21 過程

本帖最后由 nohacks 于 2017-5-11 05:25 編輯

阿里云 Centos 7.3 64位  共享版 (純靜版)

剛開始用最新安裝代碼:
  1. wget http://dl.wdlinux.cn/files/lanmp_v3.2.tar.gz
  2. tar zxvf lanmp_v3.2.tar.gz
  3. sh lanmp.sh
復(fù)制代碼
最后出現(xiàn)下圖提示:

1.png


WDCP安裝失敗了,8080端口無法訪問!

我接著 單獨安裝WDCP面板,可以正常使用。

但是緊接著創(chuàng)建FTP用戶時,出現(xiàn)未找到FTP服務(wù)的提示,不信你可以去看看官方的測試站點,問題一樣!
  1. wget http://down.wdlinux.cn/in/install_v3.sh
  2. sh install_v3.sh
復(fù)制代碼
最后經(jīng)反復(fù)折騰,發(fā)現(xiàn)使用舊版安裝代碼不會重新WDCP安裝不上以及新建FTP出錯的問題
  1. wget http://dl.wdlinux.cn/files/lanmp_v3.tar.gz
  2. tar zxvf lanmp_v3.tar.gz
  3. sh lanmp.sh
復(fù)制代碼
安裝完后,8080可以正常訪問,然后在后臺升級為3.2,F(xiàn)TP新建用戶沒有發(fā)生錯誤,完美。


接下來看,SSL 支持

也是反復(fù)折騰,發(fā)現(xiàn)沒用,相關(guān)配置文件也沒有添加443端口監(jiān)聽 server 段 ,也上傳了對應(yīng)文件,不知何故??


最后,實在沒法,手動修改吧,文管 ,找到站點配置文件 ,在后面添加,保存
  1. server {
  2.         listen       443;
  3.         server_name xx.com;
  4.         root /www/web/xx.com/public_html;
  5.         index  index.html index.php index.htm;
  6.         error_page  400 /errpage/400.html;
  7.         error_page  403 /errpage/403.html;
  8.         error_page  404 /errpage/404.html;
  9.         error_page  503 /errpage/503.html;
  10.    
  11.     ssl on;
  12.     ssl_certificate   cert/xx.com.pem;
  13.     ssl_certificate_key  cert/xx.com.key;
  14.     ssl_session_timeout 5m;
  15.     ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
  16.     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  17.     ssl_prefer_server_ciphers on;



  18.         location ~ \.php$ {
  19.                 proxy_pass http://127.0.0.1:88;
  20.                 include naproxy.conf;
  21.         }
  22.         location ~ /\.ht {
  23.                 deny  all;
  24.         }
  25.         location / {
  26.                 try_files $uri @apache;
  27.         }
  28.         location @apache {
  29.                  proxy_pass http://127.0.0.1:88;
  30.                  include naproxy.conf;
  31.         }
  32. }
復(fù)制代碼
重啟WEB服務(wù),查看端口,出現(xiàn)443端口,說明配置無問題。

注意:請?zhí)鎿Q代碼中的xx.com為你的域名

訪問測試,還是不行,嘗試在在防火墻添加443端口,成功!

圖片附件: 1.png (2017-5-11 05:04, 23.15 KB) / 下載次數(shù) 6672
http://www.fsowen.com/bbs/attachment.php?aid=7319&k=222a3a6baa0faa82f7cf76fee0137c7d&t=1743853343&sid=hxxA4U






歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/) Powered by Discuz! 7.2