基礎Bash指令 $ whoami user $ command1 ; command2 output1 output2 $ !! #執行上一個command 硬連結 & 軟連結
Jan 31, 2023透過playbook可自動化執行重複的任務 使用yaml格式 會記錄操作歷程 名詞 ==playbook== - 執行yaml檔案的內容 ==inventory== - 節點清單 (執行任務的位置) ==moudule== - 可使用的模組,如:ping、yum
Jan 13, 2023LVM(Logic Volume Manager)邏輯磁區管理器 是Linux核心提供的功能,用於在硬碟分割區建立邏輯磁區,方便系統管理 :::success 優點 File System可以跨多個磁碟,因此大小不受物理磁碟限制 可以在系統運行時,動態擴展File System大小 可以新增磁碟至LVM儲存庫 ::: :::danger
Jan 5, 2023autofs是一個程式,實際由automount執行自動掛載。 可根據需要自動掛載指定的目錄,一段時間不用後會自動卸載。 rpcbind服務啟動在port 111 nfs服務啟動在port 2049 :bulb: 在掛載前需要有NFS連線,可使用showmount -e <IP>查看可掛載目錄 在NFS的 Client端有關autofs的設定檔共有2個:/etc/auto.master、/etc/auto.nfs(此名稱可自訂)
Dec 28, 2022or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up