紀錄工作上的點點滴滴

Firewalld Common Questions
2024-11-21 linux firewalld
firewalld 問題整理 AllowZoneDrifting is enabled. 出現 AllowZoneDrifting is enabled. [root@ex-ap test]# systemctl status firewalld ● firewalld.service - ... Read More
Firewalld 學習筆記
2024-11-21 linux firewalld
以下是 firewalld 學習筆記 firewall 網路來源優先 有設定 IP source 優先 有設定 網卡 優先 預設區域 區域簡介 firewalld 的區域(zone)可用來設定網路連線、介面等所處的運作環境,對內使用的區域其防火牆規則會較為寬鬆,反之若是對外的區域其規則會較為嚴謹。 ... Read More
Firewalld Forward Port 防火牆轉發
2024-11-21 linux firewalld
# firewall-cmd --add-forward-port=port=port-number:proto=tcp|udp|sctp|dccp:toport=port-number sudo firewall-cmd --query-masquerade # 查詢有IP 偽裝 sudo ... Read More
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