紀錄工作上的點點滴滴

Build Template - Oracle Linux 8

2025-10-07 linux

Oracle Linux 8 範本建置紀錄 通用設定 建置前置作業 更新作業系統 sudo dnf update -y 安裝常用的軟體 這部份可以依據實際狀況處理 sudo dnf install epel-release sudo dnf install -y vim nmon 如果是虛擬機複製, ... Read More

howdy 人臉辨識

2025-06-29 linux

環境 OS: Debian 12 安裝 git clone [email protected]:boltgolt/howdy.git sudo apt-get update && sudo apt-get install -y \ python3 python3-pip ... Read More

UxPlay - IPhone 螢幕投影

2025-06-29 linux

安裝 UxPlay 安裝必要套件 sudo apt install pkg-config pkgconf cmake build-essential libssl-dev libplist-dev \ libgstreamer1.0-dev ... Read More

我使用Debian的方式

2025-06-14 linux linux debain

移除 Gnome 桌面預設 sudo apt remove packagekit 移除 packagekit : 因為我想100%決定我何時更新 Read More

Linux Gdisk Error

2025-02-06 linux

今天在實驗室中擴充一顆虛擬硬碟到 150 G,原先是 50G。但是不管是重新開機都無法識別。 後來發現 GPT 分割表未更新,如下 root@moniter:~# fdisk -l /dev/sda GPT PMBR size mismatch (104857599 != 314572799) ... Read More

linux 登入使用 google auth 二階段驗證

2025-01-11 linux

環境 OS: Debian 12 安裝及部屬 安裝 安裝 libpam-google-authenticator sudo apt -y install libpam-google-authenticator 設定 ssh 登入 /etc/pam.d/sshd auth required ... Read More

Disable Gnome Auto Upate

2025-01-09 linux gnome

禁止 Gnome 自動背景更新 設定文件: /etc/PackageKit/PackageKit.conf 設定文禁止更新 #PreventNetworkAccess=false PreventNetworkAccess=true sudo systemctl daemon-reload sudo ... Read More

將腳本丟到背景執行

2024-12-30 linux

# 將腳本丟到背景執行,會輸出背景執行 PID Number nohup /usr/local/bin/example-shell.sh & # 監控結果 tail -f nohup.out # 監控背景程序還有執行 watch -n 1 "ps -p 120448 -o ... Read More

systemctl

2024-12-22 linux

變更 systemctl 默認編輯器 sudo update-alternatives --config editor 執行結果 root@example:~# sudo update-alternatives --config editor There are 3 choices for the ... Read More

nmcli 指令操作

2024-12-18 linux NetworkManager

處理前動作 檢查文件中已經有配置: /etc/network/interfaces 如果有需要註解,範例如下: # The primary network interface # allow-hotplug enp1s0 # iface enp1s0 inet dhcp 新增網卡配置 sudo ... Read More