<?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>Systems Thoughts &#187; Linux</title>
	<atom:link href="http://blog.systemsthoughts.com/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.systemsthoughts.com</link>
	<description>关于IT，技术，互联网及其他，中国人在瑞典。About IT, technology and lots more. A Chinese in Sweden.</description>
	<lastBuildDate>Tue, 02 Mar 2010 15:40:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>打开web2py的远程访问</title>
		<link>http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html</link>
		<comments>http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html#comments</comments>
		<pubDate>Thu, 21 Jan 2010 11:05:48 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[小技巧]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[web2py]]></category>
		<category><![CDATA[开发]]></category>
		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/?p=567</guid>
		<description><![CDATA[


今天想把这个搞定，突然发现中文资料少的可怜，所有的文章都是“转载”于一个人，无非就是用Putty里的ssh隧道功能。其实人家说了，必须开https才能远程访问。
运行python web2py.py &#8211;help，参数表中关于ssl的有:
-c SSL_CERTIFICATE, &#8211;ssl_certificate=SSL_CERTIFICATE
file that contains ssl certificate
-k SSL_PRIVATE_KEY, &#8211;ssl_private_key=SSL_PRIVATE_KEY
file that contains ssl private key
看来只要有证书就可以打开ssl连接，参考这篇文章。如果没有其他服务要用这个证书的话，完全可以放在web2py目录里。执行以下命令：
$openssl genrsa -des3 -out server.key 1024
然后输入密码产生一个server.key文件
$ openssl req -new -key server.key -out server.csr
接下来输入一些问题，产生证书，然后就该签名了
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
期间要输入你以前输入的密码。
到这里你就生成了密钥和证书，只要在web2py里把他们载入就可以了。
python web2.py &#8211; -ip=xxx.xxx.xxx.xxx  - -port==xxxx &#8211; -password=***** -c server.crt -k server.key
启动后还会问你密钥密码，然后从浏览器里访问https://ip:port/就成了。web2py真强大！


Related posts:在Google App Engine SDK里运行web2py
Python 2.6.2 subprocess在linux下不能传递参数的处理
SCIM在Arch [...]


Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/03/web2py-problem-in-google-app-engine-sdk.html' rel='bookmark' title='Permanent Link: 在Google App Engine SDK里运行web2py'>在Google App Engine SDK里运行web2py</a></li>
<li><a href='http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html' rel='bookmark' title='Permanent Link: Python 2.6.2 subprocess在linux下不能传递参数的处理'>Python 2.6.2 subprocess在linux下不能传递参数的处理</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/scim%e5%9c%a8arch-linux%e4%b8%8b%e7%9a%84%e6%ad%a3%e7%a1%ae%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html' rel='bookmark' title='Permanent Link: SCIM在Arch Linux下的正确设置方法'>SCIM在Arch Linux下的正确设置方法</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-5008995866388592";
google_ad_slot = "3387257388";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
今天想把这个搞定，突然发现中文资料少的可怜，所有的文章都是“转载”于一个人，无非就是用Putty里的ssh隧道功能。其实人家说了，必须开https才能远程访问。</p>
<p>运行python web2py.py &#8211;help，参数表中关于ssl的有:</p>
<div class="codesnip-container" >-c SSL_CERTIFICATE, &#8211;ssl_certificate=SSL_CERTIFICATE<br />
file that contains ssl certificate<br />
-k SSL_PRIVATE_KEY, &#8211;ssl_private_key=SSL_PRIVATE_KEY<br />
file that contains ssl private key</div>
<p>看来只要有证书就可以打开ssl连接，参考这篇<a href="http://blog.i4pace.net/frog/user/Teru/article/2009-04-06/72">文章</a>。如果没有其他服务要用这个证书的话，完全可以放在web2py目录里。执行以下命令：</p>
<div class="codesnip-container" >$openssl genrsa -des3 -out server.key 1024<br />
然后输入密码产生一个server.key文件<br />
$ openssl req -new -key server.key -out server.csr<br />
接下来输入一些问题，产生证书，然后就该签名了<br />
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt<br />
期间要输入你以前输入的密码。<br />
到这里你就生成了密钥和证书，只要在web2py里把他们载入就可以了。</div>
<p>python web2.py &#8211; -ip=xxx.xxx.xxx.xxx  - -port==xxxx &#8211; -password=***** -c server.crt -k server.key<br />
启动后还会问你密钥密码，然后从浏览器里访问https://ip:port/就成了。web2py真强大！</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/03/web2py-problem-in-google-app-engine-sdk.html' rel='bookmark' title='Permanent Link: 在Google App Engine SDK里运行web2py'>在Google App Engine SDK里运行web2py</a></li>
<li><a href='http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html' rel='bookmark' title='Permanent Link: Python 2.6.2 subprocess在linux下不能传递参数的处理'>Python 2.6.2 subprocess在linux下不能传递参数的处理</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/scim%e5%9c%a8arch-linux%e4%b8%8b%e7%9a%84%e6%ad%a3%e7%a1%ae%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html' rel='bookmark' title='Permanent Link: SCIM在Arch Linux下的正确设置方法'>SCIM在Arch Linux下的正确设置方法</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python 2.6.2 subprocess在linux下不能传递参数的处理</title>
		<link>http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html</link>
		<comments>http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html#comments</comments>
		<pubDate>Fri, 20 Nov 2009 12:58:40 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[subprocess]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/?p=538</guid>
		<description><![CDATA[好长的标题&#8230;我有一个控制Vmware虚拟机的脚本，但是在Windows下正常在Linux下却不能用，当然我不能忍受Windows下虚拟机的速度。
出错的地方在这里:

p = subprocess.Popen&#40;&#91;&#34;vmrun&#34;, params&#93;, shell = True, stdout=subprocess.PIPE&#41;

然后params不能传到vmrun这个命令，虚拟机跑不起来。后来Google了一下，发现是个Bug. 只要把/usr/lib/python-2.6.2/Lib/subprocess.py里第990行改成

args = &#91;&#34;/bin/sh&#34;, &#34;-c&#34;&#93; + &#91;&#34; &#34;.join&#40;args&#41;&#93;

就好了。可是我找了半天没找到Ubuntu下Python的test目录在哪里，test_subprocess.py找不到。。。


Related posts:打开web2py的远程访问
在后台运行Python脚本服务
Ubuntu下欧洲键盘和输入法的配置



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html' rel='bookmark' title='Permanent Link: 打开web2py的远程访问'>打开web2py的远程访问</a></li>
<li><a href='http://blog.systemsthoughts.com/2009/09/%e5%9c%a8%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8cpython%e8%84%9a%e6%9c%ac%e6%9c%8d%e5%8a%a1.html' rel='bookmark' title='Permanent Link: 在后台运行Python脚本服务'>在后台运行Python脚本服务</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/08/ubuntu%e4%b8%8b%e6%ac%a7%e6%b4%b2%e9%94%ae%e7%9b%98%e5%92%8c%e8%be%93%e5%85%a5%e6%b3%95%e7%9a%84%e9%85%8d%e7%bd%ae.html' rel='bookmark' title='Permanent Link: Ubuntu下欧洲键盘和输入法的配置'>Ubuntu下欧洲键盘和输入法的配置</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>好长的标题&#8230;我有一个控制Vmware虚拟机的脚本，但是在Windows下正常在Linux下却不能用，当然我不能忍受Windows下虚拟机的速度。<br />
出错的地方在这里:</p>
<div class="codesnip-container" >
<div class="python codesnip" style="font-family:monospace;">p = <span class="kw3">subprocess</span>.<span class="me1">Popen</span><span class="br0">&#40;</span><span class="br0">&#91;</span><span class="st0">&quot;vmrun&quot;</span>, params<span class="br0">&#93;</span>, shell = <span class="kw2">True</span>, stdout=<span class="kw3">subprocess</span>.<span class="me1">PIPE</span><span class="br0">&#41;</span></div>
</div>
<p>然后params不能传到vmrun这个命令，虚拟机跑不起来。后来Google了一下，发现是个<a href="http://bugs.python.org/issue6689" target="_blank">Bug</a>. 只要把/usr/lib/python-2.6.2/Lib/subprocess.py里第990行改成</p>
<div class="codesnip-container" >
<div class="python codesnip" style="font-family:monospace;">args = <span class="br0">&#91;</span><span class="st0">&quot;/bin/sh&quot;</span>, <span class="st0">&quot;-c&quot;</span><span class="br0">&#93;</span> + <span class="br0">&#91;</span><span class="st0">&quot; &quot;</span>.<span class="me1">join</span><span class="br0">&#40;</span>args<span class="br0">&#41;</span><span class="br0">&#93;</span></div>
</div>
<p>就好了。可是我找了半天没找到Ubuntu下Python的test目录在哪里，test_subprocess.py找不到。。。</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html' rel='bookmark' title='Permanent Link: 打开web2py的远程访问'>打开web2py的远程访问</a></li>
<li><a href='http://blog.systemsthoughts.com/2009/09/%e5%9c%a8%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8cpython%e8%84%9a%e6%9c%ac%e6%9c%8d%e5%8a%a1.html' rel='bookmark' title='Permanent Link: 在后台运行Python脚本服务'>在后台运行Python脚本服务</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/08/ubuntu%e4%b8%8b%e6%ac%a7%e6%b4%b2%e9%94%ae%e7%9b%98%e5%92%8c%e8%be%93%e5%85%a5%e6%b3%95%e7%9a%84%e9%85%8d%e7%bd%ae.html' rel='bookmark' title='Permanent Link: Ubuntu下欧洲键盘和输入法的配置'>Ubuntu下欧洲键盘和输入法的配置</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Awesome不awesome</title>
		<link>http://blog.systemsthoughts.com/2009/11/awesome%e4%b8%8dawesome.html</link>
		<comments>http://blog.systemsthoughts.com/2009/11/awesome%e4%b8%8dawesome.html#comments</comments>
		<pubDate>Mon, 09 Nov 2009 16:30:00 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[想法]]></category>
		<category><![CDATA[awesome]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/?p=531</guid>
		<description><![CDATA[用了几个月的Awesome了，几点感受。
1. 配置一开始太他妈难学了。（现在好些了，知道怎么Ctrl+C Ctrl+V了)
2. 非常快。
3. 这个名字起的很失败，用Google搜很容易搜出一堆没用的渣出来。
4. 很酷。
过两天把我的配置贴上来


Related posts:问题大体解决
Segmentation Fault，怎么办???
终于换到Arch下了



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2008/10/%e9%97%ae%e9%a2%98%e5%a4%a7%e4%bd%93%e8%a7%a3%e5%86%b3.html' rel='bookmark' title='Permanent Link: 问题大体解决'>问题大体解决</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html' rel='bookmark' title='Permanent Link: 终于换到Arch下了'>终于换到Arch下了</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>用了几个月的Awesome了，几点感受。</p>
<p>1. 配置一开始太他妈难学了。（现在好些了，知道怎么Ctrl+C Ctrl+V了)<br />
2. 非常快。<br />
3. 这个名字起的很失败，用Google搜很容易搜出一堆没用的渣出来。<br />
4. 很酷。</p>
<p>过两天把我的配置贴上来</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2008/10/%e9%97%ae%e9%a2%98%e5%a4%a7%e4%bd%93%e8%a7%a3%e5%86%b3.html' rel='bookmark' title='Permanent Link: 问题大体解决'>问题大体解决</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html' rel='bookmark' title='Permanent Link: 终于换到Arch下了'>终于换到Arch下了</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2009/11/awesome%e4%b8%8dawesome.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在后台运行Python脚本服务</title>
		<link>http://blog.systemsthoughts.com/2009/09/%e5%9c%a8%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8cpython%e8%84%9a%e6%9c%ac%e6%9c%8d%e5%8a%a1.html</link>
		<comments>http://blog.systemsthoughts.com/2009/09/%e5%9c%a8%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8cpython%e8%84%9a%e6%9c%ac%e6%9c%8d%e5%8a%a1.html#comments</comments>
		<pubDate>Mon, 21 Sep 2009 14:21:49 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[小技巧]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/?p=515</guid>
		<description><![CDATA[最近写了个GTalk机器人，就一个脚本，但是我需要它24小时在服务器跑着，于是乎在网上搜不被ssh切断的方法。
你要是想python robot.py &#38; 是不行的，一旦用户登出，脚本就自动退出了。用at, cron也可以实现不过我发现了一个命令
nohup，可以忽略登出的信号，现在只要
nohup python robot.py &#38;
就好了。


Related posts:打开web2py的远程访问
Python 2.6.2 subprocess在linux下不能传递参数的处理
Segmentation Fault，怎么办???



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html' rel='bookmark' title='Permanent Link: 打开web2py的远程访问'>打开web2py的远程访问</a></li>
<li><a href='http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html' rel='bookmark' title='Permanent Link: Python 2.6.2 subprocess在linux下不能传递参数的处理'>Python 2.6.2 subprocess在linux下不能传递参数的处理</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>最近写了个GTalk机器人，就一个脚本，但是我需要它24小时在服务器跑着，于是乎在网上搜不被ssh切断的方法。</p>
<p>你要是想python robot.py &amp; 是不行的，一旦用户登出，脚本就自动退出了。用at, cron也可以实现不过我发现了一个命令</p>
<p>nohup，可以忽略登出的信号，现在只要</p>
<p>nohup python robot.py &amp;<br />
就好了。</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html' rel='bookmark' title='Permanent Link: 打开web2py的远程访问'>打开web2py的远程访问</a></li>
<li><a href='http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html' rel='bookmark' title='Permanent Link: Python 2.6.2 subprocess在linux下不能传递参数的处理'>Python 2.6.2 subprocess在linux下不能传递参数的处理</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2009/09/%e5%9c%a8%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8cpython%e8%84%9a%e6%9c%ac%e6%9c%8d%e5%8a%a1.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>给Squid添加密码验证</title>
		<link>http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html</link>
		<comments>http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html#comments</comments>
		<pubDate>Sun, 15 Feb 2009 19:56:43 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[squid]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[代理]]></category>
		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/?p=406</guid>
		<description><![CDATA[在Linux上配置代理服务squid也不止一次两次了，每次查文献怪麻烦的，在这里记录一下。
安装基本squid服务我就不说了，网上多得是。要加密码验证的话需要一个包，我安装Apache 2以后系统里就会有了。
建立一个新密码文件，然后确认一下它的属性。
touch /etc/squid/squid_passwd
chmod o+r /etc/squid/squid_passwd
然后建立一个新用户
sudo htpasswd /etc/squid/squid_passwd test
然后在/etc/squid.conf下加入:
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
在acl那堆配置里最后一行加入
acl ncsa_users proxy_auth REQUIRED
在http_access那堆里最上一行加入
http_access allow ncsa_users


Related posts:打开web2py的远程访问
SCIM在Arch Linux下的正确设置方法
Segmentation Fault，怎么办???



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html' rel='bookmark' title='Permanent Link: 打开web2py的远程访问'>打开web2py的远程访问</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/scim%e5%9c%a8arch-linux%e4%b8%8b%e7%9a%84%e6%ad%a3%e7%a1%ae%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html' rel='bookmark' title='Permanent Link: SCIM在Arch Linux下的正确设置方法'>SCIM在Arch Linux下的正确设置方法</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>在Linux上配置代理服务squid也不止一次两次了，每次查文献怪麻烦的，在这里记录一下。</p>
<p>安装基本squid服务我就不说了，网上多得是。要加密码验证的话需要一个包，我安装Apache 2以后系统里就会有了。</p>
<p>建立一个新密码文件，然后确认一下它的属性。</p>
<div class="codesnip-container" >touch /etc/squid/squid_passwd<br />
chmod o+r /etc/squid/squid_passwd</div>
<p>然后建立一个新用户</p>
<div class="codesnip-container" >sudo htpasswd /etc/squid/squid_passwd test</div>
<p>然后在/etc/squid.conf下加入:</p>
<div class="codesnip-container" >auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd</div>
<p>在acl那堆配置里最后一行加入</p>
<div class="codesnip-container" >acl ncsa_users proxy_auth REQUIRED</div>
<p>在http_access那堆里最上一行加入</p>
<div class="codesnip-container" >http_access allow ncsa_users</div>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html' rel='bookmark' title='Permanent Link: 打开web2py的远程访问'>打开web2py的远程访问</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/scim%e5%9c%a8arch-linux%e4%b8%8b%e7%9a%84%e6%ad%a3%e7%a1%ae%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html' rel='bookmark' title='Permanent Link: SCIM在Arch Linux下的正确设置方法'>SCIM在Arch Linux下的正确设置方法</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>问题大体解决</title>
		<link>http://blog.systemsthoughts.com/2008/10/%e9%97%ae%e9%a2%98%e5%a4%a7%e4%bd%93%e8%a7%a3%e5%86%b3.html</link>
		<comments>http://blog.systemsthoughts.com/2008/10/%e9%97%ae%e9%a2%98%e5%a4%a7%e4%bd%93%e8%a7%a3%e5%86%b3.html#comments</comments>
		<pubDate>Thu, 16 Oct 2008 13:53:13 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[segmentation fault]]></category>
		<category><![CDATA[系统恢复]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/2008/10/%e9%97%ae%e9%a2%98%e5%a4%a7%e4%bd%93%e8%a7%a3%e5%86%b3.html</guid>
		<description><![CDATA[今天在公司又试了几下，还是不行。后来更新系统时发现wine有个包下不下来，心想也许那些文件大面积出错也许是镜像服务器有问题？换了一个pacman的服务器，用这个命令:
pacman -S $(pacman -Qq &#124; grep -v "$(pacman -Qmq)")
把系统里的包重装了一下，果然好了，虽然VLC一样会扔出segmentation fault，有些设置文件被改写，可是总算又能用了&#8230;.
不过现在系统里的中文调不出来了，似乎系统不会读用户目录下得.xinitrc文件了，还在调查事故原因。


Related posts:打开web2py的远程访问
Ubuntu内核升级失败处理
优化你的Ubuntu,小Tips集锦(1)



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html' rel='bookmark' title='Permanent Link: 打开web2py的远程访问'>打开web2py的远程访问</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/05/ubuntu%e5%86%85%e6%a0%b8%e5%8d%87%e7%ba%a7%e5%a4%b1%e8%b4%a5%e5%a4%84%e7%90%86.html' rel='bookmark' title='Permanent Link: Ubuntu内核升级失败处理'>Ubuntu内核升级失败处理</a></li>
<li><a href='http://blog.systemsthoughts.com/2007/12/ubuntu-%e4%bc%98%e5%8c%96-tips-1.html' rel='bookmark' title='Permanent Link: 优化你的Ubuntu,小Tips集锦(1)'>优化你的Ubuntu,小Tips集锦(1)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>今天在公司又试了几下，还是不行。后来更新系统时发现wine有个包下不下来，心想也许那些文件大面积出错也许是镜像服务器有问题？换了一个pacman的服务器，用这个命令:</p>
<pre>pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")</pre>
<p>把系统里的包重装了一下，果然好了，虽然VLC一样会扔出segmentation fault，有些设置文件被改写，可是总算又能用了&#8230;.</p>
<p>不过现在系统里的中文调不出来了，似乎系统不会读用户目录下得.xinitrc文件了，还在调查事故原因。</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2010/01/%e6%89%93%e5%bc%80web2py%e7%9a%84%e8%bf%9c%e7%a8%8b%e8%ae%bf%e9%97%ae.html' rel='bookmark' title='Permanent Link: 打开web2py的远程访问'>打开web2py的远程访问</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/05/ubuntu%e5%86%85%e6%a0%b8%e5%8d%87%e7%ba%a7%e5%a4%b1%e8%b4%a5%e5%a4%84%e7%90%86.html' rel='bookmark' title='Permanent Link: Ubuntu内核升级失败处理'>Ubuntu内核升级失败处理</a></li>
<li><a href='http://blog.systemsthoughts.com/2007/12/ubuntu-%e4%bc%98%e5%8c%96-tips-1.html' rel='bookmark' title='Permanent Link: 优化你的Ubuntu,小Tips集锦(1)'>优化你的Ubuntu,小Tips集锦(1)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2008/10/%e9%97%ae%e9%a2%98%e5%a4%a7%e4%bd%93%e8%a7%a3%e5%86%b3.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Segmentation Fault，怎么办???</title>
		<link>http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html</link>
		<comments>http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html#comments</comments>
		<pubDate>Wed, 15 Oct 2008 21:45:36 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[更新]]></category>
		<category><![CDATA[arch linux]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html</guid>
		<description><![CDATA[自从某次运行了pacman -Syu更新了一次系统后，很多以前正常的程序就开始出现Segmentation Fault，我都快疯了。今天Yaourt也出现了，妈呀，我可怎么升级。
怎么办怎么办&#8230;.


Related posts:给Squid添加密码验证
用Arch的Vmplayer感受MacOSx的威力 (1)
终于换到Arch下了



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html' rel='bookmark' title='Permanent Link: 给Squid添加密码验证'>给Squid添加密码验证</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/%e7%94%a8arch%e7%9a%84vmplayer%e6%84%9f%e5%8f%97macosx%e7%9a%84%e5%a8%81%e5%8a%9b-1.html' rel='bookmark' title='Permanent Link: 用Arch的Vmplayer感受MacOSx的威力 (1)'>用Arch的Vmplayer感受MacOSx的威力 (1)</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html' rel='bookmark' title='Permanent Link: 终于换到Arch下了'>终于换到Arch下了</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>自从某次运行了pacman -Syu更新了一次系统后，很多以前正常的程序就开始出现Segmentation Fault，我都快疯了。今天Yaourt也出现了，妈呀，我可怎么升级。</p>
<p>怎么办怎么办&#8230;.</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html' rel='bookmark' title='Permanent Link: 给Squid添加密码验证'>给Squid添加密码验证</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/%e7%94%a8arch%e7%9a%84vmplayer%e6%84%9f%e5%8f%97macosx%e7%9a%84%e5%a8%81%e5%8a%9b-1.html' rel='bookmark' title='Permanent Link: 用Arch的Vmplayer感受MacOSx的威力 (1)'>用Arch的Vmplayer感受MacOSx的威力 (1)</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html' rel='bookmark' title='Permanent Link: 终于换到Arch下了'>终于换到Arch下了</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>用Arch的Vmplayer感受MacOSx的威力 (1)</title>
		<link>http://blog.systemsthoughts.com/2008/10/%e7%94%a8arch%e7%9a%84vmplayer%e6%84%9f%e5%8f%97macosx%e7%9a%84%e5%a8%81%e5%8a%9b-1.html</link>
		<comments>http://blog.systemsthoughts.com/2008/10/%e7%94%a8arch%e7%9a%84vmplayer%e6%84%9f%e5%8f%97macosx%e7%9a%84%e5%a8%81%e5%8a%9b-1.html#comments</comments>
		<pubDate>Mon, 13 Oct 2008 20:10:31 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[PC机上运行苹果系统]]></category>
		<category><![CDATA[vmplayer]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[苹果机]]></category>
		<category><![CDATA[虚拟机]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/2008/10/%e7%94%a8arch%e7%9a%84vmplayer%e6%84%9f%e5%8f%97macosx%e7%9a%84%e5%a8%81%e5%8a%9b-1.html</guid>
		<description><![CDATA[今天没经受住诱惑，在vmplayer里安装享受了一下Leopard的魅力，不过根本没法用，太慢了，就是爽一下。本来我有linux下Vmware Workstation的注册码，可是不知道是Arch Linux让我搞乱了还是怎么了，自从升级了几次以后经常会有怪毛病。比如说VLC吧，升级到0.9.4就启动不了了，提示Segmentation fault，然后这次也是，下载下来得Vmware Workstation的包后缀是bundle，chmod +x后执行，应该是个Python脚本把，本身我scim配置的很垃圾就不说了，脚本刚开始就运行不下去了，出现一个空窗口然后退出，同样的segmentation fault，崩溃阿。
只好用AUR里带得vmplayer了，我用得原来的module，没用ice版。
运行yaourt vmplayer先选择安装vmplayer-module，再选择vmplayer。不过说实话，还是有点小问题，好象vmplayer-vmx权限设置的不对，先不管它，玩我的MacOSX再说。
首先下载MacOSX要选这个版本：JaS Mac OS X 10.4.8 Intel/AMD SSE2 SSE3 PPF1+PPF2。其他的版本行不行我不知道，我是按照Wiki上推荐的下得。
然后去这个地方EasyVMX，自动生成虚拟机的地方，要不然你都得自己写。用V2.0那个按钮。
网卡选Bridged，然后把CDROM两个都选上，第二个里面填上JaS Mac OS X 10.4.8 Intel/AMD SSE2 SSE3 PPF1+PPF2.iso。硬盘也选两个，第一个做为系统盘，另外一个你一会儿就知道了，把第二个硬盘设为4G。串口并口都去掉。下载新生成的虚拟机。
今天太晚了，该睡觉了，未完待续&#8230;..


Related posts:给Squid添加密码验证
Segmentation Fault，怎么办???
终于换到Arch下了



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html' rel='bookmark' title='Permanent Link: 给Squid添加密码验证'>给Squid添加密码验证</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html' rel='bookmark' title='Permanent Link: 终于换到Arch下了'>终于换到Arch下了</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>今天没经受住诱惑，在vmplayer里安装享受了一下Leopard的魅力，不过根本没法用，太慢了，就是爽一下。本来我有linux下Vmware Workstation的注册码，可是不知道是Arch Linux让我搞乱了还是怎么了，自从升级了几次以后经常会有怪毛病。比如说VLC吧，升级到0.9.4就启动不了了，提示Segmentation fault，然后这次也是，下载下来得Vmware Workstation的包后缀是bundle，chmod +x后执行，应该是个Python脚本把，本身我scim配置的很垃圾就不说了，脚本刚开始就运行不下去了，出现一个空窗口然后退出，同样的segmentation fault，崩溃阿。</p>
<p>只好用AUR里带得vmplayer了，我用得原来的module，没用ice版。</p>
<p>运行yaourt vmplayer先选择安装vmplayer-module，再选择vmplayer。不过说实话，还是有点小问题，好象vmplayer-vmx权限设置的不对，先不管它，玩我的MacOSX再说。</p>
<p>首先下载MacOSX要选这个版本：JaS Mac OS X 10.4.8 Intel/AMD SSE2 SSE3 PPF1+PPF2。其他的版本行不行我不知道，我是按照Wiki上推荐的下得。<br />
然后去这个地方<a href="http://www.easyvmx.com/" target="_blank">EasyVMX</a>，自动生成虚拟机的地方，要不然你都得自己写。用V2.0那个按钮。<br />
网卡选Bridged，然后把CDROM两个都选上，第二个里面填上JaS Mac OS X 10.4.8 Intel/AMD SSE2 SSE3 PPF1+PPF2.iso。硬盘也选两个，第一个做为系统盘，另外一个你一会儿就知道了，把第二个硬盘设为4G。串口并口都去掉。下载新生成的虚拟机。</p>
<p>今天太晚了，该睡觉了，未完待续&#8230;..</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html' rel='bookmark' title='Permanent Link: 给Squid添加密码验证'>给Squid添加密码验证</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html' rel='bookmark' title='Permanent Link: 终于换到Arch下了'>终于换到Arch下了</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2008/10/%e7%94%a8arch%e7%9a%84vmplayer%e6%84%9f%e5%8f%97macosx%e7%9a%84%e5%a8%81%e5%8a%9b-1.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>终于换到Arch下了</title>
		<link>http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html</link>
		<comments>http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html#comments</comments>
		<pubDate>Sat, 13 Sep 2008 20:21:20 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[arch linux]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html</guid>
		<description><![CDATA[今天抽风，不满于因为ubuntu某些软件更新太慢导致的弱智问题，我花了20个小时把系统换到Arch Linux了。
被Ubunut惯坏了，不知道原来他们替我们做了这么多配置工作呐，也难怪速度那么慢。
过两天把遇到的问题写写。不过说实话，一般用户用 Ubuntu还是挺好的，希望我这么多时间画的值。


Related posts:给Squid添加密码验证
Segmentation Fault，怎么办???
用Arch的Vmplayer感受MacOSx的威力 (1)



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html' rel='bookmark' title='Permanent Link: 给Squid添加密码验证'>给Squid添加密码验证</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/%e7%94%a8arch%e7%9a%84vmplayer%e6%84%9f%e5%8f%97macosx%e7%9a%84%e5%a8%81%e5%8a%9b-1.html' rel='bookmark' title='Permanent Link: 用Arch的Vmplayer感受MacOSx的威力 (1)'>用Arch的Vmplayer感受MacOSx的威力 (1)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>今天抽风，不满于因为ubuntu某些软件更新太慢导致的弱智问题，我花了20个小时把系统换到Arch Linux了。</p>
<p>被Ubunut惯坏了，不知道原来他们替我们做了这么多配置工作呐，也难怪速度那么慢。</p>
<p>过两天把遇到的问题写写。不过说实话，一般用户用 Ubuntu还是挺好的，希望我这么多时间画的值。</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2009/02/%e7%bb%99squid%e6%b7%bb%e5%8a%a0%e5%af%86%e7%a0%81%e9%aa%8c%e8%af%81.html' rel='bookmark' title='Permanent Link: 给Squid添加密码验证'>给Squid添加密码验证</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/segmentation-fault%ef%bc%8c%e6%80%8e%e4%b9%88%e5%8a%9e.html' rel='bookmark' title='Permanent Link: Segmentation Fault，怎么办???'>Segmentation Fault，怎么办???</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/%e7%94%a8arch%e7%9a%84vmplayer%e6%84%9f%e5%8f%97macosx%e7%9a%84%e5%a8%81%e5%8a%9b-1.html' rel='bookmark' title='Permanent Link: 用Arch的Vmplayer感受MacOSx的威力 (1)'>用Arch的Vmplayer感受MacOSx的威力 (1)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2008/09/%e7%bb%88%e4%ba%8e%e6%8d%a2%e5%88%b0arch%e4%b8%8b%e4%ba%86.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu下欧洲键盘和输入法的配置</title>
		<link>http://blog.systemsthoughts.com/2008/08/ubuntu%e4%b8%8b%e6%ac%a7%e6%b4%b2%e9%94%ae%e7%9b%98%e5%92%8c%e8%be%93%e5%85%a5%e6%b3%95%e7%9a%84%e9%85%8d%e7%bd%ae.html</link>
		<comments>http://blog.systemsthoughts.com/2008/08/ubuntu%e4%b8%8b%e6%ac%a7%e6%b4%b2%e9%94%ae%e7%9b%98%e5%92%8c%e8%be%93%e5%85%a5%e6%b3%95%e7%9a%84%e9%85%8d%e7%bd%ae.html#comments</comments>
		<pubDate>Thu, 28 Aug 2008 09:55:33 +0000</pubDate>
		<dc:creator>linuxcity</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fcitx]]></category>
		<category><![CDATA[fit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[scim]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xfit]]></category>
		<category><![CDATA[瑞典语键盘]]></category>

		<guid isPermaLink="false">http://blog.systemsthoughts.com/2008/08/ubuntu%e4%b8%8b%e6%ac%a7%e6%b4%b2%e9%94%ae%e7%9b%98%e5%92%8c%e8%be%93%e5%85%a5%e6%b3%95%e7%9a%84%e9%85%8d%e7%bd%ae.html</guid>
		<description><![CDATA[在Ubuntu下同时配置欧洲键盘和中文输入法绝对是pain in the ass。单独搞这两个其实并不难，难就难在他们在一起不好工作。就为这个我放弃了用了1年多的fcitx，转而用scim-fit。
前一阵逛超市看到罗技无限键鼠套装打折卖99，于是买了一套回来，回来一直当英语键盘用。可是经常被键位搞晕，后来换成瑞典语键盘了，但是在fcitx下输入汉字有些键就不管用了，而且中文输入也时有时没有的。像是这个符号“~”我就输入不了。正好在ubuntu论坛上发现了一个新舒服法Fun Input Toy，把fcitx换下来，把scim装上。然后在设置里有个Other/European也选上，就行了。在scim把键位也设成swedish，这样无论切到哪个语，键位都是瑞典语的。
我自己的机器以前用得土法配置的fcitx不好自动去除，装了卸了几次还是不行。所有环境变量都设上还是不能用，不知道为什么fcitx这么firm。最后只好在自己的.profile最后强行把IM_MODULE弄成scim。


Related posts:Python 2.6.2 subprocess在linux下不能传递参数的处理
优化你的Ubuntu,小Tips集锦(1)
问题大体解决



Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html' rel='bookmark' title='Permanent Link: Python 2.6.2 subprocess在linux下不能传递参数的处理'>Python 2.6.2 subprocess在linux下不能传递参数的处理</a></li>
<li><a href='http://blog.systemsthoughts.com/2007/12/ubuntu-%e4%bc%98%e5%8c%96-tips-1.html' rel='bookmark' title='Permanent Link: 优化你的Ubuntu,小Tips集锦(1)'>优化你的Ubuntu,小Tips集锦(1)</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/%e9%97%ae%e9%a2%98%e5%a4%a7%e4%bd%93%e8%a7%a3%e5%86%b3.html' rel='bookmark' title='Permanent Link: 问题大体解决'>问题大体解决</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>在Ubuntu下同时配置欧洲键盘和中文输入法绝对是pain in the ass。单独搞这两个其实并不难，难就难在他们在一起不好工作。就为这个我放弃了用了1年多的fcitx，转而用scim-fit。</p>
<p>前一阵逛超市看到罗技无限键鼠套装打折卖99，于是买了一套回来，回来一直当英语键盘用。可是经常被键位搞晕，后来换成瑞典语键盘了，但是在fcitx下输入汉字有些键就不管用了，而且中文输入也时有时没有的。像是这个符号“~”我就输入不了。正好在ubuntu论坛上发现了一个新舒服法Fun Input Toy，把fcitx换下来，把scim装上。然后在设置里有个Other/European也选上，就行了。在scim把键位也设成swedish，这样无论切到哪个语，键位都是瑞典语的。</p>
<p>我自己的机器以前用得土法配置的fcitx不好自动去除，装了卸了几次还是不行。所有环境变量都设上还是不能用，不知道为什么fcitx这么firm。最后只好在自己的.profile最后强行把IM_MODULE弄成scim。</p>


<p>Related posts:<ol><li><a href='http://blog.systemsthoughts.com/2009/11/python-262-subprocess%e5%9c%a8linux%e4%b8%8b%e4%b8%8d%e8%83%bd%e4%bc%a0%e9%80%92%e5%8f%82%e6%95%b0%e7%9a%84%e5%a4%84%e7%90%86.html' rel='bookmark' title='Permanent Link: Python 2.6.2 subprocess在linux下不能传递参数的处理'>Python 2.6.2 subprocess在linux下不能传递参数的处理</a></li>
<li><a href='http://blog.systemsthoughts.com/2007/12/ubuntu-%e4%bc%98%e5%8c%96-tips-1.html' rel='bookmark' title='Permanent Link: 优化你的Ubuntu,小Tips集锦(1)'>优化你的Ubuntu,小Tips集锦(1)</a></li>
<li><a href='http://blog.systemsthoughts.com/2008/10/%e9%97%ae%e9%a2%98%e5%a4%a7%e4%bd%93%e8%a7%a3%e5%86%b3.html' rel='bookmark' title='Permanent Link: 问题大体解决'>问题大体解决</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.systemsthoughts.com/2008/08/ubuntu%e4%b8%8b%e6%ac%a7%e6%b4%b2%e9%94%ae%e7%9b%98%e5%92%8c%e8%be%93%e5%85%a5%e6%b3%95%e7%9a%84%e9%85%8d%e7%bd%ae.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
