<?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>Tarotoast's Stuff &#187; howto</title>
	<atom:link href="http://blog.tarotoast.com/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tarotoast.com</link>
	<description>Personal blog</description>
	<lastBuildDate>Tue, 04 May 2010 08:49:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>python-pycurl on Shared Host</title>
		<link>http://blog.tarotoast.com/2008/03/21/430/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=python-pycurl-on-shared-host</link>
		<comments>http://blog.tarotoast.com/2008/03/21/430/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 00:34:57 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[pycurl]]></category>
		<category><![CDATA[shared host]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=430</guid>
		<description><![CDATA[編 Python 2.5, MySQLdb 都很輕鬆 就 make &#8211;prefix=~/ 和 python setup.py install 而已 但是 pycurl 讓我浪費了好多個小時的人生 我一直碰到的問題是這樣: # python Python 2.5.2 (r252:60911, Mar 21 2008, 05:12:12) [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pycurl Traceback (most recent call last): File "", line 1, [...]]]></description>
			<content:encoded><![CDATA[<p>編 Python 2.5, MySQLdb 都很輕鬆<br />
就 make &#8211;prefix=~/ 和 python setup.py install 而已<br />
但是 pycurl 讓我浪費了好多個小時的人生</p>
<p>我一直碰到的問題是這樣:<br />
<code><br />
# python<br />
Python 2.5.2 (r252:60911, Mar 21 2008, 05:12:12)<br />
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2<br />
Type "help", "copyright", "credits" or "license" for more information.<br />
>>> import pycurl<br />
Traceback (most recent call last):<br />
  File "<stdin>", line 1, in <module><br />
ImportError: libcurl.so.4: cannot open shared object file: No such file or directory<br />
>>><br />
</code></p>
<p>把浪費的時間跳過，總之就是 pycurl 沒寫好 (怨念總是得目標來發洩)<br />
setup 時候的 &#8211;curl-config 就跟你說在 ~/lib 了，還去 /usr/lib 下面找 libcurl.so.4<br />
好吧或許摸 unix 環境的時間還不夠久，總之最後發現只要這樣子就解決掉了</p>
<p><code>export LD_LIBRARY_PATH=~/lib</code></p>
<p>真是浪費生命</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2008/03/21/430/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Scroll Wheel Speed in GNOME</title>
		<link>http://blog.tarotoast.com/2008/03/18/427/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=microsoft-scroll-wheel-speed-in-gnome</link>
		<comments>http://blog.tarotoast.com/2008/03/18/427/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 14:27:20 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mouse]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=427</guid>
		<description><![CDATA[我的 Microsoft Wireless Laser Mouse 6000 在 GNOME 裡面一直有捲動的問題 簡單說就是輕輕碰到 scroll wheel 就會捲個整個畫面，非常的無法使用 剛剛在覺得很煩的時候下定決心去找一下，看看 GNOME 裡面有沒有選項來改變 找到了這篇: Change scroll wheel speed 裡面內容大致就是說那滑鼠會那麼敏感是因為發送出 multiple event 解法就是在 Linux 下面拔起來再重新插回去就好了 Wireless Receiver 似乎是在 Windows 下面時候會跟 Driver 談好送 multiple event 而 GNOME 下面還不認識那些 Event，就會造成捲動大暴走]]></description>
			<content:encoded><![CDATA[<p>我的 Microsoft Wireless Laser Mouse 6000 在 GNOME 裡面一直有捲動的問題</p>
<p>簡單說就是輕輕碰到 scroll wheel 就會捲個整個畫面，非常的無法使用</p>
<p>剛剛在覺得很煩的時候下定決心去找一下，看看 GNOME 裡面有沒有選項來改變</p>
<p>找到了這篇: <a href="https://answers.launchpad.net/ubuntu/+question/9200">Change scroll wheel speed</a></p>
<p>裡面內容大致就是說那滑鼠會那麼敏感是因為發送出 multiple event</p>
<p>解法就是<strong>在 Linux 下面拔起來再重新插回去就好了</strong></p>
<p>Wireless Receiver 似乎是在 Windows 下面時候會跟 Driver 談好送 multiple event</p>
<p>而 GNOME 下面還不認識那些 Event，就會造成捲動大暴走</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2008/03/18/427/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aMSN with TrueType Fonts</title>
		<link>http://blog.tarotoast.com/2007/10/31/408/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=amsn-with-truetype-fonts</link>
		<comments>http://blog.tarotoast.com/2007/10/31/408/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 03:53:24 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[BSD+Linux]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[amsn]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ttf]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/10/31/408/</guid>
		<description><![CDATA[Ubuntu 7.10 裡面的 aMSN 雖然是 0.97RC，但是還是沒有預設把 anti-aliasing 打開，所以整個字型醜的快要爆炸囧。3v1n0 裡面的 amsn deb 的確是有把 tk/tcl 編進去，只要點幾下把所有 package 都裝進去就可以有漂亮的字型，但是那個版本不知道為什麼一直會讓我 CPU 衝滿。所以決定乾脆自己抓下來編省得麻煩。 省得要 root 權限或以後更新跟系統衝突，所以我把東西都安裝在自己的 home directory 下面。原始碼我都丟在 ~/work 下面，然後編好的執行檔是安裝到 ~/build 下面。 TCL 在 ~/work 下面將 TCL 的原始碼抓下來 cvs -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl login ENTER cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -P tcl 在 ~/work/tcl/unix 設定 + 編譯 ./configure &#8211;prefix=/home/peter/build &#8211;includedir=/home/peter/build/include/tcl8.5 &#8211;enable-shared &#8211;enable-threads &#8211;enable-64bit [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 7.10 裡面的 aMSN 雖然是 0.97RC，但是還是沒有預設把 anti-aliasing 打開，所以整個字型醜的快要爆炸囧。<a href="http://download.tuxfamily.org/3v1deb/pool/gutsy/3v1n0/">3v1n0</a> 裡面的 <a href="http://download.tuxfamily.org/3v1deb/pool/gutsy/3v1n0/amsn_0.97RC1+svn20070912%7E3v1ubuntu0_i386.deb">amsn deb</a> 的確是有把 tk/tcl 編進去，只要點幾下把所有 package 都裝進去就可以有漂亮的字型，但是那個版本不知道為什麼一直會讓我 CPU 衝滿。所以決定乾脆自己抓下來編省得麻煩。</p>
<p>省得要 root 權限或以後更新跟系統衝突，所以我把東西都安裝在自己的 home directory 下面。原始碼我都丟在 ~/work 下面，然後編好的執行檔是安裝到 ~/build 下面。</p>
<p><strong>TCL</strong></p>
<ol>
<li>在 ~/work 下面將 TCL 的原始碼抓下來<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>cvs -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl login<br />
ENTER<br />
cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -P tcl</p></blockquote>
</li>
<li>在 ~/work/tcl/unix 設定 + 編譯<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>./configure &#8211;prefix=/home/peter/build &#8211;includedir=/home/peter/build/include/tcl8.5 &#8211;enable-shared &#8211;enable-threads &#8211;enable-64bit   &#8211;mandir=/home/peter/build/share/man &#8211;enable-man-symlinks &#8211;enable-man-compression=gzip &amp;&amp; make CFLAGS=&#8221;-g -O2 -D_REENTRANT&#8221;</p></blockquote>
</li>
<li>安裝<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>make install</p></blockquote>
</li>
</ol>
<p><strong>TK</strong></p>
<ol>
<li>在 ~/work 下面把 TK 的原始碼抓下來<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>cvs -d:pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit login<br />
ENTER<br />
cvs -z3 -d:pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit co -P tk</p></blockquote>
</li>
<li>在 ~/work/tk/unix 下設定 + 編譯<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>./configure &#8211;prefix=/home/peter/build &#8211;includedir=/home/peter/build/include/tcl8.5 &#8211;with-tcl=/home/peter/build/lib &#8211;enable-shared &#8211;enable-threads &#8211;enable-64bit &#8211;enable-man-symlinks &#8211;enable-man-compression=gzip &#8211;enable-xft &amp;&amp; make CFLAGS=&#8221;-g -O2 -D_REENTRANT&#8221;</p></blockquote>
</li>
<li>安裝<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>make install</p></blockquote>
</li>
</ol>
<p><strong>aMSN</strong></p>
<ol>
<li>在 ~/work 把 aMSN 的原始碼抓下來<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>svn co https://amsn.svn.sourceforge.net/svnroot/amsn/trunk/amsn amsn</p></blockquote>
</li>
<li>在 ~/work/amsn 下設定 + 編譯<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>./configure &#8211;with-tcl=/home/peter/build/lib &#8211;with-tk=/home/peter/build/lib &#8211;prefix=/home/peter/build<br />
make</p></blockquote>
</li>
<li>安裝<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>make install</p></blockquote>
</li>
</ol>
<p><strong>桌面捷徑</strong></p>
<ol>
<li>建立 ~/bin/amsn.sh 並把 amsn.sh 設成執行檔<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>#!/bin/sh<br />
/home/peter/build/bin/wish8.5 /home/peter/build/bin/amsn</p></blockquote>
</li>
<li>建立 ~/Desktop/aMSN.desktop<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>[Desktop Entry]<br />
Version=1.0<br />
Encoding=UTF-8<br />
Name=aMSN<br />
Comment=Flock Web Browser<br />
Exec=&#8221;/home/peter/bin/amsn.sh&#8221;<br />
GenericName=aMSN<br />
Icon=/home/peter/work/amsn/desktop-icons/128&#215;128/apps/amsn.png<br />
Path=$HOME/work/amsn<br />
StartupNotify=true<br />
Terminal=false<br />
TerminalOptions=<br />
Type=Application<br />
X-KDE-SubstituteUID=false<br />
X-KDE-Username=<br />
Categories=Network;Application;<br />
GenericName[en_US]=aMSN</p></blockquote>
</li>
</ol>
<p><strong>效果比較</strong></p>
<p><img src="http://farm3.static.flickr.com/2321/1812450044_eae3fc7862_o.png" alt="aMSN from Ubuntu 7.10" /><img src="http://farm3.static.flickr.com/2008/1811606373_869bcf5de0_o.png" alt="aMSN + TCL/TK" /></p>
<p><img src="http://farm3.static.flickr.com/2049/1812449898_fbedd88062_o.png" alt="aMSN Chat Window Ubuntu 7.10 no TCL/TK" /><img src="http://farm3.static.flickr.com/2418/1811605827_b4a68257d5_o.png" alt="aMSN + TCL/TK Chat Window" /></p>
<p style="text-align: right; font-size: 8px">Blogged with <a href="http://www.flock.com/blogged-with-flock" title="Flock" target="_new">Flock</a></p>
<p><!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">Tags: <a href="http://technorati.com/tag/amsn" rel="tag">amsn</a>, <a href="http://technorati.com/tag/antialiasing" rel="tag">antialiasing</a>, <a href="http://technorati.com/tag/%20font" rel="tag"> font</a>, <a href="http://technorati.com/tag/%20ubuntu" rel="tag"> ubuntu</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/10/31/408/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 7.10 條教筆記</title>
		<link>http://blog.tarotoast.com/2007/09/29/394/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ubuntu-710-%25e6%25a2%259d%25e6%2595%2599%25e7%25ad%2586%25e8%25a8%2598</link>
		<comments>http://blog.tarotoast.com/2007/09/29/394/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 06:24:41 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[BSD+Linux]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[gcin]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/09/29/394/</guid>
		<description><![CDATA[nVidia TwinView 在 Restricted Drive Manager 停用 nVidia 的 Driver 去 nVidia 官方網站抓最新的 Linux Driver 讓他裝 在 Restricted Drive Manager 啟用 nVidia 的 Driver 用 nVidia X Server Setting 來設定 TwinView FASTTRAK 378 RAID 0 安裝 dmraid: sudo apt-get install dmraid 建立 mount point: sudo mkdir /media/raid0 測試: sudo mount /dev/mapper/pdc_cbchadihee1 /media/raid0 最後再把這個 mount point [...]]]></description>
			<content:encoded><![CDATA[<p><strong>nVidia TwinView</strong></p>
<ol>
<li>在 Restricted Drive Manager 停用 nVidia 的 Driver</li>
<li>去 nVidia 官方網站抓最新的 Linux Driver 讓他裝</li>
<li>在 Restricted Drive Manager 啟用 nVidia 的 Driver</li>
<li>用 nVidia X Server Setting 來設定 TwinView</li>
</ol>
<p><a href="http://www.flickr.com/photos/tarotoast/1461847980/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1239/1461847980_f87f7c3173.jpg" alt="Screenshot-NVIDIA X Server Settings" height="481" width="500" /></a></p>
<p><strong>FASTTRAK 378 RAID 0</strong></p>
<ol>
<li>安裝 dmraid: <span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">sudo apt-get install dmraid</span></li>
<li>建立 mount point: <span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">sudo mkdir /media/raid0</span></li>
<li>測試: <span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">sudo mount /dev/mapper/pdc_cbchadihee1 /media/raid0</span></li>
<li>最後再把這個 mount point 寫入 /etc/fstab 讓下次重開時候自動 mount</li>
</ol>
<p><strong>GCIN</strong></p>
<ol>
<li>在 Synaptic 裡面把 SCIM uninstall 掉然後安裝 GCIN</li>
<li>在 shell 裡面輸入 <span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"> im-switch -s gcin </span></li>
<li>把 ~/.gtkrc.mine 改成:<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>export GTK_IM_MODULE=gcin<br />
export LC_CTYPE=&#8221;zh_TW.UTF-8&#8243;</p></blockquote>
</li>
<li>登出再登入</li>
</ol>
<p><strong>Sound</strong></p>
<ol>
<li>打開 System / Preferences / Sound</li>
<li>把 Sound playback 選成 VIA 8237</li>
</ol>
<p><strong>Desktop Effect</strong></p>
<ol>
<li><span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">sudo apt-get install ccsm</span></li>
<li>System / Advanced Desktop Effects Settings</li>
</ol>
<p><a href="http://www.flickr.com/photos/tarotoast/1462021410/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1191/1462021410_55aa666972.jpg" alt="Screenshot-CompizConfig Settings Manager" height="302" width="500" /></a></p>
<p><strong>Fonts</strong></p>
<ol>
<li>安裝微軟正黑體:<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>sudo cp msjh* /usr/share/fonts<br />
sudo chmod o+rx /usr/share/fonts/msjh*<br />
sudo fc-cache -f -v</p></blockquote>
</li>
<li>打開 Firefox: Edit / Preferences 然後把所有字體預設都改成 Microsoft JhengHei 省得麻煩</li>
</ol>
<p><strong>sshfs</strong></p>
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>sudo apt-get install sshfs<br />
adduser peter fuse</p></blockquote>
<p><strong>GDM Dead Keyboard</strong><br />
這個奇怪的問題似乎有人碰過: <a href="http://www.linuxforums.org/forum/suse-linux-help/54000-keyboard-not-funtioning-login.html">Keyboard not funtioning at login</a>。問題應該是像上面那篇文章寫的一樣，不知道為什麼 gdm 會比其他的 getty 開啟的更早，導致 keyboard 的控制被 getty 拿去，然後 gdm 下啥都不能做了囧。我用比較簡單的解法：</p>
<ol>
<li>把 gdm 預設關閉：<span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">mv /etc/rc2.d/S30gdm /etc/rc2.d/K70gdm</span></li>
<li>在 /etc/rc.local 加入：<span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">service gdm start</span></li>
</ol>
<p><strong>Wine + Wine Doors</strong></p>
<ol>
<li>Wine:<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -<br />
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list<br />
sudo apt-get update<br />
sudp apt-get install wine</p></blockquote>
</li>
<li>Wine Doors: 去<a href="http://www.wine-doors.org/wordpress/?page_id=3">這裡</a>下載最新的 deb 然後讓 Package Manager 自動安裝</li>
</ol>
<p><strong>Microsoft IntelliMouse Explorer</strong></p>
<ol>
<li>修改 /etc/X11/xorg.conf:<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>Section &#8220;InputDevice&#8221;<br />
Identifier &#8220;Mouse0&#8243;<br />
Driver &#8220;mouse&#8221;<br />
Option &#8220;CorePointer&#8221;<br />
Option &#8220;Device&#8221; &#8220;/dev/psaux&#8221;<br />
Option &#8220;Protocol&#8221; &#8220;ExplorerPS/2&#8243;<br />
Option &#8220;Buttons&#8221; &#8220;7&#8243;Option &#8221;<br />
ButtonMapping&#8221; &#8220;1 2 3 4 5&#8243;<br />
Option &#8220;ZAxisMapping&#8221; &#8220;6 7&#8243;<br />
Option &#8220;Resolution&#8221; &#8220;100&#8243;<br />
EndSection</p></blockquote>
</li>
<li>安裝 imwheel: <span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">sudo apt-get install imwheel</span></li>
<li>修改 /etc/X11/imwheel/imwheelrc:<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><p>&#8220;.*&#8221; None,Up,Alt_L|Left None,Down,Alt_L|Right&#8221;^firefox-bin$&#8221;<br />
None,Left,Alt_L|Left<br />
None,Right,Alt_L|Right</p></blockquote>
</li>
<li>新增 /etc/X11/Xsession.d/57xmodmap:<br />
<blockquote style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">#/bin/bash<br />
xmodmap -e &#8220;pointer = 1 2 3 6 7 4 5&#8243; </p></blockquote>
</li>
<li>把 /etc/X11/Xsession.d/57xmodmap 改成執行檔: <span style="background: #dddddd none repeat scroll 0% 50%; font-family: monospace; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">sudo chmod 755 /etc/X11/Xsession.d/57xmodmapservice</span></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/09/29/394/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP 5.2.1 on FC4 x86_64 compile note</title>
		<link>http://blog.tarotoast.com/2007/04/21/365/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=php-521-on-fc4-x86_64-compile-note</link>
		<comments>http://blog.tarotoast.com/2007/04/21/365/#comments</comments>
		<pubDate>Sat, 21 Apr 2007 21:22:12 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[BSD+Linux]]></category>
		<category><![CDATA[Footprints + Diary]]></category>
		<category><![CDATA[Server Diary]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fc4]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/04/21/365/</guid>
		<description><![CDATA[Linking libraries from its default location ln -s /usr/include /opt/include ln -s /usr/lib64 /opt/lib Now configuring with new location: ./configure --prefix=/usr/local --enable-force-cgi-redirect --enable-fastcgi --with-libxml --with-zlib --with-bz2 --with-curl --with-gd --enable-mbstring --with-mysql --with-jpeg-dir=/opt --with-png-dir=/opt --with-mysql=/opt]]></description>
			<content:encoded><![CDATA[<p>Linking libraries from its default location</p>
<pre style="white-space: -moz-pre-wrap; border: 1px inset ; margin: 0px; padding: 6px; width: 400px; text-align: left">
ln -s /usr/include /opt/include
ln -s /usr/lib64 /opt/lib
</pre>
<p>Now configuring with new location:</p>
<pre style="white-space: -moz-pre-wrap; border: 1px inset ; margin: 0px; padding: 6px; width: 400px; text-align: left">
./configure --prefix=/usr/local --enable-force-cgi-redirect --enable-fastcgi --with-libxml --with-zlib --with-bz2 --with-curl  --with-gd --enable-mbstring --with-mysql --with-jpeg-dir=/opt --with-png-dir=/opt --with-mysql=/opt
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/04/21/365/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Shared Host&#8217;s MySQL on VPS</title>
		<link>http://blog.tarotoast.com/2007/04/15/364/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=use-of-shared-hosts-mysql-on-vps</link>
		<comments>http://blog.tarotoast.com/2007/04/15/364/#comments</comments>
		<pubDate>Sun, 15 Apr 2007 23:47:33 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[BSD+Linux]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Server Diary]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssh tunnel]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/04/15/364/</guid>
		<description><![CDATA[On my 1&#038;1 VPS II server, it comes with only 256MB of dedicated memory, which is pathetic. If I run a separate mysqld, it&#8217;s going to take 1xxMB away from this super limit memory pool. It makes sense to me to make use of MySQL databases on another shared hosting account. BlueHost and HostMonster both [...]]]></description>
			<content:encoded><![CDATA[<p>On my 1&#038;1 VPS II server, it comes with only 256MB of dedicated memory, which is pathetic. If I run a separate mysqld, it&#8217;s going to take 1xxMB away from this super limit memory pool. It makes sense to me to make use of MySQL databases on another shared hosting account. BlueHost and HostMonster both comes with firewall enabled by default for their MySQL servers. Going about white listing server&#8217;s IP can be done via:</p>
<ol>
<li>Launching remote firefox session, which takes your patient and the hassle of all those x window configs.</li>
<li>Setup VPN on the server, and use server&#8217;s IP to to whitelist itself.</li>
</ol>
<p>But the connection between the VPS server and Shared Host&#8217;s MySQL database is insecure. It&#8217;s natural to come to this conclusion as the best option: ssh tunnel.</p>
<p>Assuming you have shell access to both VPS and Shared Host, and both are running OpsnSSH.</p>
<p><strong>Setup Public Key Authentication</strong></p>
<ol>
<li>Login to VPS with account you want to create the tunnel</li>
<li>
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">cd ~/.ssh</pre>
<p>(create it if not exist)</li>
<li>
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">ssh-keygen -t dsa</pre>
</li>
<li>Securely transfer id_dsa.pub to the Shared Hosting&#8217;s home directly, something like this:
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">scp id_dsa.pub sharedhost:/home/username/.ssh/server_id_psa.pub</pre>
</li>
<li>Login to Shared Host</li>
<li>
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">cd ~/.ssh
cat server_id_psa.pub >> authorized_keys</pre>
</li>
<li>Switch back to VPS, try logging into Shared Host using public key authentication:
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">ssh username@sharedhost</pre>
<p>If everything is setup properly, no password is prompted.</li>
</ol>
<p>If in doubt, [<a href="http://defindit.com/readme_files/ssh.html">this</a>] is a good place to consult about Public Key Authentication.</p>
<p><strong>Setting up a host name</strong></p>
<p>When MySQL is connecting to localhost, it will try to use socket, regardless of the efforts trying to tell it the service is actually not running on localhost, but rather a tunnel to a remote host. To overcome this issue, create an entry in /etc/hosts:</p>
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">127.0.0.1 localhost mysqlhost</pre>
<p>This points the host name &#8216;mysqlhost&#8217; to 127.0.0.1 which essentially is also localhost, but mysql is too dumb to understand.</p>
<p><strong>Create the tunnel</strong></p>
<ol>
<li>First, stop the local mysqld. As root:</p>
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">service stop mysqld</pre>
</li>
<li>Login to VPS with username previously configured with public key authentication to Shared Host</li>
<li>create tunnel:
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">ssh -f username@sharedhost -N -L 3306:localhost:3306</pre>
<p>This creates a ssh tunnel in background and forward connection to port 3306 on localhost to port 3306 on sharedhost.</li>
<li>Make change in php to reflect the database names, users, password on Shared Host, and most importantly, instead of <b>localhost</b>, use <b>mysqlhost</b> in configuration files.</li>
</ol>
<p><strong>Automate the process</strong></p>
<p>What if the ssh tunnel died? What if the VPS restarts? How to make sure the connection stays live? The answer is to use <b>autossh</b>.</p>
<ol>
<li>As root:</p>
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">yum install autossh</pre>
</li>
<li>Edit /etc/rc.d/rc.local, add this line at the bottom:
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">su VPSusername -c 'autossh -M 5307 -f SHAREDHOSTusername@sharedhost -N -L 3306:*:3306' &#038;</pre>
<p>This tells the server to execute the command in &#8216; &#8216; as VPSusername and put the process into background at startup. autossh will use port 5307 to monitor the ssh tunnel to sharedhost, and reconnect if it drops. Also make sure to disable the local MySQL daemon from starting automatically, or the tunnel cannot be created.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/04/15/364/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN on FC4 note</title>
		<link>http://blog.tarotoast.com/2007/04/15/363/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=openvpn-on-fc4-note</link>
		<comments>http://blog.tarotoast.com/2007/04/15/363/#comments</comments>
		<pubDate>Sun, 15 Apr 2007 21:19:16 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[BSD+Linux]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Server Diary]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fc4]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/04/15/363/</guid>
		<description><![CDATA[Server yum install openvpn cp -R /usr/share/openvpn/easy-rsa /etc/openvpn cd /etc/openvpn/easy-rsa vim vars: # easy-rsa parameter settings # NOTE: If you installed from an RPM, # don't edit this file in place in # /usr/share/openvpn/easy-rsa -- # instead, you should copy the whole # easy-rsa directory to another location # (such as /etc/openvpn) so that your [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Server</strong></p>
<ol>
<li>yum install openvpn</li>
<li>cp -R /usr/share/openvpn/easy-rsa /etc/openvpn</li>
<li>cd /etc/openvpn/easy-rsa</li>
<li>vim vars:
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; height: 400px; text-align: left">
# easy-rsa parameter settings
# NOTE: If you installed from an RPM,
# don't edit this file in place in
# /usr/share/openvpn/easy-rsa --
# instead, you should copy the whole
# easy-rsa directory to another location
# (such as /etc/openvpn) so that your
# edits will not be wiped out by a future
# OpenVPN package upgrade.
# This variable should point to
# the top level of the easy-rsa
# tree.

export D=`pwd`

# This variable should point to
# the openssl.cnf file included
# with easy-rsa.

export KEY_CONFIG=$D/openssl.cnf

# Edit this variable to point to
# your soon-to-be-created key
# directory.
#
# WARNING: clean-all will do
# a rm -rf on this directory
# so make sure you define
# it correctly!

export KEY_DIR="/etc/openvpn/keys"

# Issue rm -rf warning

echo NOTE: when you run ./clean-all, I will be doing a rm -rf on $KEY_DIR

# Increase this to 2048 if you
# are paranoid.  This will slow
# down TLS negotiation performance
# as well as the one-time DH parms
# generation process.

export KEY_SIZE=1024

# These are the default values for fields
# which will be placed in the certificate.
# Don't leave any of these fields blank.

export KEY_COUNTRY=US
export KEY_PROVINCE=CA
export KEY_CITY=SANDIEGO
export KEY_ORG="TAROTOAST.COM"
export KEY_EMAIL="chang.peter@gmail.com"</pre>
</li>
<li>chmod 700 *</li>
<li>mkdir /etc/openvpn/keys</li>
<li>make sure in Bash shell (still at /etc/openvpn/easy-rsa directory)</li>
<li>./vars</li>
<li>./clean-all</li>
<li>./build-ca<br />
Enter ROOTCA for common name</li>
<li>./build-key-server server<br />
Enter ROOT for common name</li>
<li>./build-key [computername] &lt;&#8211; repeat for # of computers want to allow connect<br />
Enter [computername] as common name<br />
EX: ./build-key AMD64<br />
EX: ./build-key X40</li>
<li>./build-dh</li>
<li>vim /etc/openvpn/server.conf:
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">
port 1194
proto tcp
dev tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh1024.pem
server 10.11.12.0 255.255.255.0
client-config-dir ccd
push "dhcp-option DNS SERVERIP"
push "dhcp-option DNS SERVERDNS"
ifconfig-pool-persist ipp.txt
push "redirect-gateway"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status server-tcp.log
verb 3</pre>
</li>
<li>Create log files: touch /etc/openvpn/server-tcp.log /etc/openvpn/ipp.txt</li>
<li>vim /etc/init.d/openvpn:<br />
Uncomment line 114
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">/sbin/modprobe tun &gt;/dev/null 2&gt;&amp;1</pre>
<p>Insert after line 115
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">
iptables -t nat -A POSTROUTING -s 10.11.12.3 -j SNAT --to SERVERIP
iptables -t nat -A POSTROUTING -s 10.11.12.4 -j SNAT --to SERVERIP
iptables -t nat -A POSTROUTING -s 10.11.12.5 -j SNAT --to SERVERIP
iptables -t nat -A POSTROUTING -s 10.11.12.6 -j SNAT --to SERVERIP
iptables -t nat -A POSTROUTING -s 10.11.12.7 -j SNAT --to SERVERIP
iptables -t nat -A POSTROUTING -s 10.11.12.8 -j SNAT --to SERVERIP
iptables -t nat -A POSTROUTING -s 10.11.12.9 -j SNAT --to SERVERIP
iptables -t nat -A POSTROUTING -s 10.11.12.10 -j SNAT --to SERVERIP</pre>
</li>
<li>service openvpn start</li>
</ol>
<p><strong>Client (Windows Vista with UAC on)</strong></p>
<ol>
<li>Download and install OpenVPN Gui 1.0.3 with OpenVPN 2.0.9 [<a href="http://openvpn.se/files/install_packages/openvpn-2.0.9-gui-1.0.3-install.exe">Here</a>]</li>
<li>Scary warning will pop up telling you the driver will not work, install it anyway. OpenVPN&#8217;s developers fixed it already.
<li>Make a shortcut on desktop to GUI executable &#8220;C:\Program Files\OpenVPN\bin\openvpn-gui-1.0.3.exe&#8221;</li>
<li>Use WinSCP to download these files onto the client computer:<br />
/etc/openvpn/keys/ca.crt<br />
/etc/openvpn/keys/AMD64.key<br />
/etc/openvpn/keys/AMD64.crt</li>
<li>Put above files along with this VPNServer.ovpn in C:\Program Files\OpenVPN\config<br />
VPNServer.ovpn
<pre style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; text-align: left">
client
dev tun
proto tcp
remote SERVERIP 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert AMD64.crt
key AMD64.key
ns-cert-type server
push "dhcp-option DNS SERVERIP"
push "dhcp-option DNS SERVERDNSIP"
comp-lzo
verb 3
route-method exe
route-delay 2
</pre>
</li>
<li>Right click on the shortcut to openvpn-gui-1.0.3.exe, select Run As Administrator</li>
<li>On the taskbar, right click the openvpn gui icon, select connect</li>
</ol>
<p>DONE [aha</p>
<p>The above mostly follows [<a href="http://www.webhostingtalk.com/showthread.php?t=595436">this thread</a>] except some minor changes in client side config.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/04/15/363/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bluehost 筆記</title>
		<link>http://blog.tarotoast.com/2007/04/04/360/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=bluehost-%25e7%25ad%2586%25e8%25a8%2598</link>
		<comments>http://blog.tarotoast.com/2007/04/04/360/#comments</comments>
		<pubDate>Wed, 04 Apr 2007 22:47:32 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Server Diary]]></category>
		<category><![CDATA[bluehost]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/04/04/360/</guid>
		<description><![CDATA[結果選了 Bluehost。原因很多而且說不清，但是簡單說就是讀了很多 BH Forum 上面的文章後最後 follow my heart 所作的決定。是不是因為裡面 moderator 說 BH 是 CEO 的 baby 我不知道，反正綜合了很多文章最後內心裡面的奇妙邏輯決定要 BH 的。 有關 BH 的一些 note: Installing SVN 1.4.3 (source) # # this is how I installed subversion 1.4.3 on my bluehost account #mkdir ~/src # get and make 'apr-0.9.13' (this isn't included in the subversion tarball) cd [...]]]></description>
			<content:encoded><![CDATA[<p>結果選了 Bluehost。原因很多而且說不清，但是簡單說就是讀了很多 BH Forum 上面的文章後最後 follow my heart 所作的決定。是不是因為裡面 moderator 說 BH 是 CEO 的 baby 我不知道，反正綜合了很多文章最後內心裡面的奇妙邏輯決定要 BH 的。</p>
<p>有關 BH 的一些 note:</p>
<p><strong>Installing SVN 1.4.3</strong> (<a href="http://www.bluehostforum.com/showpost.php?p=26779&amp;postcount=36">source</a>)</p>
<pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 400px; height: 400px; text-align: left">#

# this is how I installed subversion 1.4.3 on my bluehost account

#mkdir ~/src

# get and make 'apr-0.9.13' (this isn't included in the subversion tarball)

cd ~/src

wget http://apache.ausgamers.com/apr/apr-0.9.13.tar.gz

tar -xzf apr-0.9.13.tar.gz

cd apr-0.9.13

./configure --prefix=$HOME

make

make install

# get and make 'apr-util 0.9.13' (this isn't included in the subversion tarball either)

cd ~/src

wget http://apache.planetmirror.com.au/dist/apr/apr-util-0.9.13.tar.gz

tar -xzf apr-util-0.9.13.tar.gz

cd apr-util-0.9.13

./configure --prefix=$HOME --with-apr=$HOME

make

make install

# get and make 'subversion-1.4.3'

cd ~/src

wget http://subversion.tigris.org/downloads/subversion-1.4.3.tar.gz

tar -xzf subversion-1.4.3.tar.gz

cd subversion-1.4.3

./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl

# at this point there's a bit of complaining about berkeley db, let's ignore that...

make

make install

# check it works!

cd

svn --version

# yay!</pre>
<p><strong>SSH</strong></p>
<p>Helpdesk 裡面說要寫信到 support@bluehost.com，但是其實不是。寫過去只會被退回說現在必須開 ticket 才行。正確做法是進入 cPanel (BH 的 cPanel 好像比 HM 的好看) 然後注意看右下角會看到一個 SSH Access 的選像，點下去就會把你丟到正確的地方了。填好資料 (domain name 和 cPanel 的密碼) 然後送出後的下一頁就可以夾帶檔案。把駕照用數位相機拍下來夾上去就 ok 了。</p>
<p>SSH 是個 chroot 的環境，但是但部分軟體像上面那樣，只要 configure 實後記得加 &#8211;prefix=$HOME 其實都可以裝。有個很爛的就是他對外所有連結只能 port 80。不能 ssh 回家耶，不能 sftp 回家耶，有沒有爛到這種程度 \囧/</p>
<p><strong>Domains</strong></p>
<p>BH 只收 5 個 addon domain，加上原本的 master domain，全部只能有 6 個。搞不好我會開始反悔了。不過說真的她資料夾的放法有夠弱，我還不知道有比 1&amp;1 更弱的放法。她所有 addon domain 的資料夾都是掛在 ~/public_html/ 下面，並不能由選單上面選擇說你要放在 ~/domains/domain1/ 之類的更合邏輯的資料夾。根據 forum 上指出，其實打電話去可以叫 tech support 幫忙手動改，所以可能會等把所有 addon 都放上後再一次看哪些要改全部一起改吧。</p>
<p><strong>Support</strong></p>
<p>他們的 Support 系統如果拿 1&amp;1 的來比的話，1&amp;1 根本是大便。電話打進去如果沒有馬上接起來的話，會每分鐘跟妳說你前面還有幾個人在等，我等最久也才 5 分鐘左右。跟 1&amp;1 的 3x 分再加後面的 1x 分 on hold 比起來，天使吧。</p>
<p>他們的 Ticket 也回應頗快，每個丟出去的 Ticket 都有個 Due Time，都是 12 HR 內得回應。好吧目前為止我只丟了兩個，但是這兩個都有在時限內回，而且都回的頗快的。至少到目前為止都還很滿意。</p>
<p><strong>Bandwidth</strong></p>
<p>從台灣學網對 1&amp;1 和對 BH 的速度比起來，BH 很明顯快太多了 (160KB/s vs 38KB/s)，然後我從家裡對 1&amp;1 和 BH 的測試則是 1&amp;1 略快。不過可能是 BH 對每個 TCP connection 有限制，所以我把 FlashGet 調成 6 條後速度也是一樣 max 在 cable 的頻寬。1&amp;1 &lt;&#8211;&gt; BH 的速度還真黑皮，每個 TCP connection 的速度都是 1MB/s，然後同時 wget 四個檔，全部也都是 1MB/s。</p>
<p>將陸續增加..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/04/04/360/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Logitech&#8217;s strategy to rip you off with Windows Vista</title>
		<link>http://blog.tarotoast.com/2007/03/13/350/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=logitechs-strategy-to-rip-you-off-with-windows-vista</link>
		<comments>http://blog.tarotoast.com/2007/03/13/350/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 12:04:05 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2007/03/13/350/</guid>
		<description><![CDATA[So, I have this Logitech QuickCam® Messenger™ that I bought last summer, it&#8217;s a dual pack combo so I can put the other back at home. I recently upgraded my computer to Vista and guess what I find out: This Camera will not work with Windows Vista. Please see our list of newer Vista compatible [...]]]></description>
			<content:encoded><![CDATA[<p>So, I have this <a href="http://www.logitech.com/index.cfm/downloads/software/US/EN,CRID=1794,contentid=6361">Logitech QuickCam® Messenger™</a> that I bought last summer, it&#8217;s a dual pack combo so I can put the other back at home. I recently upgraded my computer to Vista and guess what I find out:</p>
<blockquote><p>This Camera will not work with Windows Vista.  Please see our <a href="http://www.logitech.com/quickcam" class="linksm">list of newer Vista compatible cameras</a>.</p></blockquote>
<p>This is the exact phrase I see when I tried to download driver from Logitech&#8217;s <a href="http://www.logitech.com/index.cfm/downloads/software/US/EN,CRID=1794,contentid=6361"></a>. So my first thought is that, ok, maybe it wasn&#8217;t working properly so they&#8217;d call it &#8220;will not work&#8221;. I decided to download its <a href="http://www.logitech.com/pub/techsupport/quickcam/qc848enu.exe">driver for XP</a> and see if it will install. Following the instruction of the (32.2MB) installer, I need to restart my computer for it to finish the installation. Sure, will do. After restart, hmm, Windows still can&#8217;t find the drivers it wants, ok maybe Logitech is right, this is not working for Vista.</p>
<p>My laptop is running Windows XP so I don&#8217;t really bother trying to get the webcam working on Vista. The (32.2MB) file just sits there and do nothing. I later installed WinRAR because I wanted to open some supposed to be lame video a friend sent me. Guess what, since now that I have WinRAR installed, I can right click on the driver installer (qc848enu.exe) and choose to extract to folder. I don&#8217;t need a stupid little icon on my taskbar just to make sure I am aware that a webcam is installed anyway.</p>
<p>Now that I have WinRAR installed (I really didn&#8217;t want to install it actually), files extracted,  I can try installing drivers manually. Windows Vista has more steps than XP to get to the browse-for-your-driver page. After I am there, I point the Wizard to look under the Drivers folder within the extracted files of the installer (qc848enu.exe). Guess what, Vista found all the drivers it needs and this webcam is working now.</p>
<p>Yeah, it should right? You can pretty much use XP&#8217;s (32bit) driver in Vista  (x86) anyway. My FastTrak 376/378 driver is for 2000/XP/2003 and it&#8217;s working like what it should under Vista. Now it makes me wonder why Logitech says it won&#8217;t work?</p>
<ul>
<li>Geeksquad can show the message to an old granpa or grandma and charge them part and labor for getting a new webcam.</li>
<li>Some know-where-to-download-driver computer newbie sees that message and will decide to get a new webcam.</li>
<li>It&#8217;s technically way too difficult to have a properly written installer for this particular webcam.</li>
</ul>
<p>Maybe, but I think this makes the most sense:</p>
<ul>
<li> Just say it won&#8217;t work and don&#8217;t even bother upgrading the installer so people who can&#8217;t install it will have to buy a new webcam. Yeah, go get that $120 Logitech QuickCam Orbit MP, it not only tracks your move, you also get a Vista driver installer (85MB)!!!</li>
</ul>
<p>Well, I guess this is how you push forward to &#8220;encourage&#8221; upgrade, maybe?</p>
<p><strong>Update (5/17) : Thanks for Shawn to point out that there is now a Vista ready driver that was in question.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2007/03/13/350/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
