Updates from December, 2017 Toggle Comment Threads | Keyboard Shortcuts

  • Wang 20:56 on 2017-12-29 Permalink | Reply
    Tags: , ,   

    20th anniversary..

     
  • Wang 19:37 on 2017-12-28 Permalink | Reply
    Tags:   

    fight chicken..

     
  • Wang 19:40 on 2017-12-23 Permalink | Reply
    Tags: Redhat6,   

    Replace yum repository on redhat6 

    1.delete yum repo on redhat6

    rpm -aq | grep yum|xargs rpm -e --nodeps
    

    2.download centos’s rpm packages

    wget http://mirror.centos.org/centos/6.0/os/i386/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm
    wget http://mirror.centos.org/centos/6.0/os/i386/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
    wget http://mirror.centos.org/centos/6.0/os/i386/Packages/yum-3.2.29-69.el6.centos.noarch.rpm
    wget http://mirror.centos.org/centos/6.0/os/i386/Packages/yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm
    

    3.install rmp packages, the last two must be installed at the same time

    rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm
    rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
    rpm -ivh yum-3.2.29-69.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm
    

    4.modify yum repo, add mirror of netease

    cd /etc/yum.repos.d/ && wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
    

    5.replace all $releasever to 6 in CentOS6-Base-163.repo

    6.clean/cache

    yum clean all && yum makecache
    

    P.S. if got key error when installed, please import RMP KEY

    rpm --import http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
    
     
  • Wang 22:02 on 2017-12-16 Permalink | Reply
    Tags: ,   

    snowed in my hometown

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel