紀錄工作上的點點滴滴

硬體設備-hba
2024-10-30 工作雜記 linux multipath
最近工作中遇到需要設定光纖設備,這邊我稍微紀錄一下過往常用的指令 查詢 hba 型號: `` [root@test-host ~]# lspci -nn |egrep -i "fibre|hba" 17:00.0 Fibre Channel [0c04]: QLogic Corp. ... 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
Prometheus Node Exporter 設定
2024-10-28 工作雜記 Prometheus
安裝環境 OS: Oracle Linux 9, Debian 12 測試版本: 1.8.2 安裝步驟 01. 新增帳號 sudo groupadd --system -g 800 prometheus &&\ sudo useradd -s /sbin/nologin ... Read More
Deploy Postgresql 16 Primary Standby
2024-10-17 postgresql postgresql infra
環境設計 OS: Debian 12 Database version: postgresql 16 主機: develop-pg-node-01 role: Primary IP: 192.168.100.101 develop-pg-node-02 role: Standby IP: ... Read More
客製化 Gnome
2024-10-17 postgresql postgresql infra
Plymouth 列出可用的主題 plymouth-set-default-theme -l 顯示當前主題 plymouth-set-default-theme 設定主題 sudo plymouth-set-default-theme <theme_name> sudo ... Read More
AI幻覺導致我操作系統錯誤了
2024-10-13 工作雜記 linux
TL;DR 剛剛在練習 KVM 指令時 一些不懂的地方直接問 Cheap GPT 遇到 AI 幻覺。在執行虛擬磁碟擴容到 60G 照著 GPT 指示做,結果擴充到 30TB。好險是在實驗室進行操作練習,如果是在正式環境可能或造成難以收復的系統災難。 錯誤指令如下 sudo virsh ... Read More
SonarQube-API
2024-10-04 CI/CD SonarQube
基本 URL: http:///api 如何驗證 創建 API Token 登入到 SonarQube 的 Web 界面。 點擊右上角的你的使用者名稱,然後選擇 “我的帳戶 (My Account)”。 在 “安全 (Security)” 標籤中,你會看到一個按鈕 “生成令牌 (Generate ... Read More
Redmine Api
2024-09-15 工作雜記 redmine
以下是 redmine API 筆記 在使用 API 之前記得先取得 token,token 會在 [我的帳戶] - [API 存取金鑰] 中,每個帳戶都會有一組。 取得 Token 之後就可以進行操作了 在這邊我會使用兩個參數方便接下來的操作 API_KRY=your_token ... Read More
在 Linux 安裝 JMeter
2024-08-29 CI/CD JMeter
安裝 Down jMeter and deploy it. JMETER_VERSION="5.6.3" wget https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-${JMETER_VERSION}.tgz # 只給自己 ... Read More
Deploy Redmine on Debian12
2024-08-25 infra Redmine
環境 OS: Debain 12 DB: 10.192.1.105 redmine_db 安裝步驟 sudo apt install -y gnupg2 sudo gpg2 --keyserver hkp://keyserver.ubuntu.com --recv-keys ... Read More