代码之家  ›  专栏  ›  技术社区  ›  Joe

如何在Mac上安装Aerospike?

  •  0
  • Joe  · 技术社区  · 7 年前

    我尝试了以下几点: https://www.aerospike.com/docs/operations/install/vagrant/mac/

    并做了如下工作:

    mkdir aerospike-vm
    
    cd aerospike-vm
    
    vagrant init aerospike/aerospike-ce                                                                                                                                                                                              
    

    这创造了 Vagrantfile 在同一个目录中。


    接下来我尝试:

    vagrant up   
    

    获取错误:

    Bringing machine 'default' up with 'virtualbox' provider...
    ==> default: Box 'aerospike/aerospike-ce' could not be found. Attempting to find and install...
        default: Box Provider: virtualbox
        default: Box Version: >= 0
    The box 'aerospike/aerospike-ce' could not be found or
    could not be accessed in the remote catalog. If this is a private
    box on HashiCorp's Atlas, please verify you're logged in via
    `vagrant login`. Also, please double-check the name. The expanded
    URL and error message are shown below:
    
    URL: ["https://atlas.hashicorp.com/aerospike/aerospike-ce"]
    Error: The requested URL returned error: 404 Not Found
    

    在Mac上安装Aerospike的正确程序是什么?

    谢谢

    1 回复  |  直到 7 年前
        1
  •  3
  •   pgupta    7 年前

    我在几个月前录制了这段视频,还有另外两段视频。看看这段youtube视频是否能帮到你: https://www.youtube.com/watch?v=qm42c0juam4&list=PLGo1-Ya-AEQDa32hFggyB0yIIOldxUFwv&index=3

    以下是我跑步的结果:

    Administrators-MacBook-Pro-4:aerospike-vm piyush$ ls -al
    total 8
    drwxr-xr-x   4 piyush  staff   128 Apr  9  2018 .
    drwxr-xr-x+ 54 piyush  staff  1728 Jan 18 10:56 ..
    drwxr-xr-x   3 piyush  staff    96 Apr  9  2018 .vagrant
    -rw-r--r--   1 piyush  staff  3029 Apr  9  2018 Vagrantfile
    Administrators-MacBook-Pro-4:aerospike-vm piyush$ mv Vagrantfile Vagrantfile_old
    Administrators-MacBook-Pro-4:aerospike-vm piyush$ vagrant init aerospike/aerospike-ce
    ==> vagrant: A new version of Vagrant is available: 2.2.3!
    ==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
    
    A `Vagrantfile` has been placed in this directory. You are now
    ready to `vagrant up` your first virtual environment! Please read
    the comments in the Vagrantfile as well as documentation on
    `vagrantup.com` for more information on using Vagrant.
    Administrators-MacBook-Pro-4:aerospike-vm piyush$ ls -al
    total 16
    drwxr-xr-x   5 piyush  staff   160 Jan 31 14:13 .
    drwxr-xr-x+ 54 piyush  staff  1728 Jan 18 10:56 ..
    drwxr-xr-x   3 piyush  staff    96 Apr  9  2018 .vagrant
    -rw-r--r--   1 piyush  staff  3029 Jan 31 14:13 Vagrantfile
    -rw-r--r--   1 piyush  staff  3029 Apr  9  2018 Vagrantfile_old
    Administrators-MacBook-Pro-4:aerospike-vm piyush$