iOS安装 vitual box 和vagrant template

首先需要安装brew 最新的地址:http://brew.sh

bogon:~ wj$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> This script will install:

/usr/local/bin/brew

/usr/local/Library/...

/usr/local/share/man/man1/brew.1

==> The following directories will be made group writable:

/usr/local/.

/usr/local/bin

==> The following directories will have their owner set to wj:

/usr/local/.

/usr/local/bin

==> The following directories will have their group set to admin:

/usr/local/.

/usr/local/bin

Press RETURN to continue or any other key to abort

==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin

WARNING: Improper use of the sudo command could lead to data loss

or the deletion of important system files. Please double-check your

typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:

==> /usr/bin/sudo /usr/sbin/chown wj /usr/local/. /usr/local/bin

==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin

==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew

==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew

==> /usr/bin/sudo /usr/sbin/chown wj /Library/Caches/Homebrew

==> Downloading and installing Homebrew...

remote: Counting objects: 3885, done.

remote: Compressing objects: 100% (3729/3729), done.

remote: Total 3885 (delta 33), reused 2352 (delta 21), pack-reused 0

Receiving objects: 100% (3885/3885), 3.37 MiB | 169.00 KiB/s, done.

Resolving deltas: 100% (33/33), done.

From https://github.com/Homebrew/homebrew

* [new branch]      master     -> origin/master

HEAD is now at 828c239 Add some more integration command tests.

==> Installation successful!

==> Next steps

Run `brew help` to get started

bogon:~ wj$

安装brew cask:

bogon:Desktop wj$ brew cask

==> Tapping caskroom/cask

Cloning into ‘/usr/local/Library/Taps/caskroom/homebrew-cask‘...

remote: Counting objects: 3341, done.

remote: Compressing objects: 100% (3313/3313), done.

remote: Total 3341 (delta 55), reused 158 (delta 11), pack-reused 0

Receiving objects: 100% (3341/3341), 5.83 MiB | 117.00 KiB/s, done.

Resolving deltas: 100% (55/55), done.

Checking connectivity... done.

Tapped 1 formula (3318 files, 25M)

==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom

==> We‘ll set permissions properly so we won‘t need sudo in the future

Password:

brew-cask provides a friendly homebrew-style CLI workflow for the

administration of Mac applications distributed as binaries.

Commands:

audit      verifies installability of Casks

cat        dump raw source of the given Cask to the standard output

cleanup    cleans up cached downloads and tracker symlinks

create     creates the given Cask and opens it in an editor

doctor     checks for configuration issues

edit       edits the given Cask

fetch      downloads Cask resources to local cache

home       opens the homepage of the given Cask

info       displays information about the given Cask

install    installs the given Cask

list       with no args, lists installed Casks; given installed Casks, lists staged files

search     searches all known Casks

uninstall  uninstalls the given Cask

update     a synonym for ‘brew update‘

zap        zaps all files associated with the given Cask

See also "man brew-cask"

bogon:Desktop wj$

安装virtual box:

bogon:Desktop wj$ brew cask install virtualbox

==> Downloading http://download.virtualbox.org/virtualbox/5.0.10/VirtualBox-5.0.10-104061-OSX.dmg

###########################################                               59.8%

######################################################################## 100.0%

==> Running installer for virtualbox; your password may be necessary.

==> Package installers may write to any location; options such as --appdir are ignored.

Password:

Password:

==> installer: Package name is Oracle VM VirtualBox

==> installer: Installing at base path /

==> installer: The install was successful.

==> Sorry, try again.

??  virtualbox staged at ‘/opt/homebrew-cask/Caskroom/virtualbox/5.0.10-104061‘ (4 files, 87M)

bogon:Desktop wj$

安装Vagrant:

bogon:Desktop wj$ brew cask install vagrant

==> Downloading https://releases.hashicorp.com/vagrant/1.7.4/vagrant_1.7.4.dmg

######################################################################## 100.0%

==> Running installer for vagrant; your password may be necessary.

==> Package installers may write to any location; options such as --appdir are ignored.

==> installer: Package name is Vagrant

==> installer: Installing at base path /

==> installer: The install was successful.

??  vagrant staged at ‘/opt/homebrew-cask/Caskroom/vagrant/1.7.4‘ (6 files, 82M)

bogon:Desktop wj$

时间: 2024-10-14 04:15:16

