一步一步 在mac上安装ubuntu

做为程序员的你一定听说过Linux甚至非常喜欢Linux.最近买了一台mac air,我非常喜欢苹果的工艺,但作为屌丝程序员,我依旧喜欢基于Linux内核的Ubuntu 进行开发.下面我就讲述一步一步在mac上安装ubuntu系统.

  1. 1

    首先是下载bantu镜像,mac版本

  2. 2

    打开终端

  3. 3

    将iso格式转换成img格式

    hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
  4. 4运行

    diskutil list

    获取当前系统挂载的存储媒介

  5. 5

    插入u盘

  6. 6

    diskutil list

    获取u盘的挂载名称

  7. 7

    运行

    diskutil unmountDisk /dev/diskN

    取消挂载,以便格式化

  8. 8

    执行

    sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m

    格式化并制作ubuntu系统启动盘

  9. 9

    卸载u盘

    diskutil eject /dev/diskN
  10. 10

    重启 Mac 并按压 press alt/option 进入boot模式,并选择从u盘启动.接下来就是很友好的过程,按照提示一步一步来就可以了.

Ps:安装后无线网络可能用不了,不过不用担心.网上已经有人解决了.我也是这样弄的.

Please run:

lspci -nn | grep 0280

The pipe symbol | is on the right side of my US keyboard on the same key with ‘\‘. Is this your device?

Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)

If so, then bcmwl-kernel-source is correct for your device. If you still have the install DVD or USB, then you can find it and its prerequisite there.
Navigate to pool > restricted > b > bcmwl and drag and drop the deb file to your desktop. Now navigate to pool > main > d > dkms and drag and drop dkms to your desktop. Now install both with:

cd ~/Desktop
sudo dpkg -i *.deb

Load the driver:

sudo modprobe wl

Your wireless should now be working.

If your device is not 14e4:43a0, tell us what it actually is and we‘ll proceed.

时间: 2024-08-27 23:47:19

一步一步 在mac上安装ubuntu的相关文章

mac 上安装 redis

mac 上安装 redis 首先必须保证mac 已经安装 xcode. 因为make时要用到 Xcode 的command Tools . (1)下载 redis   http://redis.googlecode.com/files/redis-2.8.7.tar.gz 解压到当前目录. (2)你也可以在终端下载: 1 2 curl -O http://redis.googlecode.com/files/redis-2.8.7.tar.gz sudo tar -zxf redis-2.8.7

在Mac上安装IntelliJ IDEA

这篇文章旨在介绍如何在Mac系统上安装IntelliJ IDEA,至于IntelliJ IDEA的介绍和使用方法,大家另行查阅,本篇的文章不再详细阐述. 简短解说,IntelliJ IDEA是可以用来进行java web和android 开发的,当然还有开发特点,但是平时用的多的还是这两个方面.所以,既然要进行java web和android的开发,那么肯定是需要在Mac上安装java环境的,必然也少不了java sdk 和 android sdk. 第一步,下载IntelliJ IDEA 官网

在Mac上安装MySQL

安装 下载 1.打开mysql官网:https://www.mysql.com/,选择DOWNLOADS下面的MySQL Community (GPL) Downloads » 2.选择下载版本 3.然后可以下载,下载成功后,就在Mac上安装dmg文件即可. 配置环境变量 第一步 :在终端切换到根目录,编辑./.bash_profile文件 vim ~/.bash_profile 第二步 :进入vim 编辑环境. 按下i 进入 insert 模式 ,输入 export PATH=$PATH:/u

mac上安装python3 和 sqlite的问题

建议mac上安装python3不要使用源码自己编译安装,而要使用 brew install python3 来安装 另外安装完之后创建需环境的话,要指定新的python环境,如下: virtualenv  -p /usr/local/Cellar/python3/3.6.2/bin/python3  --no-site-packages obpy17 Mac OSX 正确地同时安装Python 2.7 和Python3 Mac OSX 正确地同时安装Python 2.7 和Python3(这个是

Mac上安装brew

用过ubuntu系统的都知道,上面有一个命令apt-get 很方便可以快速的安装很多软件 特别lamp环境 都是一键安装. 在mac上也有类似的命令 brew brew用法可以访问官网地址  http://brew.sh/ 但是在mac上安装 brew 的命令如下 curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C /usr/local --strip 1 但是按照上面的方式安装,都没成功,也没有

mac上安装homebrew

1:关于homebrew下载地址 homebrew下载地址网上版本很多:我用了几个都是显示 404 bad request 如图:均无法现在 有一个网址会给出最新的 安装地址: the URL is:   http://brew.sh/index_zh-cn.html 在网站的最下面给出了通过terminal下载 homebrew的最新的下载地址: 我下载的最新的路径是: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew

mac上安装unrar和rar解压缩工具

问题描述: mac上默认不支持 rar压缩,但是从windows过来的很多文件,以及邮件中的附件都是通过rar的方式进行压缩的,所以考虑在mac上也能够进行解压缩rar文件 步骤: 1:首先到网站click here上下载RAR 5.10 beta 4 for Mac OS.    2:在terminal下执行执行解压缩命令:tar xvf rarosx-5.1.b4.tar进行解压 3:进入刚刚解压的rar目录中,cd downloads/rar 4:使用如下命令进行安装 mac上安装unra

在mac上安装nodejs

文章转载自我的个人博客  www.iwangzheng.com node.js最初是2009年发布的,目标是为聊实现事件驱动和非阻塞I/O的web服务器,应用的场景非常的广泛,有web服务器.实时应用.分布式应用.游戏.一些工具中,它是基于Chrome的V8引擎开发的.大家可以在github上找到开源代码: http://github.com/joyent/node. 之前用的电脑是windows系统的,现在换了mac之后需要在mac上重新安装下,let's start now ? git cl

Mac上安装cocoapods的步骤

命令:$ gem sources --remove https://rubygems.org///等有反应之后再敲入以下命令$ gem sources -a https://ruby.taobao.org/为了验证你的Ruby镜像是并且仅是taobao,可以用以下命令查看:$ gem sources -l只有在终端中出现下面文字才表明你上面的命令是成功的: *** CURRENT SOURCES *** http://ruby.taobao.org/ 这时候,你再次在终端中运行: $ sudo