コマンド

パッケージ管理システム設定

RPMパッケージのインストール・アンインストールを行うyumの初期設定を行う

[root@centos ~]# yum -y update ← インストール済パッケージの一括アップデート
※大量のパッケージのダウンロード/アップデートを行うため時間がかかる
[root@centos ~]# yum -y install yum-cron ← yum-cronインストール
[root@centos ~]# vi /etc/yum/yum-cron.conf ← yum-cron設定
# Whether updates should be applied when they are available. Note
# that download_updates must also be yes for the update to be applied.
apply_updates = yes ← ダウンロード&アップデートを自動で行うようにする
[root@centos ~]# systemctl start yum-cron ← パッケージ自動更新起動
[root@centos ~]# systemctl enable yum-cron ← パッケージ自動更新自動起動設定
[root@centos ~]# yum -y groupinstall base "Development tools" ← ベース、開発ツールパッケージ群インストール

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS