每月彙整:四月 2025

proxmox LXC 忘記密碼

pct enter passwd exit Method 1 Boot into your bootloader (mostly grub or systemd-boot, select your preferred kernel but do not press enter. Press e to go into edit mode. Depending on the boot-loader go to the kernel-commandline entry: For … 繼續閱讀 →

發表於 proxmox | 發表迴響

APC UPS 圖解

bx850m 圖解 BN650-M1 1.在連接到牆上插座時關閉 UPS。 2.按住開/關按鈕 10 秒鐘。 POWER 按鈕將交替顯示綠-紅光,表示 Back-UPS 處於程序模式 閃爍 推薦用途 綠色的 低的 88 伏特交流電至 142 伏特交流電 將此設置用於 對體積波動不太敏感tage 或波形失真。 紅色的 中等的 92 伏特交流電至 139 伏特交流電 出廠默認設置。 在正常條件下使用此設置。 琥珀色 高的 96 伏特交流電至 136 伏特交流電 連接時使用此設置 狀態指示燈 Back-UPS … 繼續閱讀 →

發表於 UPS | 發表迴響

tell logrotate to archive the files daily – /etc/logrotate.d/smbd_audit

https://github.com/jabbber/note/blob/master/samba.md tell logrotate to archive the files daily – /etc/logrotate.d/smbd_audit /var/log/samba/audit.log { rotate 7 daily missingok notifempty delaycompress compress postrotate invoke-rc.d rsyslog rotate > /dev/null endscript }

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