some_good_stuff
some_good_stuff copied to clipboard
Vagrant 安装 OmniOS
安装指南
-
安装 Vagrant,希望这点不用我明哥多解释
-
命令行翻墙(需结合 Shadowsocks,如在国外可忽略) 设置步骤详见:命令行翻墙
-
安装并启动 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 # 启动虚拟机
如果最后一步失败了,请参考文末的疑难解答。
-
连接 OmniOS
vagrant ssh
-
恭喜〜已配置完毕。
疑难解答
- 启动 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
- http://cxh.me/2015/01/30/use-shadowsocks-in-terminal/
- http://chrisyip.github.io/post/use-pow-and-privoxy-bypass-mac-sandbox-and-socks5-issue/
- http://elatov.github.io/2014/10/puppet-with-solaris-systems/