紀錄工作上的點點滴滴

Create Local Repository for Yum
2024-11-21 linux yum
建立本地yum倉庫 生一個CentOS7 的環境 local repository 環境 CentOS 7 100GB 存放空間 安裝工具 yum install yum-utils createrepo -y 啟用 EPEL sudo yum install epel-release sudo ... Read More
CRON[204259]: PAM unable to dlopen(pam_pwquality.so)
2024-11-18 linux
詳細錯誤訊息 Nov 18 12:17:01 91214Desktop CRON[204259]: PAM unable to dlopen(pam_pwquality.so): /lib/security/pam_pwquality.so: cannot open shared object ... Read More
install-open-project-on-debain11
2024-11-18 linux
環境 OS: Debain 11 RAM: 4G CPU: 4 Core 新增資料庫 su postgres -c psql CREATE DATABASE openprojectdb; CREATE USER openprojectap WITH PASSWORD ... Read More
Fail2ban
2024-11-13 linux
fail2ban 安裝 apt install fail2ban -y 狀態 檢查監控的服務 fail2ban-client status 檢查被攔阻的IP fail2ban-client status zimbra-smtp 設定完成後檢查 fail2ban-regex ... Read More
Nmon
2024-10-28 linux
nmon nmon_analyser 69 版本有問題,所以我這邊下載 66 wget https://sourceforge.net/projects/nmon/files/nmon_analyser_v66.zip 官方網站: ... Read More
linux 設定網路
2024-08-05 linux
設定網路 啟動網卡 sudo ip link set eth0 up 透過 DHCP 取得IP sudo dhclient eth0 安裝 NetworkManager Debian sudo apt install network-manager sudo systemctl start ... Read More
Arch Linux 安裝
2024-08-02 linux Arch linux
環境 KVM CPU: 2 core RAM: 2G 環境調查事項 開機方式: bios_grub or UEFI 環境規劃 硬碟 swap: 4G bios_grub: 1M /boot: 1GB 下載 wget ... Read More
Debiain 桌面設定
2024-08-01 linux Debiain
筆電 蓋上螢幕不休眠 /etc/systemd/logind.conf HandleLidSwitch=ignore sudo systemctl restart systemd-logind sudp reboot Read More
在 Linux 中 製作 USB 開機牒
2024-07-17 linux
方案 BalenaEtcher 環境 OS: Debian 12 處理步驟 curl -1sLf 'https://dl.cloudsmith.io/public/balena/etcher/setup.deb.sh' | sudo -E bash sudo apt update ... Read More
Linux Iconv
2024-07-05 linux
Linux 轉碼工具 # 查詢檔案編碼 file -i source-file.sql # 執行轉碼 iconv -f utf-16le -t UTF-8 source-file.sql -o gole-file.sql Read More