Opened 3 weeks ago

Last modified 5 days ago

#39 new defect

Proxmox PVE — at Version 15

Reported by: elven Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description (last modified by elven)

PVE1: 172.16.3.30 Kaxxxx8899

  1. 100 dsbuild
  2. 101 DEV-125
  3. 102 dsbuild-2.0
  4. 103 docker

PVE2: 172.16.3.32 Kaxxxx8899
PVE3: 172.16.3.34 Kaxxxx8899
PVE168: 172.16.3.40 ji9wnjsoftJI(WNJSOFT

  1. 1680 tiny-11-168
    1. 172.16.1.168
    2. RDP: wnjsoft / wnjsoft
    3. 主要功能:播放歌曲專用
  2. 1684 SMB-168
    1. 172.16.3.168
    2. RDP: administrator / Ji9wnjsoft@2026
    3. windows server 2022 core
    4. 主要功能:

PBS: 172.16.3.36 ji9wnjsoftJI(WNJSOFT

PBS備份加密金鑰 attachment:pve-PVE-SDX-storage-PBS-3.36.enc

Change History (16)

comment:1 Changed 3 weeks ago by elven

Description: modified (diff)

Changed 3 weeks ago by elven

comment:2 Changed 3 weeks ago by elven

Description: modified (diff)

comment:3 Changed 3 weeks ago by elven

Description: modified (diff)

comment:4 Changed 2 weeks ago by elven

Description: modified (diff)

comment:5 Changed 2 weeks ago by elven

Description: modified (diff)

comment:6 Changed 2 weeks ago by elven

如何設定 https://upload.secudocx.com

  1. OpenSource專案 Timvisee/Send 3.4.27
  2. 安裝路徑 C:\send
  3. 暫存路徑 D:\send=data
  4. 由windows schedule在開機事件觸發時,自動執行
  5. 注意,執行的時候需要一個Redis服務,若發生401錯誤時,請檢查服務中的Memurai是否有啟動執行
  1. 連線 RDP: 172.16.3.168
  2. 編輯 C:\send\start_send.bat
    @echo off
    :: 設定環境變數
    SET PATH=%PATH%;C:\nvm4w\nodejs;C:\Users\Administrator\AppData\Roaming\npm
    set NODE_ENV=production
    set PORT=1443
    set FILE_DIR=D:\send-data
    set BASE_URL=http://172.16.3.168:1443
    set REDIS_HOST=127.0.0.1
    
    :: --- 核心限制設定 ---
    :: 1. 設定最大檔案限制 (單位為 Byte)
    :: 10GB = 10 * 1024 * 1024 * 1024 = 10737418240
    set MAX_FILE_SIZE=10737418240
    
    :: 2. 設定預設/最大下載次數 (5次)
    set MAX_DOWNLOADS=5
    set DEFAULT_DOWNLOADS=5
    
    :: 3. 設定預設/最大保留時間 (7天,單位為秒)
    :: 7天 = 7 * 24 * 60 * 60 = 604800
    set MAX_EXPIRE_SECONDS=604800
    set DEFAULT_EXPIRE_SECONDS=604800
    
    
    :: 切換到程式目錄並執行
    cd /d C:\send
    node server/bin/prod.js
    
  3. 重新啟動Schedule Task (FirefoxSend-Autostart)
    1. 從工作管理員,刪除node.exe,若存在多個行程時,建議看一下該行程的command line是否為node server/bin/prod.js
    2. 透過PowerShell執行 Start-ScheduledTask -TaskName "FirefoxSend-Autostart"
    3. 檢查工作管理員,node.exe行程是否執行起來
    4. 檢查https://upload.wnjsoft.com是否可存取
Last edited 5 days ago by elven (previous) (diff)

comment:7 Changed 2 weeks ago by elven

Description: modified (diff)

comment:8 Changed 2 weeks ago by elven

Description: modified (diff)

comment:9 Changed 2 weeks ago by elven

Description: modified (diff)

comment:10 Changed 2 weeks ago by elven

Description: modified (diff)

comment:11 Changed 2 weeks ago by elven

如何設定 https:/ww2.wnjsoft.com

  1. 使用Static Web Server(SWS)來進行服務
  2. 單一執行檔: "C:\Tools\Static-Web-Server-2.40.1\static-web-server.exe",執行的時候,建議執行run.bat
  3. 可透過服務,重新啟動 (static-web-server)
  4. 修改設定 "C:\Tools\Static-Web-Server-2.40.1\sws.toml"
  5. web root會對應到 D:\web-root上,可執行 clear-download2.bat(31天)或是clear-download3.bat(365天)來刪除過期的檔案
Last edited 2 weeks ago by elven (previous) (diff)

comment:12 Changed 2 weeks ago by elven

Description: modified (diff)

comment:13 Changed 2 weeks ago by elven

Description: modified (diff)

comment:14 Changed 2 weeks ago by elven

Description: modified (diff)

comment:15 Changed 2 weeks ago by elven

Description: modified (diff)
Note: See TracTickets for help on using tickets.