iOS安装 vitual box 和vagrant template的相关文章

用 oracle vitual box 克隆虚拟机,找不到eth0的解决方案

用 oracle vitual box 克隆虚拟机 当我们需要使用多台虚拟机的时候,如果一台一台的安装,实在是太过麻烦了.所以一般的虚拟机软件都为我们提供了克隆已有虚拟机状态的功能.Oracle vitual box也不例外.下面我们就来介绍一下,如何用vbox克隆已有的centos系统吧. 1.首先需要将我们的待克隆虚拟机处于关闭状态.. 2.开始克隆(复制),重新初始化MAC地址要勾选上. 3.然后就耐心等待完成了. PS:看起来很简单?继续往下看,重要的在后面. 以下操作皆是以root或具

windows下安装virtual box(ubuntu)

由于自己安装时出现了很多的问题,特意Mark一下. 第一步:在BIOS里是开启虚拟化(参考网上教程的)https://zhidao.baidu.com/question/1894752363981711700.html 1.重启电脑后按F2或F10进入BIOS界面: 2.进入界面后,依次选择Configuratio > Intel Virtual Technology > Enabled: 3.保存BIOS设置并重启电脑. 第二步:安装virtual box,我安装的版本是5.1.0. 下载地

ios 安装OpenFire

1.开发xmpp官网下载 2.打开openfire.pkg 3.点击继续 4.安装成功后打开偏好设置 ->双击poenfire->弹出窗口[好] 5.随后会弹出下面这个视图 开启 strrt openfre - > 打开网页设置界面 open admin console 如果跳出这个界面,还需要安装ava环境,下载一个javaforosx.dmg安装   下载地址:http://jdk7.java.net/macportpreview/ 点击open admin console 会跳出网

ios安装app提示【未受信任的企业级开发者】。在设置中信任此开发者

 最近在测试app,ios安装app后点击提示如下图: 解决方法: 1 点击 [设置] >[通用] >[设备管理]   2 点击企业级应用 > 信任该开发者 > 信任.设置之后可正常运行app.

【vagrant】第一次安装添加box报错:The box failed to unpackage properly....

报错信息 The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and that enough disk space is available and then try again. The output from attempting to unpackage (if any): x ./box.ovf x ./Vagrantfile

[vagrant]第一次安装添加box出现问题汇总

1.本地文件要加全文件名和协议file:/// 2.The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and try again. The....... 出现这个错误.参考http://tekknotes.blogspot.com/2014/10/vagrant-on-windows-box-failed-to.html 得以解决

iOS 安装使用cocoapods

一.什么是CocoaPods 1.为什么需要CocoaPods 在进行iOS开发的时候,总免不了使用第三方的开源库,比如SBJson.AFNetworking.Reachability等等.使用这些库的时候通常需要: 下载开源库的源代码并引入工程 向工程中添加开源库使用到的framework 解决开源库和开源库以及开源库和工程之间的依赖关系.检查重复添加的framework等问题 如果开源库有更新的时候,还需要将工程中使用的开源库删除,重新执行前面的三个步骤,顿时头都大了... 自从有了Coco

1从零开始学习Xamarin.iOS安装篇

安装和配置xamarin.ios 最近.net 开源新闻很火呀,于是想学习xamarin,早1年前就了解过这个东西,但是一直没有时间来学习,我这里装的是MAC上面的版本,废话不多说开始第一步安装. 概述: xamarin.ios支持 mac os 10.8以上,需要安装最新IOS SDK 以及Xcode ,你可以去Mac App Store或者https://developer.apple.com/devcenter/ios/index.action#downloads 下载 首先去http:/

IOS安装CocoaPods完整流程

作为一个底层系统大菜鸟,又搞过几年ios来说,安装一个CocoaPods是一件蛋痛的事~  说懂又懂,说不懂又不懂. 因为安装过程比较复杂,步骤较多,而网上教程又比较零散,而且有一些是扯蛋的,所以本篇文章主要从头到位根据自身安装经历记录每一条终端指令,至于里面的原理和一些概念性的东西,将会在相应的地方附上博客链接供大家深入研究. 我看过很多相关教程,附上的教程都是比较靠谱的,不靠谱的就没说了,大家可以去网上搜,一大把- 好了,废话不多说了,代码搞起! 首先,安装Cocoapods之前需要安装许多