ThaiSEOBoard.com

พัฒนาเว็บไซต์ => Programming => ข้อความที่เริ่มโดย: kcontrol ที่ 27 มกราคม 2018, 17:44:38



หัวข้อ: อัพเดท kernel ยังไงครับ Centos 6.8
เริ่มหัวข้อโดย: kcontrol ที่ 27 มกราคม 2018, 17:44:38
อัพเดท kernel ยังไงครับ Centos 6.8

ผมกด yum -y update kernel แล้วขึ้นตามภาพข้างล่างนี้

(https://www.picz.in.th/images/2018/01/28/Untitledd9db5700dc024976.png)


หัวข้อ: Re: อัพเดท kernel ยังไงครับ Centos 6.8
เริ่มหัวข้อโดย: tenzamak ที่ 27 มกราคม 2018, 17:58:07
ลอง

yum clean all
yum update

แค่นี้พอครับ  เหมือนมัน resolve ไป apt.sw.be ไม่ได้  เครื่องนี้ปิงโดเมนอื่นติดปกติใช่ไหมครับ


หัวข้อ: Re: อัพเดท kernel ยังไงครับ Centos 6.8
เริ่มหัวข้อโดย: kcontrol ที่ 27 มกราคม 2018, 18:07:39
ไม่ได้อ่าครับเป็นเหมือนเดิม ping เครื่องอื่นติดปกติครับลอง ping เข้า google.co.th , sanook.com เข้าได้ปกติ

แต่จะว่าไปผมเองก็เข้าเว็บ http://apt.sw.be บนคอมที่ใช้งานอยู่นี้ไม่ได้เหมือนกันนะครับ เหมือนเว็บ http://apt.sw.be/ มันเสีย

เราสามารถเปลี่ยนลิ้ง http://apt.sw.be/ ได้ไหมครับ


หัวข้อ: Re: อัพเดท kernel ยังไงครับ Centos 6.8
เริ่มหัวข้อโดย: tenzamak ที่ 27 มกราคม 2018, 18:11:59
cat /etc/yum.repos.d/CentOS-Base.repo

ขอดูหน่อย


หัวข้อ: Re: อัพเดท kernel ยังไงครับ Centos 6.8
เริ่มหัวข้อโดย: kcontrol ที่ 27 มกราคม 2018, 19:11:57
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6


หัวข้อ: Re: อัพเดท kernel ยังไงครับ Centos 6.8
เริ่มหัวข้อโดย: icez ที่ 27 มกราคม 2018, 19:19:38
ลบไฟล์ /etc/yum.repos.d/rpmforge.repo ทิ้งครับ


หัวข้อ: Re: อัพเดท kernel ยังไงครับ Centos 6.8
เริ่มหัวข้อโดย: kcontrol ที่ 27 มกราคม 2018, 19:28:03
ขอบคุณมาก ๆ ครับ ได้แล้ว


หัวข้อ: Re: อัพเดท kernel ยังไงครับ Centos 6.8
เริ่มหัวข้อโดย: thanakorn69 ที่ 28 มกราคม 2018, 11:56:38
ขอบคุณสำหรับความรู้ครับ