0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

(CentOS7)yumコマンドのメモ書き

Last updated at Posted at 2021-03-14

CeotOS7でyum updateした時のマイナーバージョンアップ

自分のローカル環境のCentOS7(Vagrant)をyum updateしたのですが、マイナーバージョンのアップデートもされるのですね。その時のメモです。

yum update実行前
$ cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core) 
yum update実行後
$ cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)

本番環境でyum updateする時は気をつけないといけないですね。
最低でも、バックアップをとってから実行しないとダメですね、当たり前ですが。

yumコマンドの過去の実行履歴を確認したい時

yum historyでできる

$ sudo yum history
〜
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?