I'm trying to get my server setup so that I can deploy my first rails app, but when I log into my server via SSH on the command line and try to run this command:
Code:
milesros@serv01 [~]# sudo adduser myappuser
I keep getting this error:
Code:
-bash: sudo: command not found
It looks like the server isn't responding to the 'sudo' command. however, if I omit 'sudo' and just type the command:
Code:
milesros@serv01 [~]# adduser myappuser
I'm greeted with this error instead
Code:
-bash: adduser: command not found
It seems like a number of crucial commands are not being recognised by my server's command line (even 'apt-get'!)
I was able to run the command
from my server to get a list of all the available commands, but I didn't see sudo adduser apt-get etc. (though there was still a long list of commands, I could post them if it would help)
The commands seem to work just fine when I'm entering commands on my local machine, but as soon as I log into the server, I keep getting 'command not found' errors.
I'm running Ubuntu 14.04, and my hosting is with SiteGround (their servers run linux CentOS)
Also, if it helps I have been following this tutorial on deploying a rails app by Phusion Passenger up to this point
https://www.phusionpassenger.com/lib...eploy_app.html
Any tips or advice would greatly appreciated, I've been at this for hours