<?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"
	>

<channel>
	<title>Activars &#187; Linux</title>
	<atom:link href="http://www.activars.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activars.com</link>
	<description>Be active, make things happen</description>
	<pubDate>Sat, 15 Nov 2008 22:54:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>VirtualHost browser cache</title>
		<link>http://www.activars.com/2008/08/virtualhost-browser-cache/</link>
		<comments>http://www.activars.com/2008/08/virtualhost-browser-cache/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 13:09:44 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Management]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Browser]]></category>

		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=79</guid>
		<description><![CDATA[Setting up a virtual host on PC, Mac or Linux isn&#8217;t difficult, but the browser cache problem drives me crazy. Apart from editing the /etc/hosts mappings and httpd.conf, you need to restart both Apache and browser. Refreshing the browser(Firefox) doesn&#8217;t clean the cache, so the result will be always add /xampp/index.php at the end of [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up a virtual host on PC, Mac or Linux isn&#8217;t difficult, but the browser cache problem drives me crazy. Apart from editing the <code>/etc/hosts</code> mappings and <code>httpd.conf</code>, you need to restart both Apache and browser. Refreshing the browser(Firefox) doesn&#8217;t clean the cache, so the result will be always add <code>/xampp/index.php</code> at the end of the virtual host name.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/08/virtualhost-browser-cache/feed/</wfw:commentRss>
		</item>
		<item>
		<title>15 Years Later, It&#8217;s Time for Wine?</title>
		<link>http://www.activars.com/2008/06/15-years-later-its-time-for-wine/</link>
		<comments>http://www.activars.com/2008/06/15-years-later-its-time-for-wine/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 10:53:00 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=41</guid>
		<description><![CDATA[After 15 years&#8217; development of Wine, we&#8217;ve been through many test and beta versions. Finally, a stable Wine is available to all the users.
Wine is an open source implementation of the Windows application programming interface (API) on top of X, OpenGL and Unix that allows Windows applications to run on other operating systems, including Linux [...]]]></description>
			<content:encoded><![CDATA[<p><a class="noicon" rel="lightbox" href="http://www.activars.com/wp-content/uploads/2008/06/winehq_top_logo.png"><img class="alignleft size-medium wp-image-42" title="Wine Logo" src="http://www.activars.com/wp-content/uploads/2008/06/winehq_top_logo.png" alt="Wine Logo" width="209" height="99" /></a>After 15 years&#8217; development of <a href="http://www.winehq.org/" target="_blank">Wine</a>, we&#8217;ve been through many test and beta versions. Finally, a stable Wine is available to all the users.</p>
<p><span id="intelliTxt">Wine is an open source implementation of the Windows application programming interface (API) on top of X, OpenGL and Unix that allows Windows applications to run on other operating systems, including Linux and Mac OS, without the need to run Windows as well.</span></p>
<p>Of course, open source is free for any users. So they can be build and compiled on your operating system. I used previous Wine beta build on a Linux(Ubuntu 6.*), I had a few troubles:</p>
<ul>
<li>Fonts was an issue, MS holds the license for all the Windows fonts. If we want to display the same font as windows shows, we have to copy them from a windows pc to the font folder in Wine file structure.</li>
<li>Performance. If you run a basic application should encounter no problem, the one trouble is playing games that requires better graphics. You would expect the performance of the graphic card was reduced. (I played Need for Speed, it was pretty slow while on Windows I can set to higher resolution).</li>
<li>Security. Wine seems to use some crucial .dll(s) in its file structure, you might get some virus that lives on windows, but this should not affect your linux or mac operating system.</li>
</ul>
<p>My experience was that commercial version(<a href="http://www.codeweavers.com/products/support_wine/" target="_blank">Crossover</a>, developed by <a href="http://www.codeweavers.com/" target="_blank"><span id="intelliTxt">CodeWeavers</span></a>) was decent, however it still had font issue.  I was able to run lower versions MS Offic* (i.e. 97, 2000). I encountered a few software crash problem, but the office recover feature worked. (Be careful when you use wine for important tasks, the suggestion is to save your work frequently.) They offered easy setup, however, it lacks of flexibilities comparing to wine.</p>
<p>Well, don&#8217;t like Wine? but still want to run windows apps on linux or mac? You may try virtual machines. the most well knwon distributor is Vmware as they ship several versions of Vmwares on varies type of operating system. If you are linux users, they ship the Vmware for free( suppose what we call it open source culture). <a href="http://www.vmware.com/mac" target="_blank">Vmware Fusion</a> provides free 30 trials. It&#8217;s better than <a href="http://www.parallels.com/en/products/desktop/" target="_blank">Parallel Desktop</a>, a virtual machine solution for Mac, because the new version offers DirectX 9.0(or higher) support.</p>
<p>If you have time and tried things out, I would like to hear about your experience.. <img src='http://www.activars.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/06/15-years-later-its-time-for-wine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Disable iPhone EDGE</title>
		<link>http://www.activars.com/2008/03/hello-world/</link>
		<comments>http://www.activars.com/2008/03/hello-world/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 11:24:12 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Hardwares]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=1</guid>
		<description><![CDATA[前一阵子试着用SFTP通过Wireless network连接到iPhone上, 研究file system的结构. 发现和MaxOS的却别不大, 而且相当的相近. 由于英国这边O2和Apple合作, 1.1.2版本后的Firmwire会不现实EDGE的设置, 如果不是签合共来的 - Jailbreak/Unlock, 那EDGE的开销可不是个小数目. 7.5英镑每兆。
那些说用第二张 Sim Card把EDGE设定界面弄出来再换成O2卡的方法基本上是没有用的. 另外一个就是用Mac的Property list editor 直接修改O2_UK.plist.  加一个 &#8216;AllowEDGEEditing&#8217; key 和 value &#8216;true&#8217; 到你的property list中, 然后保存, 上传这个文件到同样的位置并且覆盖原来的文件. 现在到General-&#62; Network 就能看到EDGE的按钮再次出现. 最后随便输入一个用户名和密码就可以了, 目的是不让手机找到EDGE的网络.
以前用BossPrefs 虽然避免了数据的交换, 但是账户还是登陆了EDGE网络, 所以上面修改EDGE Login是最安全的方法.
]]></description>
			<content:encoded><![CDATA[<p>前一阵子试着用SFTP通过Wireless network连接到iPhone上, 研究file system的结构. 发现和MaxOS的却别不大, 而且相当的相近. 由于英国这边O2和Apple合作, 1.1.2版本后的Firmwire会不现实EDGE的设置, 如果不是签合共来的 - Jailbreak/Unlock, 那EDGE的开销可不是个小数目. 7.5英镑每兆。</p>
<p>那些说用第二张 Sim Card把EDGE设定界面弄出来再换成O2卡的方法基本上是没有用的. 另外一个就是用Mac的Property list editor 直接修改O2_UK.plist.  加一个 &#8216;AllowEDGEEditing&#8217; key 和 value &#8216;true&#8217; 到你的property list中, 然后保存, 上传这个文件到同样的位置并且覆盖原来的文件. 现在到General-&gt; Network 就能看到EDGE的按钮再次出现. 最后随便输入一个用户名和密码就可以了, 目的是不让手机找到EDGE的网络.</p>
<p>以前用BossPrefs 虽然避免了数据的交换, 但是账户还是登陆了EDGE网络, 所以上面修改EDGE Login是最安全的方法.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/03/hello-world/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install JDK5 on Ubuntu/Kubuntu</title>
		<link>http://www.activars.com/2006/09/install-jdk5-on-ubuntukubuntu/</link>
		<comments>http://www.activars.com/2006/09/install-jdk5-on-ubuntukubuntu/#comments</comments>
		<pubDate>Sun, 17 Sep 2006 16:08:55 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[Kubuntu]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=4</guid>
		<description><![CDATA[Ubuntu 6.06
Sun Java5: Install it from the Applications -&#62; Add/Remove&#8230; menu, or install the sun-java5-jdk package. Blackdown Java2 1.4 packages: Install the j2re1.4 package, available in the multiverse repositories. Install it from the Applications -&#62; Add/Remove&#8230; menu, or install the j2re1.4 package.
Kubuntu 6.06
Sun Java5: Load up Konsole, and type:  sudo apt-get install sun-java5-jdk
Accept the [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: bold;">Ubuntu 6.06</span></p>
<p>Sun Java5: Install it from the Applications -&gt; Add/Remove&#8230; menu, or install the sun-java5-jdk package. Blackdown Java2 1.4 packages: Install the j2re1.4 package, available in the multiverse repositories. Install it from the Applications -&gt; Add/Remove&#8230; menu, or install the j2re1.4 package.</p>
<p><span style="font-weight: bold;">Kubuntu 6.06</span></p>
<p>Sun Java5: Load up Konsole, and type:  sudo apt-get install sun-java5-jdk</p>
<p>Accept the licence agreement that appears.</p>
<p>Blackdown Java2 1.4 packages: Install the j2re1.4 package, available in the multiverse repositories. Install it from the Applications -&gt; Add/Remove&#8230; menu, or install the j2re1.4 package.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2006/09/install-jdk5-on-ubuntukubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>关于Linux分区</title>
		<link>http://www.activars.com/2006/08/%e5%85%b3%e4%ba%8elinux%e5%88%86%e5%8c%ba/</link>
		<comments>http://www.activars.com/2006/08/%e5%85%b3%e4%ba%8elinux%e5%88%86%e5%8c%ba/#comments</comments>
		<pubDate>Thu, 31 Aug 2006 16:12:12 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Hardwares]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[LumaQQ]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=5</guid>
		<description><![CDATA[安装ubuntu / Kubuntu的时候可以选择有程序自己分区或者自定义分区。一般来说Linux的分区可以有以下几个:
/boot                操作系统启动文件分区，一般分配大小在250MB-500MB左右
/usr                  操作系存放软件的地方
/bin                  存放标准系统实用程序
/home [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: bold;">安装ubuntu / Kubuntu的时候可以选择有程序自己分区或者自定义分区。一般来说Linux的分区可以有以下几个:</span></p>
<p>/boot                操作系统启动文件分区，一般分配大小在250MB-500MB左右<br />
/usr                  操作系存放软件的地方<br />
/bin                  存放标准系统实用程序<br />
/home              是用户的home目录所在地，多用户需要分配这个分区。比如用户andrew的目录会                          被分配在 /home/andrew下面，而jay的目录会被分在/home/jay<br />
/tmp                 用来存放一些临时文件的分区。<br />
/var/log           系统日志记录分区，建立这个分区，即使日志文件出现了问题，也不会影响到操                          作系统的主分区<br />
/srv                  服务器启动的数据存放在这里<br />
/opt                  大程序，可选择安装的程序存放在这里<br />
/                        根目录</p>
<p><span style="font-weight: bold;">/opt分区易于管理程序(备份LumaQQ为例):</span><br />
重装linux的时候，选择自定义分区时不用格式化/opt分区，先备份好XXX/lumaqq文件夹，重装系统后，把lumaqq文件夹放回到XXX目录，配好java环境输入命令:</p>
<p>$ sudo ln -s /opt/LumaQQ /usr/bin/lumaqq</p>
<p>*  ln  -   make new links to existing files</p>
<p><span style="font-weight: bold;">分区的顺序：</span><br />
没有必要完全按照这个顺序，按照分区用途和硬盘结构来说，越靠近外边的效率越高，比如说/boot和swap是系统读取数据最平凡的分区，建议的顺序是:</p>
<p>/boot <span style="color: #999999;">-&gt;</span> SWAP <span style="color: #999999;">-&gt;</span> /home <span style="color: #999999;">-&gt;</span> /var/log <span style="color: #999999;">-&gt;</span> /tmp <span style="color: #999999;">-&gt;</span> /srv <span style="color: #999999;">-&gt;</span> /opt <span style="color: #999999;">-&gt;</span> /</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2006/08/%e5%85%b3%e4%ba%8elinux%e5%88%86%e5%8c%ba/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
