0
0

More than 3 years have passed since last update.

サポートの切れたCentOSバージョンでyumを使う

Last updated at Posted at 2020-12-11

サポートの切れたバージョンのOSを使う機会は皆無だが、検証などでどうしても必要になったときのために。

そのままyumコマンドを実行しても、リンク切れとなり使えない。
/etc/yum.repos.d/CentOS-Vault.repo に古いアーカイブバージョンのリポジトリの設定があるので、これを利用する。

yum update \
--disablerepo=base,updates,extras \
--enablerepo=C5.10-base,C5.10-updates,C5.10-extras
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