1

I am trying to install beanstalkd (http://kr.github.io/beanstalkd/download.html) via the Linux Terminal on a shared hosting account at Godaddy.

The previous link gives commands that should install beanstalkd on the server. I use SSH (with PuTTy) to access the Linux Terminal. I have practically tried all the commands in the previous link and am consistently obtaining errors like:

sudo apt-get install beanstalkd

error message: -bash: sudo: command not found

brew install beanstalkd

error message: -bash: brew: command not found

su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'
su -c 'yum install beanstalkd --enablerepo=epel-testing'

error message: -bash: su: command not found

yaourt -S beanstalkd

error message: -bash: yaourt: command not found

I am not even sure what bash is exactly and if it is causing the problem, or if its because I'm using an SSH connection, or if it's really because the commands don't actually exist on the server (which would be strange because when I do man sudo or man su I do in fact get the complete manual of both commands in the terminal).

QUESTION: Why am I unable to run the previous commands to install beanstalkd on the linux server? Does it have to do with me using PuTTy (ssh connection)? What could I possibly do to get beanstalkd installed? Could it be because its shared hosting with Godaddy, and I might not have full power over the linux terminal?

SERVER INFO: When running cat /proc/version I obtain my linux distribution: Red Hat 4.4.7-16. I have a shared hosting account with Godaddy with a linux server hosting my site.

J. Chomel
  • 8,193
  • 15
  • 41
  • 69
Webeng
  • 7,050
  • 4
  • 31
  • 59

2 Answers2

1

You have a RedHat distro, and they use rpm+yum for package management.

I see from yum search beanstalkd on my box that I can find it, but only on EPEL.

However, you have a really old version of RedHat, so can't just install the epel-release rpm, also, there doesn't seem to be a built version for RedHat 4.

If you had at least RedHat 5 you could do:

$ sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
$ sudo yum install beanstalkd
Alun
  • 541
  • 6
  • 16
  • do you think their might be an option for my version of RedHat distro? Odd godaddy maintains a really old version and hasn't updated. – Webeng May 18 '16 at 18:58
  • also would version 4 of redhad cause the error for sudo: `-bash: sudo: command not found`? I would assume the sudo command existed in version 4 – Webeng May 18 '16 at 19:06
0

You may in fact have a restricted instance of batch...

You must go to your provider's interface and do the necessary to have root access. Have you tried something like explained here?

https://uk.godaddy.com/help/enable-adminroot-access-managed-or-fully-managed-12270

If it doesn't work for you, you may also try asking https://serverfault.com/ that seems more relevant for your case.

J. Chomel
  • 8,193
  • 15
  • 41
  • 69
  • 1
    I was actually on that site previously, however I have not found the My Servers control panel. It is possible that I don't have this panel since I have a shared hosting account, though It's also possible I just couldn't find it. I will contact my hosting provider and see what they say. Once I do so I'll come back here and let you all know what new info was obtained. – Webeng May 19 '16 at 10:28