Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


vestacp curl: command not found (using mac terminal)
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.

vestacp curl: command not found (using mac terminal)

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

  • daffydaffy Member

    Well you have to install curl the, don't you?

    apt-get install curl

    Thanked by 1Falzo
  • This is the output from the command run:

    apt-get install curl
    Reading package lists... Done
    Building dependency tree... Done
    Package curl is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'curl' has no installation candidate

  • jgillichjgillich Member
    edited April 2017

    Do apt-get update first

    This is Linux 101, learn that before setting up a server.

  • I too have done this...

    apt-get update

    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.

  • daffydaffy Member

    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

    Thanked by 1Falzo
  • daffydaffy Member

    @sudosaurus said:
    I too have done this...

    apt-get update

    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.

    You seem to be having DNS issues if that's the case.
    Can you ping any random domain and/or an IP?

    Thanked by 1Falzo
  • FalzoFalzo Member

    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 ;-)

    Thanked by 3raindog308 NanoG6 Basil
  • edited April 2017

    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.

  • johnnymattjohnnymatt Member
    edited April 2017

    Assuming that you have not messed up the OS and what you did was only :

    curl -O http://vestacp.com/pub/vst-install.sh

    • I never use 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

    • Check for DNS. Did you try it ?

    # vi /etc/resolv.conf

    • ** Did you try to connect to SolusVM /VPS Control **?

    There's an option "Reconfigure Network". Try it.

    • Emergency Console.

    Did you try it ?

  • FalzoFalzo Member

    @sudosaurus said:
    appears to be a problem with my host as the vps has gone offline and wont boot, they're not being very helpful.

    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).

    Thanked by 2hostdare raindog308
  • WSSWSS Member

    Falzo is trying to politely tell you "stick to CPanel".

  • Interesting username you got there. :D

    Thanked by 1raindog308
  • 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.

Sign In or Register to comment.