Red Hat 6 安裝 Yum源

遇到問題

今天公司搞到一臺開發機。我想上來先安裝node。默認公司機器是CentOs系統,因此我想固然按照查到的資料進行安裝。node

yum install nodejs可是報錯了,一查系統版本:red hat enterprise linux server release 6.3 (santiago)python

解決

  • google搜索:red hat enterprise linux server release 6.3 yumlinux

  • 安裝文檔,照作centos

  • 發現資源下載時候404,此時須要本身拼接URL去庫裏找。好比:http://ftp.sjtu.edu.cn/centos/6/os/x86_64/Packages/google

  • 最後一步報錯: python-urlgrabber >= 3.9.1-10 is needed by yum-3.2.29-73.el6.centos.noarchurl

  • 又搜到一篇文章,安裝python-urlgrabber-3.9.1-11.el6.noarch.rpm.net

齊活!code

相關文章
相關標籤/搜索