夜夜夜爽_日本老头与少妇作爱_欧美性高清肥妇喷潮_丰满放荡的寡妇精品一区二区 - 成人免费午夜视频69影院

易秋網(wǎng)絡(luò)旗下全球VPS測評(píng)站
云主機(jī)測評(píng)/獨(dú)立服務(wù)器測評(píng)/主機(jī)優(yōu)惠碼

如何讓centos7關(guān)閉yum自動(dòng)更新系統(tǒng)

客戶指定機(jī)器的系統(tǒng)要centos 7.6,易秋網(wǎng)絡(luò)老易這邊提供的實(shí)際也是centos 7.6,但是等客戶安裝完畢寶塔后,系統(tǒng)顯示是centos 7.7,但是客戶因?yàn)槟承┰颍褪且猚entos 7.6,易秋網(wǎng)絡(luò)老易猜測是安裝寶塔的過程中,centos 7.6自動(dòng)更新到centos 7.7了。

[root@1403-sxx yum]#  cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)

那如何禁用centos 7的yum自動(dòng)更新系統(tǒng)呢,百度了一下,還是能解決這個(gè)centos7自動(dòng)更新系統(tǒng)的問題的。

cd /etc/yum
yum install yum-cron -y
[root@1403-s67 yum]# ls
fssnap.d  pluginconf.d  protected.d  vars  version-groups.conf  yum-cron.conf  yum-cron-hourly.conf

編輯下文件yum-cron.conf,把2個(gè)地方的yes,改成no,
update_messages = no
download_updates = no

[commands]
#  What kind of update to use:
# default                            = yum upgrade
# security                           = yum --security upgrade
# security-severity:Critical         = yum --sec-severity=Critical upgrade
# minimal                            = yum --bugfix update-minimal
# minimal-security                   = yum --security update-minimal
# minimal-security-severity:Critical =  --sec-severity=Critical update-minimal
update_cmd = default

# Whether a message should be emitted when updates are available,
# were downloaded, or applied.
update_messages = no  [這個(gè)地方默認(rèn)是yes,改成no]

# Whether updates should be downloaded when they are available.
download_updates = no [這個(gè)地方默認(rèn)是yes,改成no]

然后寶塔安裝完畢后,再看看,系統(tǒng)還是centos7.6,這次系統(tǒng)沒有自動(dòng)更新成centos 7.7

贊(0) 打賞
版權(quán)歸求VPS所有,未經(jīng)允許不準(zhǔn)轉(zhuǎn)載!求VPS » 如何讓centos7關(guān)閉yum自動(dòng)更新系統(tǒng)
【聲明】:求VPS,易秋網(wǎng)絡(luò)旗下專業(yè)VPS測評(píng)站,主要側(cè)重篩選全球質(zhì)量比較好的VPS、云主機(jī)以及獨(dú)立服務(wù)器,并且進(jìn)行簡單測評(píng),僅供參考。因?yàn)槿珖W(wǎng)絡(luò)差異較大,求VPS的VPS以及獨(dú)立服務(wù)器測評(píng)數(shù)據(jù)僅對(duì)當(dāng)時(shí)的測評(píng)環(huán)境有效。求VPS不強(qiáng)制網(wǎng)友購買本站介紹的VPS以及獨(dú)立服務(wù)器資源,如果網(wǎng)友購買了本站介紹的資源,風(fēng)險(xiǎn)自擔(dān)!

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

微信掃一掃打賞