ユーザ用ツール

サイト用ツール


ubuntu:bionic

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ubuntu:bionic [2018/09/01 13:49] nullponubuntu:bionic [2026/02/24 06:25] (現在) – 作成 nullpon
行 7: 行 7:
 ===== checkrestart ===== ===== checkrestart =====
  
-apt upgdade後に再起動が必要なサービスを調べるコマンド+apt upgrade後に再起動が必要なサービスを調べるコマンド
  
 <code> <code>
 sudo apt install debian-goodies sudo apt install debian-goodies
 sudo checkrestart sudo checkrestart
-</code> 
- 
-===== 固定IPアドレス ===== 
- 
-netplanで設定する 
- 
-/etc/netplan/50-cloud-init.yaml 
- 
-<code> 
-network: 
-    ethernets: 
-        enp0s3: 
-            addresses: [] 
-            dhcp4: true 
-            optional: true 
-        enp0s8: 
-            addresses: [192.168.56.2/24] 
-            dhcp4: false 
-            optional: true 
-    version: 2 
-</code> 
- 
-enp0s3はDHCPで動作、enp0s8はIPアドレス固定。修正後に以下のコマンドで反映 
- 
-<code> 
-sudo netplan apply 
 </code> </code>
ubuntu/bionic.1535809766.txt.gz · 最終更新: by nullpon