<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cyher.NET &#187; Mac OS X</title>
	<atom:link href="http://cyher.net/tag/mac-os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://cyher.net</link>
	<description>Technology, Life, Code, OpenSource, *nix, Mac and iphone, Mobile development</description>
	<lastBuildDate>Sun, 25 Jul 2010 08:43:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>在macbook上安装各种操作系统</title>
		<link>http://cyher.net/apple/multi-os-on-macbook</link>
		<comments>http://cyher.net/apple/multi-os-on-macbook#comments</comments>
		<pubDate>Sun, 26 Jul 2009 13:32:39 +0000</pubDate>
		<dc:creator>cyher</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://cyher.net/?p=636972</guid>
		<description><![CDATA[想在macbook上装操作系统, 但是鉴于macbook于一般pc还不是很相同,所以在发行版的选择上还是有点困难的. 经过我在网上的搜索最后结合我自己的需要,在我的macbook pro上装了ubuntu,opensolaris这两个系统.(别提windows, 他就是用的人多点,其他没有什么可取之处,结论仅限于计算机爱好者).
mac上多系统启动
http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp_Ubuntu

 ubuntu上装mac
https://wiki.ubuntu.com/MactelSupportTeam/CommunityHelpPages
最后还是选择ubuntu, 这个在资深linuxer中口碑不是很好的系统, 为什么口碑不好, 我想是因为ubuntu的成功有点不劳而获的感觉吧.整个系统建立在debian上,而自身对linux内核和软件库的贡献相对他的成功要少.当然这写东西不是我们要讨论的.为什么我选择了ubuntu装在我的macbook上, 因为我需要的是一个稳定,实用,功能完善的系统,主要作桌面应用和编码而不是作系统研究的OS, ubuntu都支持的非常好,在各大linux发行办中支持的最好了.ubuntu有专门的mac支持的团队,看上面的链接,所以很人性化了,其实最重要的是简单了,我现在的情况估计不允许我长时间编译gentoo&#8230;..
推荐指数: * * * * *
mac上opensolaris
http://wiki.genunix.org/wiki/index.php/OpenSolaris_Dual_Boot
http://blogs.sun.com/judychen/entry/在macbook_pro上安装solaris
http://www.weiphone.com/viewthread.php?tid=208850
http://developers.sun.com.cn/solaris/opensolaris_2005_mac.html#author
http://wikis.sun.com/display/chosug/OpenSolaris+2009.06+on+a+MacBook+Pro
solaris,哈,同样经典的unix, 现在有opensolaris项目能够跑在x86体系上,看上面的链接就知道sun和apple的关系还是不错的,opensolaris有很好的官方支持macbook.所以希望了解solaris的童鞋不能错过了.我跟人对opensolaris也是一知半解就不多说了,不过感觉不错.
推荐值数: * * * *
mac上debian
http://wiki.debian.org/MacBook
debian,最古老,软件包最多,最自由,最有linux精神的发行版之一,是ubuntu他爹,同样对macbook支持不错,就是配置起来稍微geek点, 喜欢钻研系统的高手们,推荐使用.
推荐指数: * * * *
mac上gentoo
http://www.odi.ch/prog/macbookpro/index.php
gentoo,包管理系统借鉴bsd的port, 全部源码自编译, 高手以及时间充裕的人,我相信一定能做出最适合自己,速度最快的linux. gentoo的意思是一种游的最快的企鹅.
推荐指数: * * *
mac上opensuse
http://en.opensuse.org/Installation_on_MacBook
opensuse, 华丽, 企业级高端应用, top500的超级计算机很多用的都是suse,这是为什么呢?我也不知道&#8230;想想华丽的suse配上精致的macbook一定感觉不错,但是文档支持一般, 软件支持也一般了.
推荐值数: * *
mac上arch linux
http://wiki.archlinux.org/index.php/MacBook#Mac_OS_X_with_Arch_Linux
http://wiki.archlinux.org/index.php/MacBook_Aluminum
http://wiki.archlinux.org/index.php/MacBookPro
arch linux, 轻量级linux,可定制性高,对i686有特殊优化.　对mac支持还算不错,对于一般用户来说还是要费点事的.arch可能就是gentoo的折衷方案吧.
推荐指数: * * *
mac上fedora
http://www.cenolan.com/2009/06/installing-fedora-11-on-a-macbook/
fedora, redhat支持的开源发行版,那是相当的有实力,我也一直用.但是装在macbook上可能难度不亚于arch或者gentoo,连个官方文档都难找到.不过上面那个链接介绍的已经很清楚了,　喜欢fedora的童鞋别错过了,毕竟fedora还是一个非常不错的发行版.
推荐指数: * * *
mac上freebsd
http://wiki.freebsd.org/AppleMacbook
freebsd, 和mac os x 同属一系. 优秀的架构,很适合作服务器应用, 让我想不到的是,对mac的支持也是相当的不错的,但是用起来还是需要一些经验和技术的,总之,freebsd装在mac上有些怪怪的,不过freebsd还是相当有内涵的OS大家不妨试试.
推荐指数: * [...]]]></description>
			<content:encoded><![CDATA[<p>想在macbook上装操作系统, 但是鉴于macbook于一般pc还不是很相同,所以在发行版的选择上还是有点困难的. 经过我在网上的搜索最后结合我自己的需要,在我的macbook pro上装了ubuntu,opensolaris这两个系统.(别提windows, 他就是用的人多点,其他没有什么可取之处,结论仅限于计算机爱好者).</p>
<p><span style="color: #ff0000;">mac上多系统启动</span><br />
<a href="http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp_Ubuntu">http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp_Ubuntu</a></p>
<p><a href="http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp_Ubuntu"></a><br />
<span style="color: #ff0000;"> ubuntu上装mac</span><br />
<a href="https://wiki.ubuntu.com/MactelSupportTeam/CommunityHelpPages">https://wiki.ubuntu.com/MactelSupportTeam/CommunityHelpPages</a></p>
<p>最后还是选择ubuntu, 这个在资深linuxer中口碑不是很好的系统, 为什么口碑不好, 我想是因为ubuntu的成功有点不劳而获的感觉吧.整个系统建立在debian上,而自身对linux内核和软件库的贡献相对他的成功要少.当然这写东西不是我们要讨论的.为什么我选择了ubuntu装在我的macbook上, 因为我需要的是一个稳定,实用,功能完善的系统,主要作桌面应用和编码而不是作系统研究的OS, ubuntu都支持的非常好,在各大linux发行办中支持的最好了.ubuntu有专门的mac支持的团队,看上面的链接,所以很人性化了,其实最重要的是简单了,我现在的情况估计不允许我长时间编译gentoo&#8230;..</p>
<p>推荐指数: * * * * *</p>
<p><span style="color: #ff0000;">mac上opensolaris</span><br />
<a href="http://wiki.genunix.org/wiki/index.php/OpenSolaris_Dual_Boot">http://wiki.genunix.org/wiki/index.php/OpenSolaris_Dual_Boot</a><br />
<a href="http://blogs.sun.com/judychen/entry/%E5%9C%A8macbook_pro%E4%B8%8A%E5%AE%89%E8%A3%85solaris">http://blogs.sun.com/judychen/entry/在macbook_pro上安装solaris</a><br />
<a href="http://www.weiphone.com/viewthread.php?tid=208850">http://www.weiphone.com/viewthread.php?tid=208850</a><br />
<a href="http://developers.sun.com.cn/solaris/opensolaris_2005_mac.html#author">http://developers.sun.com.cn/solaris/opensolaris_2005_mac.html#author</a><br />
<a href="http://wikis.sun.com/display/chosug/OpenSolaris+2009.06+on+a+MacBook+Pro">http://wikis.sun.com/display/chosug/OpenSolaris+2009.06+on+a+MacBook+Pro</a></p>
<p>solaris,哈,同样经典的unix, 现在有opensolaris项目能够跑在x86体系上,看上面的链接就知道sun和apple的关系还是不错的,opensolaris有很好的官方支持macbook.所以希望了解solaris的童鞋不能错过了.我跟人对opensolaris也是一知半解就不多说了,不过感觉不错.</p>
<p>推荐值数: * * * *</p>
<p><span style="color: #ff0000;">mac上debian</span><br />
<a href="http://wiki.debian.org/MacBook">http://wiki.debian.org/MacBook</a><br />
debian,最古老,软件包最多,最自由,最有linux精神的发行版之一,是ubuntu他爹,同样对macbook支持不错,就是配置起来稍微geek点, 喜欢钻研系统的高手们,推荐使用.</p>
<p>推荐指数: * * * *</p>
<p><span style="color: #ff0000;">mac上gentoo</span><br />
<a href="http://www.odi.ch/prog/macbookpro/index.php">http://www.odi.ch/prog/macbookpro/index.php</a><br />
gentoo,包管理系统借鉴bsd的port, 全部源码自编译, 高手以及时间充裕的人,我相信一定能做出最适合自己,速度最快的linux. gentoo的意思是一种游的最快的企鹅.</p>
<p>推荐指数: * * *</p>
<p><span style="color: #ff0000;">mac上opensuse</span><br />
<a href="http://en.opensuse.org/Installation_on_MacBook">http://en.opensuse.org/Installation_on_MacBook</a><br />
opensuse, 华丽, 企业级高端应用, top500的超级计算机很多用的都是suse,这是为什么呢?我也不知道&#8230;想想华丽的suse配上精致的macbook一定感觉不错,但是文档支持一般, 软件支持也一般了.</p>
<p>推荐值数: * *</p>
<p><span style="color: #ff0000;">mac上arch linux</span><br />
<a href="http://wiki.archlinux.org/index.php/MacBook#Mac_OS_X_with_Arch_Linux">http://wiki.archlinux.org/index.php/MacBook#Mac_OS_X_with_Arch_Linux</a><br />
<a href="http://wiki.archlinux.org/index.php/MacBook_Aluminum">http://wiki.archlinux.org/index.php/MacBook_Aluminum</a><br />
<a href="http://wiki.archlinux.org/index.php/MacBookPro">http://wiki.archlinux.org/index.php/MacBookPro</a><br />
arch linux, 轻量级linux,可定制性高,对i686有特殊优化.　对mac支持还算不错,对于一般用户来说还是要费点事的.arch可能就是gentoo的折衷方案吧.</p>
<p>推荐指数: * * *</p>
<p><span style="color: #ff0000;">mac上fedora</span><br />
<a href="http://www.cenolan.com/2009/06/installing-fedora-11-on-a-macbook/">http://www.cenolan.com/2009/06/installing-fedora-11-on-a-macbook/</a><br />
fedora, redhat支持的开源发行版,那是相当的有实力,我也一直用.但是装在macbook上可能难度不亚于arch或者gentoo,连个官方文档都难找到.不过上面那个链接介绍的已经很清楚了,　喜欢fedora的童鞋别错过了,毕竟fedora还是一个非常不错的发行版.</p>
<p>推荐指数: * * *</p>
<p><span style="color: #ff0000;">mac上freebsd</span><br />
<a href="http://wiki.freebsd.org/AppleMacbook">http://wiki.freebsd.org/AppleMacbook</a><br />
freebsd, 和mac os x 同属一系. 优秀的架构,很适合作服务器应用, 让我想不到的是,对mac的支持也是相当的不错的,但是用起来还是需要一些经验和技术的,总之,freebsd装在mac上有些怪怪的,不过freebsd还是相当有内涵的OS大家不妨试试.</p>
<p>推荐指数: * * *</p>
<p>后记: 我们以前在pc上装hackintosh, 现在我们也在mac上装各种开源系统,这里我没有写安装过程,是因为,上面的链接里面已经讲的非常清楚了.写这个目的就是让人们知道,世界上不只有windows和mac os x, 还有许多优秀的系统, 在某些方面甚至更优秀.希望我们中国的开源事业能从OS开始, windows是个毒瘤, 把我们变的越来越傻, 我们越用越难以脱离, 我们就是这样被微软控制的.声明:没有说微软的技术不好, 只是它太封闭, 太独裁. 我们现在的版权意识很差,windows用的都是基本盗版的, 等到盗版不了的时候, 只有乖乖的交钱了. linux不仅免费,还能让我们更了解操作系统, 这样才是安全的.</p>

	标签：<a href="http://cyher.net/tag/apple" title="apple" rel="tag">apple</a>, <a href="http://cyher.net/tag/fedora" title="fedora" rel="tag">fedora</a>, <a href="http://cyher.net/tag/linux" title="linux" rel="tag">linux</a>, <a href="http://cyher.net/tag/mac-os-x" title="Mac OS X" rel="tag">Mac OS X</a>, <a href="http://cyher.net/tag/macbook" title="macbook" rel="tag">macbook</a>, <a href="http://cyher.net/tag/opensolaris" title="opensolaris" rel="tag">opensolaris</a>, <a href="http://cyher.net/tag/opensuse" title="opensuse" rel="tag">opensuse</a>, <a href="http://cyher.net/tag/ubuntu" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://cyher.net/tag/unix" title="unix" rel="tag">unix</a><br />

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://cyher.net/gnulinux/macbook-pro-ubuntu10-4-bcm-wireless-driver" title="macbook pro ubuntu10.4 bcm无线网卡问题修复 (2010年05月2号)">macbook pro ubuntu10.4 bcm无线网卡问题修复</a> (0)</li>
	<li><a href="http://cyher.net/apple/macos-x/sunpinyin" title="Mac OS X 上的开源输入法,SunPinyin. (2009年05月7号)">Mac OS X 上的开源输入法,SunPinyin.</a> (2)</li>
	<li><a href="http://cyher.net/apple/macos-x/technology_is_a_kind_of_belief_appl" title="科技是一种信仰(apple&#038;linux) (2009年01月12号)">科技是一种信仰(apple&#038;linux)</a> (5)</li>
	<li><a href="http://cyher.net/gnulinux/bad_cheese_linux" title="变质的奶酪,linux! (2009年01月18号)">变质的奶酪,linux!</a> (2)</li>
	<li><a href="http://cyher.net/gnulinux/unix-center" title="unix-center.net需要帮助 (2009年07月15号)">unix-center.net需要帮助</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://cyher.net/apple/multi-os-on-macbook/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>macbook 换硬盘,数据转移</title>
		<link>http://cyher.net/hardware/macbook-data-copy</link>
		<comments>http://cyher.net/hardware/macbook-data-copy#comments</comments>
		<pubDate>Sun, 26 Jul 2009 06:16:49 +0000</pubDate>
		<dc:creator>cyher</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[数据]]></category>

		<guid isPermaLink="false">http://cyher.net/?p=636968</guid>
		<description><![CDATA[前几日想给我的macbook pro 升级一下硬盘, 目的就是为了在macbook上装上我linux和 opensolaris. 升级的硬盘是WD的500G蓝盘 5400转.这个硬盘口碑不错,测试数据也比我macbook pro原配的日立硬盘高了20分,同样是5400转差距咋就那么大呢&#8230;.
好了, 买硬盘容易,数据转移是大家头疼的一件事. 有件事不明白,就是不知道为什么一些销售apple产品的第三方店铺,向用户要数据转移的费用,比如硬盘是500元,数据转移费用是100元.我顶不住了,我就写了下面的文章, 愿看过的人,再给mac换硬盘的时候能够省下100元把,呵呵. 当然, 已经会的大侠就当看笑话了,因为这100元让别人挣了真的是太冤了.
步骤是这样的:

先把apple的硬盘拆下来,换上新的硬盘.(这个我觉得很容易吧)打开后盖,卸下一个螺丝,硬盘就下来了,不能不赞一下apple的工业设计..
接下来,你需要一个移动硬盘盒,把你的老硬盘装上去,USB,firewire都行,最好是后者,速度快支持更好.然后把移动硬盘查到你的macbook上
放入leopard的安装光盘, 重启按住c键或者option键,进入重装系统界面, 选择磁盘工具

 源磁盘把你的移动硬盘也就是你的原来的硬盘拖拽到源磁盘位置, 把你的新装硬盘拖拽到目的位置. 勾上抹掉目的磁盘. 然后点恢复, 就是漫长的等待时间,我108G的数据搞了3个小时吧.完了以后直接重启, 现在的硬盘和原来一摸一样,apple真得是太人性化了.很简单的设置,方便对计算机不熟悉的用户.

P.S.

如果你有time Machine设备,最好还是用time Machine.
如果其实这个操作不一定要在启动的时候作,在进入系统里面打开磁盘工具是一样的,但是我为了数据安全还是没有进入系统.可能进入系统更快一点.若,实在系统里面作这个操作的话, 那就要把你的新硬盘放入硬盘盒那样恢复了.
希望我写这个不会伤害到商家利益, 但是作为一个消费者,这么简单的操作,我还是不花那冤枉钱了.


	标签：Mac OS X, macbook, 数据

	相关日志
	
	在macbook上安装各种操作系统 (0)
	vim on mac (3)
	macbook pro ubuntu10.4 bcm无线网卡问题修复 (0)
	Mac OS X 上的开源输入法,SunPinyin. (2)
	apple,我也尝尝! (3)


]]></description>
			<content:encoded><![CDATA[<p>前几日想给我的macbook pro 升级一下硬盘, 目的就是为了在macbook上装上我linux和 opensolaris. 升级的硬盘是WD的500G蓝盘 5400转.这个硬盘口碑不错,测试数据也比我macbook pro原配的日立硬盘高了20分,同样是5400转差距咋就那么大呢&#8230;.</p>
<p>好了, 买硬盘容易,数据转移是大家头疼的一件事. 有件事不明白,就是不知道为什么一些销售apple产品的第三方店铺,向用户要数据转移的费用,比如硬盘是500元,数据转移费用是100元.我顶不住了,我就写了下面的文章, 愿看过的人,再给mac换硬盘的时候能够省下100元把,呵呵. 当然, 已经会的大侠就当看笑话了,因为这100元让别人挣了真的是太冤了.</p>
<p>步骤是这样的:</p>
<ol>
<li>先把apple的硬盘拆下来,换上新的硬盘.(这个我觉得很容易吧)打开后盖,卸下一个螺丝,硬盘就下来了,不能不赞一下apple的工业设计..</li>
<li>接下来,你需要一个移动硬盘盒,把你的老硬盘装上去,USB,firewire都行,最好是后者,速度快支持更好.然后把移动硬盘查到你的macbook上</li>
<li>放入leopard的安装光盘, 重启按住c键或者option键,进入重装系统界面, 选择磁盘工具<br />
<a href="http://cyher.net/wp-content/uploads/2009/07/图片-4.png" rel="lightbox[636968]"><img class="aligncenter size-full wp-image-636969" title="diskutilits" src="http://cyher.net/wp-content/uploads/2009/07/图片-4.png" alt="diskutilits" width="741" height="639" /></a></li>
<li> 源磁盘把你的移动硬盘也就是你的原来的硬盘拖拽到源磁盘位置, 把你的新装硬盘拖拽到目的位置. 勾上抹掉目的磁盘. 然后点恢复, 就是漫长的等待时间,我108G的数据搞了3个小时吧.完了以后直接重启, 现在的硬盘和原来一摸一样,apple真得是太人性化了.很简单的设置,方便对计算机不熟悉的用户.</li>
</ol>
<p>P.S.</p>
<ul>
<li>如果你有time Machine设备,最好还是用time Machine.</li>
<li>如果其实这个操作不一定要在启动的时候作,在进入系统里面打开磁盘工具是一样的,但是我为了数据安全还是没有进入系统.可能进入系统更快一点.若,实在系统里面作这个操作的话, 那就要把你的新硬盘放入硬盘盒那样恢复了.</li>
<li>希望我写这个不会伤害到商家利益, 但是作为一个消费者,这么简单的操作,我还是不花那冤枉钱了.</li>
</ul>

	标签：<a href="http://cyher.net/tag/mac-os-x" title="Mac OS X" rel="tag">Mac OS X</a>, <a href="http://cyher.net/tag/macbook" title="macbook" rel="tag">macbook</a>, <a href="http://cyher.net/tag/%e6%95%b0%e6%8d%ae" title="数据" rel="tag">数据</a><br />

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://cyher.net/apple/multi-os-on-macbook" title="在macbook上安装各种操作系统 (2009年07月26号)">在macbook上安装各种操作系统</a> (0)</li>
	<li><a href="http://cyher.net/vim/vim-on-mac" title="vim on mac (2009年06月18号)">vim on mac</a> (3)</li>
	<li><a href="http://cyher.net/gnulinux/macbook-pro-ubuntu10-4-bcm-wireless-driver" title="macbook pro ubuntu10.4 bcm无线网卡问题修复 (2010年05月2号)">macbook pro ubuntu10.4 bcm无线网卡问题修复</a> (0)</li>
	<li><a href="http://cyher.net/apple/macos-x/sunpinyin" title="Mac OS X 上的开源输入法,SunPinyin. (2009年05月7号)">Mac OS X 上的开源输入法,SunPinyin.</a> (2)</li>
	<li><a href="http://cyher.net/apple/apple_tast" title="apple,我也尝尝! (2009年02月17号)">apple,我也尝尝!</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://cyher.net/hardware/macbook-data-copy/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>vim on mac</title>
		<link>http://cyher.net/vim/vim-on-mac</link>
		<comments>http://cyher.net/vim/vim-on-mac#comments</comments>
		<pubDate>Thu, 18 Jun 2009 11:23:34 +0000</pubDate>
		<dc:creator>cyher</dc:creator>
				<category><![CDATA[vim]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://cyher.net/?p=636949</guid>
		<description><![CDATA[vim 是一个跨平台的编辑器，号称世界第2(第一是Emacs).但是俺没有用过，不敢妄加评论。最近学习python,看mac上也有python支持，我索性就在想在mac上搭建开发环境，其实也没啥开发环境。。。就是装个新版的python和一个vim。如果习惯了 gvim的话 这里有更快的选择就是MacVim 。下载安装就行了，很简单。但是我偏偏有点怪癖，喜欢cmdline，所以就想找个好用的命令行的vim。mac自带的vim版本低不说把，还不好用有好多选项都没有打开，比如python就没有支持，索性自己动手丰衣足食。
首先呢，macports这个东西是必不可少的，他就是mac上面的yum,apt-get.当然 port这个程序就是在BSD上流行的软件包管理程序。具体安装和使用我就不多说了，看guide.macports.org讲得很清楚。等把ports设置好了以后，下面的事情就是很简单了。
在终端中输入

sudo port install vim +python +cscope +porfile +clientserver \
+emacs_tags +rightleft +dnd +profile +xim +tcl

剩下的就只有等待了。等到装好以后，可以这样看看vim是不是支持python了

vim --version

可以看见这样的打印

VIM - Vi IMproved 7.2 &#40;2008 Aug 9, compiled Jun 17 2009 23:32:44&#41;
MacOS X &#40;unix&#41; version
Included patches: 1-182
Compiled by cyher@icyhex-pro.local
Normal version without GUI.  Features included &#40;+&#41; or not &#40;-&#41;:
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
-clientserver [...]]]></description>
			<content:encoded><![CDATA[<p>vim 是一个跨平台的编辑器，号称世界第2(第一是Emacs).但是俺没有用过，不敢妄加评论。最近学习python,看mac上也有python支持，我索性就在想在mac上搭建开发环境，其实也没啥开发环境。。。就是装个新版的python和一个vim。如果习惯了 gvim的话 这里有更快的选择就是<a href="http://macvim.org/" target="_blank">MacVim</a> 。下载安装就行了，很简单。但是我偏偏有点怪癖，喜欢cmdline，所以就想找个好用的命令行的vim。mac自带的vim版本低不说把，还不好用有好多选项都没有打开，比如python就没有支持，索性自己动手丰衣足食。</p>
<p>首先呢，<a href="http://www.macports.org/" target="_blank">macports</a>这个东西是必不可少的，他就是mac上面的yum,apt-get.当然 port这个程序就是在BSD上流行的软件包管理程序。具体安装和使用我就不多说了，看<a href="http://guide.macports.org/" target="_blank">guide.macports.org</a>讲得很清楚。等把ports设置好了以后，下面的事情就是很简单了。<br />
在终端中输入</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">sudo port install vim <span style="color: #339933;">+</span>python <span style="color: #339933;">+</span>cscope <span style="color: #339933;">+</span>porfile <span style="color: #339933;">+</span>clientserver \
<span style="color: #339933;">+</span>emacs_tags <span style="color: #339933;">+</span>rightleft <span style="color: #339933;">+</span>dnd <span style="color: #339933;">+</span>profile <span style="color: #339933;">+</span>xim <span style="color: #339933;">+</span>tcl</pre></div></div>

<p>剩下的就只有等待了。等到装好以后，可以这样看看vim是不是支持python了</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">vim <span style="color: #339933;">--</span>version</pre></div></div>

<p>可以看见这样的打印</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">VIM <span style="color: #339933;">-</span> Vi IMproved <span style="color:#800080;">7.2</span> <span style="color: #009900;">&#40;</span><span style="color: #0000dd;">2008</span> Aug <span style="color: #0000dd;">9</span><span style="color: #339933;">,</span> compiled Jun <span style="color: #0000dd;">17</span> <span style="color: #0000dd;">2009</span> <span style="color: #0000dd;">23</span><span style="color: #339933;">:</span><span style="color: #0000dd;">32</span><span style="color: #339933;">:</span><span style="color: #0000dd;">44</span><span style="color: #009900;">&#41;</span>
MacOS X <span style="color: #009900;">&#40;</span>unix<span style="color: #009900;">&#41;</span> version
Included patches<span style="color: #339933;">:</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">-</span><span style="color: #0000dd;">182</span>
Compiled by cyher@icyhex<span style="color: #339933;">-</span>pro.<span style="color: #202020;">local</span>
Normal version without GUI.  <span style="color: #202020;">Features</span> included <span style="color: #009900;">&#40;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span> or not <span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span>
<span style="color: #339933;">-</span>arabic <span style="color: #339933;">+</span>autocmd <span style="color: #339933;">-</span>balloon_eval <span style="color: #339933;">-</span>browse <span style="color: #339933;">+</span>builtin_terms <span style="color: #339933;">+</span>byte_offset <span style="color: #339933;">+</span>cindent
<span style="color: #339933;">-</span>clientserver <span style="color: #339933;">-</span>clipboard <span style="color: #339933;">+</span>cmdline_compl <span style="color: #339933;">+</span>cmdline_hist <span style="color: #339933;">+</span>cmdline_info <span style="color: #339933;">+</span>comments
<span style="color: #339933;">+</span>cryptv <span style="color: #339933;">+</span>cscope <span style="color: #339933;">+</span>cursorshape <span style="color: #339933;">+</span>dialog_con <span style="color: #339933;">+</span>diff <span style="color: #339933;">+</span>digraphs <span style="color: #339933;">-</span>dnd <span style="color: #339933;">-</span>ebcdic
<span style="color: #339933;">-</span>emacs_tags <span style="color: #339933;">+</span>eval <span style="color: #339933;">+</span>ex_extra <span style="color: #339933;">+</span>extra_search <span style="color: #339933;">-</span>farsi <span style="color: #339933;">+</span>file_in_path <span style="color: #339933;">+</span>find_in_path
<span style="color: #339933;">+</span><span style="color: #993333;">float</span> <span style="color: #339933;">+</span>folding <span style="color: #339933;">-</span>footer <span style="color: #339933;">+</span>fork<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span>gettext <span style="color: #339933;">-</span>hangul_input <span style="color: #339933;">+</span>iconv <span style="color: #339933;">+</span>insert_expand
<span style="color: #339933;">+</span>jumplist <span style="color: #339933;">-</span>keymap <span style="color: #339933;">-</span>langmap <span style="color: #339933;">+</span>libcall <span style="color: #339933;">+</span>linebreak <span style="color: #339933;">+</span>lispindent <span style="color: #339933;">+</span>listcmds <span style="color: #339933;">+</span>localmap
<span style="color: #339933;">+</span>menu <span style="color: #339933;">+</span>mksession <span style="color: #339933;">+</span>modify_fname <span style="color: #339933;">+</span>mouse <span style="color: #339933;">-</span>mouseshape <span style="color: #339933;">-</span>mouse_dec <span style="color: #339933;">-</span>mouse_gpm
<span style="color: #339933;">-</span>mouse_jsbterm <span style="color: #339933;">-</span>mouse_netterm <span style="color: #339933;">-</span>mouse_sysmouse <span style="color: #339933;">+</span>mouse_xterm <span style="color: #339933;">+</span>multi_byte
<span style="color: #339933;">+</span>multi_lang <span style="color: #339933;">-</span>mzscheme <span style="color: #339933;">-</span>netbeans_intg <span style="color: #339933;">-</span>osfiletype <span style="color: #339933;">+</span>path_extra <span style="color: #339933;">-</span>perl <span style="color: #339933;">+</span>postscript
<span style="color: #339933;">+</span>printer <span style="color: #339933;">-</span>profile <span style="color: #339933;">+</span>python <span style="color: #339933;">+</span>quickfix <span style="color: #339933;">+</span>reltime <span style="color: #339933;">-</span>rightleft <span style="color: #339933;">-</span>ruby <span style="color: #339933;">+</span>scrollbind
<span style="color: #339933;">-</span>signs <span style="color: #339933;">+</span>smartindent <span style="color: #339933;">-</span>sniff <span style="color: #339933;">+</span>statusline <span style="color: #339933;">-</span>sun_workshop <span style="color: #339933;">+</span>syntax <span style="color: #339933;">+</span>tag_binary
<span style="color: #339933;">+</span>tag_old_static <span style="color: #339933;">-</span>tag_any_white <span style="color: #339933;">+</span>tcl <span style="color: #339933;">+</span>terminfo <span style="color: #339933;">+</span>termresponse <span style="color: #339933;">+</span>textobjects <span style="color: #339933;">+</span>title
 <span style="color: #339933;">-</span>toolbar <span style="color: #339933;">+</span>user_commands <span style="color: #339933;">+</span>vertsplit <span style="color: #339933;">+</span>virtualedit <span style="color: #339933;">+</span>visual <span style="color: #339933;">+</span>visualextra <span style="color: #339933;">+</span>viminfo
<span style="color: #339933;">+</span>vreplace <span style="color: #339933;">+</span>wildignore <span style="color: #339933;">+</span>wildmenu <span style="color: #339933;">+</span>windows <span style="color: #339933;">+</span>writebackup <span style="color: #339933;">-</span>X11 <span style="color: #339933;">-</span>xfontset <span style="color: #339933;">-</span>xim <span style="color: #339933;">-</span>xsmp
 <span style="color: #339933;">-</span>xterm_clipboard <span style="color: #339933;">-</span>xterm_save
   system vimrc file<span style="color: #339933;">:</span> <span style="color: #ff0000;">&quot;/opt/local/etc/vimrc&quot;</span>
     user vimrc file<span style="color: #339933;">:</span> <span style="color: #ff0000;">&quot;$HOME/.vimrc&quot;</span>
      user exrc file<span style="color: #339933;">:</span> <span style="color: #ff0000;">&quot;$HOME/.exrc&quot;</span>
  fall<span style="color: #339933;">-</span>back <span style="color: #b1b100;">for</span> $VIM<span style="color: #339933;">:</span> <span style="color: #ff0000;">&quot;/opt/local/share/vim&quot;</span></pre></div></div>

<p>里面有 +python这样的字样就对了，里面还有许多默认是设置没有的如：+cscope等选项吧，这样的vim就比较好用了和fedora中的vim-enhance包的vim基本上一样了。vim的最佳伴侣是什么我想应该是ctags了，但是mac默认安装的确是很老的版本大家也可以version一下看看。下面就装一下ctags。同样的道理</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">sudo port install ctags</pre></div></div>

<p>装好以后，基本的vim编程环境已经搭建完毕，反正知道有ports这个软件了，觉得什么不爽，安装就是了，嘿嘿。感谢开源！</p>

	标签：<a href="http://cyher.net/tag/mac-os-x" title="Mac OS X" rel="tag">Mac OS X</a>, <a href="http://cyher.net/tag/macports" title="macports" rel="tag">macports</a>, <a href="http://cyher.net/tag/python" title="python" rel="tag">python</a>, <a href="http://cyher.net/tag/vim" title="vim" rel="tag">vim</a><br />

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://cyher.net/apple/multi-os-on-macbook" title="在macbook上安装各种操作系统 (2009年07月26号)">在macbook上安装各种操作系统</a> (0)</li>
	<li><a href="http://cyher.net/hardware/macbook-data-copy" title="macbook 换硬盘,数据转移 (2009年07月26号)">macbook 换硬盘,数据转移</a> (4)</li>
	<li><a href="http://cyher.net/apple/macos-x/sunpinyin" title="Mac OS X 上的开源输入法,SunPinyin. (2009年05月7号)">Mac OS X 上的开源输入法,SunPinyin.</a> (2)</li>
	<li><a href="http://cyher.net/peripherals/happy-hacking-keyboard-professional-review" title="Happy Hacking Keyboard Professional Review(中文翻译) (2009年04月8号)">Happy Hacking Keyboard Professional Review(中文翻译)</a> (3)</li>
	<li><a href="http://cyher.net/peripherals/the-art-of-hhkb-pro-2" title="Happy Hacking keyboard pro 2的艺术 (2009年04月10号)">Happy Hacking keyboard pro 2的艺术</a> (7)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://cyher.net/vim/vim-on-mac/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mac OS X 上的开源输入法,SunPinyin.</title>
		<link>http://cyher.net/apple/macos-x/sunpinyin</link>
		<comments>http://cyher.net/apple/macos-x/sunpinyin#comments</comments>
		<pubDate>Thu, 07 May 2009 10:56:59 +0000</pubDate>
		<dc:creator>cyher</dc:creator>
				<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[sunPinyin]]></category>
		<category><![CDATA[输入法]]></category>

		<guid isPermaLink="false">http://cyher.net/?p=636946</guid>
		<description><![CDATA[
在mac os下一直在找一个好用的输入法,用了fit,可以说是非常不错,但是作者好像不怎么更新了,Qim上次团购的时候给错过了,最近在opensolaris的网站上广的时候发现了sunPinyin, 就下仔用了用 ,感觉还是很不错的.最起码很fit我的输入习惯, 至于安装方式也很新颖,让大家安装的时候一定是最新的数据库和软件版本,看来还是挺为用户着想的.这就是开发者的blog 在blog上有下载.这里是项目主页,有兴趣的可以看看

	标签：apple, Mac OS X, opensolaris, sunPinyin, 输入法

	相关日志
	
	在macbook上安装各种操作系统 (0)
	科技是一种信仰(apple&#038;linux) (5)
	原来苹果不会那么傻阿 (1)
	vim on mac (3)
	macbook 换硬盘,数据转移 (4)


]]></description>
			<content:encoded><![CDATA[<p><a href="http://cyher.net/wp-content/uploads/2009/05/e59bbee78987-3.png" rel="lightbox[636946]"><img class="aligncenter size-full wp-image-636947" title="sunpinyin" src="http://cyher.net/wp-content/uploads/2009/05/e59bbee78987-3.png" alt="sunpinyin" width="408" height="316" /></a></p>
<p>在mac os下一直在找一个好用的输入法,用了fit,可以说是非常不错,但是作者好像不怎么更新了,Qim上次团购的时候给错过了,最近在opensolaris的网站上广的时候发现了sunPinyin, 就下仔用了用 ,感觉还是很不错的.最起码很fit我的输入习惯, 至于安装方式也很新颖,让大家安装的时候一定是最新的数据库和软件版本,看来还是挺为用户着想的.这就是开发者的<a href="http://blogs.sun.com/yongsun/">blog</a> 在blog上有下载.这里是<a href="http://opensolaris.org/os/project/input-method/">项目主页</a>,有兴趣的可以看看</p>

	标签：<a href="http://cyher.net/tag/apple" title="apple" rel="tag">apple</a>, <a href="http://cyher.net/tag/mac-os-x" title="Mac OS X" rel="tag">Mac OS X</a>, <a href="http://cyher.net/tag/opensolaris" title="opensolaris" rel="tag">opensolaris</a>, <a href="http://cyher.net/tag/sunpinyin" title="sunPinyin" rel="tag">sunPinyin</a>, <a href="http://cyher.net/tag/%e8%be%93%e5%85%a5%e6%b3%95" title="输入法" rel="tag">输入法</a><br />

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://cyher.net/apple/multi-os-on-macbook" title="在macbook上安装各种操作系统 (2009年07月26号)">在macbook上安装各种操作系统</a> (0)</li>
	<li><a href="http://cyher.net/apple/macos-x/technology_is_a_kind_of_belief_appl" title="科技是一种信仰(apple&#038;linux) (2009年01月12号)">科技是一种信仰(apple&#038;linux)</a> (5)</li>
	<li><a href="http://cyher.net/apple/apple_is_not_stupid" title="原来苹果不会那么傻阿 (2009年09月10号)">原来苹果不会那么傻阿</a> (1)</li>
	<li><a href="http://cyher.net/vim/vim-on-mac" title="vim on mac (2009年06月18号)">vim on mac</a> (3)</li>
	<li><a href="http://cyher.net/hardware/macbook-data-copy" title="macbook 换硬盘,数据转移 (2009年07月26号)">macbook 换硬盘,数据转移</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://cyher.net/apple/macos-x/sunpinyin/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
