New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
vestacp curl: command not found (using mac terminal)
sudosaurus
Member
in Help
Hi,
When attempting to install VestaCP using terminal on my mac to SSH to my ubuntu 16.04 server, I am given the below error:
vestacp curl: command not found
Command issued: curl -O http://vestacp.com/pub/vst-install.sh
Help!
Comments
Well you have to install curl the, don't you?
apt-get install curl
This is the output from the command run:
Do
apt-get update
firstThis is Linux 101, learn that before setting up a server.
I too have done this...
Err:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:2 http://archive.canonical.com/ubuntu xenial InRelease
Temporary failure resolving 'archive.canonical.com'
Err:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'archive.canonical.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
As mentioned above, run apt-get update first. If you don't know these basic things, please don't start with such things as Vesta. Get a grasp of basic admin stuff at least.
try to update your nameserver in /etc/resolv.conf
You seem to be having DNS issues if that's the case.
Can you ping any random domain and/or an IP?
oh lord... please try to find a friend to help you with your first steps on a linux server at all.
of course I know everyone has to start somewhere and won't blame you. also the help you get from other users here is really to be appreciated!
but you really need to look into some basic first before working with some more complicated stuff like vestacp or any other controlpanel/scripts/software. obviously you wouldn't be able to fix any further problem that for sure will occur.
I predict if you manage to fix your dns setting, make an update and get curl installed - your next question will be about vesta complaining that there already is something like e.g. exim installed hence the script won't run.
and are you by any chance logged in directly as root via ssh on port 22 with the initial password? stop for a moment to think about it ;-)
apt-get install curl
curl -O http://vestacp.com/pub/vst-install-ubuntu.sh
bash vst-install-ubuntu.sh
okay this is stupid
Why just dont use wget?
and your dns is not working properly .....properly post your sources.list file overe here or pastebin ...
or just simple open the damn file in chrome :-(
and copy paste....
Just little tips, if you got error in the first step try fix that first, don't just jump on the next step.
appears to be a problem with my host as the vps has gone offline and wont boot, they're not being very helpful.
Assuming that you have not messed up the OS and what you did was only :
curl -O http://vestacp.com/pub/vst-install.sh
UbLARDuntu, i use only CentOS. If you use CentOS i do that to check current version installed Sometimes the output is helpful to understand if your distro is broken. I bet there is something for Ubuntu similar. Did you try it ?# cat /etc/centos-release
# vi /etc/resolv.conf
There's an option "Reconfigure Network". Try it.
Did you try it ?
you most likely purchased an UNmanaged service, so what do you expect? ;-)
they probably expect you to know how to handle a service like this...
go to your clientarea and find the reinstall option. start from scratch. make sure your first steps are securing and updating any services.
if it says 'SUSPENDED' at any point your service probably has already been compromised, so you most likely need your host to unsuspend your service to be able to do a reinstall.
sorry to say but this obviously is the wrong product for you (at least for now).
Falzo is trying to politely tell you "stick to CPanel".
Interesting username you got there.
buy windows
Replace "curl" with "wget"
I've managed to resolve this now, the VM was corrupted and the host had to provision a new VM for me as they were unable to fix it. All installed and working now.