作者彙整:admin

docker samba

docker run -it -name samba -p 139:139 445:445 -v /sysvol/docker/samba:share /etc/localtime:/etc/localtime:ro -d dperson/samba -s "public;share;yes;no;no;user;user;;我是分享" -u "user;ipassword" docker run -it -name 容器名 -p port 號 -v 掛載本地:容器內部 -d 目標映像檔 -s [分享資料夾名];path;browsable;read_only;guest_ok;delete_veto_files;vaild_user;admin_user;comment -u"使用者:密碼" #https://kawsing.gitbook.io/opensystem/docker-cong-an-zhuang-dao-ying-yong-ru-men-pian/docekr-pureftp-fu-wu [Public] 新增資料夾 主機上 /sysvol/docker/samba =: root:input 775 … 繼續閱讀 →

發表於 docker, linux | 發表迴響

mikrotik 路徑圖

發表於 ros | 發表迴響

Windows Server Essentials 的硬體限制。

Windows Server 2022 Essentials 限制為 10 個核心,

發表於 windows | 發表迴響

systemclt smartctl 輸出error

1 Raw Read Error Rate 讀取錯誤率 硬碟可能出現瑕疵 3 Spin Up Time 起轉時間 可能代表主軸馬達老化 4 Start/Stop Count 啟/停次數 這個值是硬碟主軸馬達啟動/關閉的次數,一般來說就是你開關電源的次數 由於硬碟馬達啟/停時磨耗最大,這是一個壽命參考值 5 Reallocated Sector Count 重分配磁區數量 硬碟內部在發現弱磁區時會將弱磁區的資料重新分配到備用區, 這個值代表碟片可能出現瑕疵 ,此數值只大於1即可判定硬碟有問題 7 Seek Error Rate 尋軌錯誤率 硬碟可能出現瑕疵 9 Power-On Hours Count 總通電時間 硬碟總通電時間,這是一個壽命參考值 10 … 繼續閱讀 →

發表於 linux | 已標籤 | 發表迴響

mikrotik .rsc 匯入注意

Mikrotik 匯入 換行格式 須為 windows , unix CLRF 格式不行 內容範例 /ip firewall address-list add address=103.137.150.244 list=Badip_List # 連續時相同會出現錯誤訊息 再改為 do {/ip firewall address-list add address=xxx.xxx.xxx.xxx list=Ban_ip} on-error={}

發表於 Network, ros | 發表迴響

pve 6 sources.list

deb http://ftp.tw.debian.org/debian buster main contrib deb http://ftp.tw.debian.org/debian buster-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org buster/updates main contrib

發表於 proxmox | 已標籤 | 發表迴響

pve 8 sources.list

deb http://ftp.debian.org/debian bookworm main contrib deb http://ftp.debian.org/debian bookworm-updates main contrib # Proxmox VE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription # security updates deb http://security.debian.org/debian-security bookworm-security main contrib

發表於 proxmox | 已標籤 | 發表迴響

pve 7 sources.list

deb http://ftp.tw.debian.org/debian bullseye main contrib deb http://ftp.tw.debian.org/debian bullseye-updates main contrib deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription # security updates deb http://security.debian.org bullseye-security main contrib

發表於 proxmox | 已標籤 | 發表迴響

tailscale synology

synology 上 須新增排程 : 開機 :root https://cyber.suma.tw/1120707/#tailscale 加入下面 指令 /var/packages/Tailscale/target/bin/tailscale configure-host; synosystemctl restart pkgctl-Tailscale.service Firewall port: UDP:41641

發表於 synology | 已標籤 | 發表迴響

linux tee 用法

#同時存到檔案和顯示在螢幕上 (附加在 result.txt 原內容後面): ls | tee -a result.txt #stdout 和 stderr 都導: ls jjj 2>&1 | tee result.txt

發表於 linux | 發表迴響