notes: install node.js on centos 6 i386

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

error:

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

go edit /etc/yum.repos.d/epel.repo. remove comment from baseurl

change
#baseurl=http://dl.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
to
baseurl=http://dl.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

error:

http://download.fedoraproject.org/pub/epel/6/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 503”
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

go edit /etc/yum.repos.d/epel.repo

change
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
to
baseurl=http://dl.fedoraproject.org/pub/epel/6/$basearch

yum groupinstall “development tools”

Leave a Reply