some_good_stuff icon indicating copy to clipboard operation
some_good_stuff copied to clipboard

Vagrant 安装 OmniOS

Open chuyik opened this issue 9 years ago • 0 comments

安装指南

  1. 安装 Vagrant,希望这点不用我明哥多解释

  2. 下载 OmniOS 的 Vagrant Box 文件

  3. 命令行翻墙(需结合 Shadowsocks,如在国外可忽略) 设置步骤详见:命令行翻墙

  4. 安装并启动 OmniOS

    vagrant box add omnios-r151014.box --name omnios  # omnios-r151014.box 是步骤2下载的文件
    vagrant init omnios                               # 初始化 OmniOS
    vagrant plugin install vagrant-guest-omnios       # 安装必须插件
    vagrant up                                        # 启动虚拟机
    

    如果最后一步失败了,请参考文末的疑难解答。

  5. 连接 OmniOS

    vagrant ssh
    
  6. 恭喜〜已配置完毕。

疑难解答

  1. 启动 OmniOS 虚拟机时,出现以下错误,要怎么解决?
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state....

答:安装最新的 VirtualBox,再重试。


References

  1. http://cxh.me/2015/01/30/use-shadowsocks-in-terminal/
  2. http://chrisyip.github.io/post/use-pow-and-privoxy-bypass-mac-sandbox-and-socks5-issue/
  3. http://elatov.github.io/2014/10/puppet-with-solaris-systems/

chuyik avatar Dec 17 '15 11:12 chuyik