差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

下次修改
前次修改
tech:pve-ct-centos7 [2018/07/25 11:36] – 建立 Jonathan Tsaitech:pve-ct-centos7 [2020/09/11 08:57] (目前版本) jonathan_tsai
行 1: 行 1:
 +====== PVE 內的 CT Centos7/Centos8 調整設定成標準樣板(Template) ======
 +  * 因為內建的 lxc centos7 / centos8 的樣板和自己常用的環境不太相同, 因此安裝與調整一下設定
 +
 +  - 安裝常用的 rpm 與更新到 centos 最新版<code sh>
 +yum install epel-release openssh-server 
 +
 +yum update
 +</code>
 +  - 更改時區 [[tech/centostimezone]]
 +  - 更改語系 [[tech/centoslocale]]
 +  - 重新開機 <code sh>
 +sync;sync;sync;reboot
 +</code>
 +
 +  * 建立成 template 以及後續直接使用
 +    - 建立成 template {{:tech:2018072501.png}}
 +    - 建立 template 成功後的圖樣 {{:tech:2018072502.png}}
 +    - 用 template 產生新的 lxc centos7 {{:tech:2018072503.png}}
 +
 +{{tag>pve centos7 centos8}}