Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Trying to {sudo yum install nodejs}


    Hi All, I'm trying to instal Node.js on Centos5 but I know nothing about installing things on Linux.
    I've tried lots of different things and I'm just in a mess.
    I've got a nodejs-stable.repo in a folder located here...
    /etc/yum.repos.d
    I also downloaded a tar thingy and put it some where and then I'm told to run this...
    sudo yum install nodejs
    This is the output...

    audit_log_user_command(): Connection refused
    Loading "fastestmirror" plugin
    Loading mirror speeds from cached hostfile
    * nodejs-stable: nodejs.tchol.org
    * base: update.onlinehome-server.info
    * updates: update.onlinehome-server.info
    * addons: update.onlinehome-server.info
    * extras: update.onlinehome-server.info
    baeb37e23fb93b3a342ebed21 100% |=========================| 10 kB 00:00
    http://nodejs.tchol.org/stable/el6/x...ry.sqlite.bz2: [Errno -3] Error performing checksum
    Trying other mirror.
    Error: failure: repodata/baeb37e23fb93b3a342ebed21256334e5b0cffe652fbdd113e 94fbd50068e110-primary.sqlite.bz2 from nodejs-stable: [Errno 256] No more mirrors to try.

    Can anyone tell me what I need to do to get Node.js installed on the server please?
    Thanks
    Graham

  2. #2
    It looks like the mirror is down for you. I just installed it from that mirror though (but I'm using a different OS and arch so it is different packages)...so try again?

    Maybe try this to see if it truly is a problem with the checksum of that sqlite file:

    Code:
    wget http://nodejs.tchol.org/stable/el6/x86_64/nodejs-0.6.3-1.el6.x86_64.rpm
    That will bypass yum and metadata and whatnot and just try to manually download the file you want. You will probably need dependency packages as well, though (I did).

    You are on EL6 64-bit, right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •