<?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>trylife &#187; linux</title>
	<atom:link href="http://www.trylife.cn/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trylife.cn</link>
	<description>life&#039;s short , try more...</description>
	<lastBuildDate>Sat, 03 Dec 2011 21:04:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ubuntu 通过路由上网本地地址分配</title>
		<link>http://www.trylife.cn/temporary-ip-address-assignment/</link>
		<comments>http://www.trylife.cn/temporary-ip-address-assignment/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 20:02:57 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu上网]]></category>
		<category><![CDATA[ubuntu上网设置]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=1358</guid>
		<description><![CDATA[本地IP：192.168.1.100 子网掩码：255.255.255.0 网关地址：192.168.1.1 Terminal命令如下 sudo ifconfig eth0 192.168.1.100 netmask 255.255.255.0 sudo route add default gw 192.168.1.1 eth0 路由设置如图 接下来可以上网了。]]></description>
			<content:encoded><![CDATA[<p>本地IP：192.168.1.100<br />
子网掩码：255.255.255.0<br />
网关地址：192.168.1.1</p>
<p><strong>Terminal命令如下</strong><br />
<code class="Terminal"><br />
sudo ifconfig eth0 192.168.1.100 netmask 255.255.255.0<br />
sudo route add default gw 192.168.1.1 eth0<br />
</code></p>
<p><strong>路由设置如图</strong><br />
<img class="alignnone size-full wp-image-1363" title="Temporary-IP-Address-Assignment" src="http://www.trylife.cn/wp-content/uploads/2010/10/Temporary-IP-Address-Assignment.jpg" alt="" width="528" height="332" /></p>
<p>接下来可以上网了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/temporary-ip-address-assignment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amarok 无法播放mp3</title>
		<link>http://www.trylife.cn/amarok-can-not-play-mp3/</link>
		<comments>http://www.trylife.cn/amarok-can-not-play-mp3/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 04:18:08 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Amarok]]></category>
		<category><![CDATA[amarok 播放wma]]></category>
		<category><![CDATA[linux amarok 无法播放mp3]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu amarok无法播放mp3]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=837</guid>
		<description><![CDATA[Amarok 无法播放mp3,wma]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 10.04 下装了Amarok 但是就是播放不了MP3 也播放不了wma，我勒个去的；经过乱下包后发现在装完libxine1-ffmpeg可以播放了～～～</p>
<pre name="code">
trylife@ubuntu:~$ sudo aptitude install libxine1-ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/amarok-can-not-play-mp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux QQ自动退出 打不了中文</title>
		<link>http://www.trylife.cn/linux-qq-001/</link>
		<comments>http://www.trylife.cn/linux-qq-001/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 07:04:48 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[linux qq]]></category>
		<category><![CDATA[linux qq自动退出]]></category>
		<category><![CDATA[linuxQQ 汉字]]></category>
		<category><![CDATA[linuxQQ中文]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=833</guid>
		<description><![CDATA[trylife@ubuntu:~$ sudo gedit /usr/bin/qq 编辑器内容修改为： #!/bin/sh export GDK_NATIVE_WINDOWS=true GTK_IM_MODULE=xim XMODIFIERS="@im=ibus" cd /usr/share/tencent/qq/ ./qq]]></description>
			<content:encoded><![CDATA[<p><span style="color: #008000;">trylife@ubuntu:~$ sudo gedit /usr/bin/qq</span></p>
<p><strong>编辑器内容修改为：</strong></p>
<pre name="code">
#!/bin/sh
export GDK_NATIVE_WINDOWS=true GTK_IM_MODULE=xim XMODIFIERS="@im=ibus"
cd /usr/share/tencent/qq/
./qq
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/linux-qq-001/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>linux下图表制作工具 &#8211; Dia</title>
		<link>http://www.trylife.cn/dia-a-drawing-program/</link>
		<comments>http://www.trylife.cn/dia-a-drawing-program/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 18:39:39 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Dia]]></category>
		<category><![CDATA[IT项目绘图工具]]></category>
		<category><![CDATA[图表制作工具]]></category>
		<category><![CDATA[数据库绘图工具]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=786</guid>
		<description><![CDATA[linux下图表制作工具 - Dia]]></description>
			<content:encoded><![CDATA[<p>说是linux下其实Dia是Python写的，跨平台的！我个人感觉不是很稳定，不过也不是经常崩溃～；总体来说windows下用Dia比linux下用Dia崩溃概率要高；不过只是个人感觉是这样～；不过在linux平台下代替Visio还是很好的选择；现上一张图来看，数据库关系～</p>
<p style="text-align: center;"><img class="size-full wp-image-787 aligncenter" title="Dia-Screenshot" src="http://www.trylife.cn/wp-content/uploads/2010/07/Dia-Screenshot.png" alt="" width="500" height="496" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/dia-a-drawing-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XP中毒 现在使用ubuntu</title>
		<link>http://www.trylife.cn/windows-xp-poisoned/</link>
		<comments>http://www.trylife.cn/windows-xp-poisoned/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 18:19:11 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[gedit打开GBK文件乱码]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows xp]]></category>
		<category><![CDATA[关闭ubuntu触摸板]]></category>
		<category><![CDATA[关闭触摸板]]></category>
		<category><![CDATA[触摸板]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/?p=782</guid>
		<description><![CDATA[中毒了感染到各个盘，杀不尽，清不绝；开机一段时间后内存耗尽而死！！ 没办法～开始使用ubuntu～ 笔记本要关闭触摸板，方法如下： trylife@ubuntu:~$ sudo -i [sudo] password for trylife: root@ubuntu:~# sudo modprobe -r psmouse root@ubuntu:~# gedit打开GBK文件乱码 处理方法如下： trylife@ubuntu:~$ gconf-editor 运行之后弹出一个对话框； 左边的位置选择：/apps/gedit-2/preferences/encodeings/ 右边的设置如图]]></description>
			<content:encoded><![CDATA[<p>中毒了感染到各个盘，杀不尽，清不绝；开机一段时间后内存耗尽而死！！</p>
<p>没办法～开始使用ubuntu～</p>
<p><strong>笔记本要关闭触摸板，方法如下：</strong></p>
<p>trylife@ubuntu:~$ sudo -i<br />
[sudo] password for trylife:<br />
root@ubuntu:~# sudo modprobe -r psmouse<br />
root@ubuntu:~#</p>
<p><strong>gedit打开GBK文件乱码 处理方法如下</strong>：</p>
<p>trylife@ubuntu:~$ gconf-editor<br />
运行之后弹出一个对话框；</p>
<p>左边的位置选择：/apps/gedit-2/preferences/encodeings/</p>
<p>右边的设置如图</p>
<p><img class="alignnone size-full wp-image-783" title="Screenshot-Configuration Editor - encodings" src="http://www.trylife.cn/wp-content/uploads/2010/07/Screenshot-Configuration-Editor-encodings.png" alt="" width="700" height="550" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/windows-xp-poisoned/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>multiget install on linux(CentOS5.3)</title>
		<link>http://www.trylife.cn/multiget/</link>
		<comments>http://www.trylife.cn/multiget/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 06:17:36 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/multiget/</guid>
		<description><![CDATA[问题： checking for XML::Parser&#8230; configure: error: XML::Parser perl module is required for intltool 解决：yum install perl-XML-parser Error Downloading Packages: perl-XML-Parser-2.34-6.1.2.2.1.i386: failure: CentOS/perl-XML-Parser-2.34-6.1.2.2.1.i386.rpm from base: [Errno 256] No more mirrors to try. 问题：configure: error: wxWidgets is required. Try &#8211;with-wx-config. 解决：安装wxWidgets]]></description>
			<content:encoded><![CDATA[<p>问题： checking for XML::Parser&#8230; configure: error: XML::Parser perl module is required for intltool<br />
解决：yum install perl-XML-parser</p>
<blockquote><p>
Error Downloading Packages:<br />
  perl-XML-Parser-2.34-6.1.2.2.1.i386: failure: CentOS/perl-XML-Parser-2.34-6.1.2.2.1.i386.rpm from base: [Errno 256] No more mirrors to try.</p>
</blockquote>
<p>问题：configure: error: wxWidgets is required. Try &#8211;with-wx-config.<br />
解决：安装wxWidgets</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/multiget/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Liunx  HOSTS</title>
		<link>http://www.trylife.cn/liunx-hosts/</link>
		<comments>http://www.trylife.cn/liunx-hosts/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 14:19:29 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[HOSTS]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/liunx-hosts/</guid>
		<description><![CDATA[Linux 也是有HOSTS文件的，用法也和WINDOWS的一样；我用的LINUX版本是CENTOS5.3 [root@localhost ~]# vi /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 ~ ~ ~ "/etc/hosts" 4L, 187C]]></description>
			<content:encoded><![CDATA[<p>Linux 也是有HOSTS文件的，用法也和WINDOWS的一样；我用的LINUX版本是CENTOS5.3<br />
<code><br />
[root@localhost ~]# vi /etc/hosts<br />
# Do not remove the following line, or various programs<br />
# that require network functionality will fail.<br />
127.0.0.1               localhost.localdomain localhost<br />
::1             localhost6.localdomain6 localhost6<br />
~<br />
~<br />
~<br />
"/etc/hosts" 4L, 187C<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/liunx-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install OpenAL under Linux</title>
		<link>http://www.trylife.cn/install-openal-under-linux/</link>
		<comments>http://www.trylife.cn/install-openal-under-linux/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 18:25:34 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[CMake]]></category>
		<category><![CDATA[OpenAl]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/install-openal-under-linux/</guid>
		<description><![CDATA[1.download CMake and install #./configure #gmake #make install 2.download OpenAL and install #cd CMakeConf #cmake ..]]></description>
			<content:encoded><![CDATA[<p>1.download CMake and install</p>
<p><code><br />
#./configure<br />
#gmake<br />
#make install<br />
</code></p>
<p>2.download OpenAL and install</p>
<p><code><br />
#cd CMakeConf<br />
#cmake ..<br />
</code></p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/41d0bf65-e8c9-4366-9fc0-f35315feac3f/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=41d0bf65-e8c9-4366-9fc0-f35315feac3f" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/install-openal-under-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>NotImplementedError: mixer module not available</title>
		<link>http://www.trylife.cn/notimplementederror-mixer-module-not-available/</link>
		<comments>http://www.trylife.cn/notimplementederror-mixer-module-not-available/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 13:25:19 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/notimplementederror-mixer-module-not-available/</guid>
		<description><![CDATA[[root@localhost src]# python FretsOnFire.py /opt/program/Frets on Fire-1.3.110/src/Audio.py:179: RuntimeWarning: use mixer: No module named mixer pygame.mixer.pre_init(frequency, -bits, stereo and 2 or 1, bufferSize) Traceback (most recent call last): File “FretsOnFire.py”, line 74, in ? engine = GameEngine(config) File “/opt/program/Frets on Fire-1.3.110/src/GameEngine.py”, line 147, in __init__ self.audio.pre_open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>[root@localhost src]# python FretsOnFire.py<br />
/opt/program/Frets on Fire-1.3.110/src/Audio.py:179: RuntimeWarning: use mixer: No module named mixer<br />
pygame.mixer.pre_init(frequency, -bits, stereo and 2 or 1, bufferSize)<br />
Traceback (most recent call last):<br />
File “FretsOnFire.py”, line 74, in ?<br />
engine = GameEngine(config)<br />
File “/opt/program/Frets on Fire-1.3.110/src/GameEngine.py”, line 147, in __init__<br />
self.audio.pre_open(frequency = frequency, bits = bits, stereo = stereo, bufferSize = bufferSize)<br />
File “/opt/program/Frets on Fire-1.3.110/src/Audio.py”, line 179, in pre_open<br />
pygame.mixer.pre_init(frequency, -bits, stereo and 2 or 1, bufferSize)<br />
File “/usr/lib/python2.4/site-packages/pygame/__init__.py”, line 70, in __getattr__<br />
raise NotImplementedError, MissingPygameModule<br />
NotImplementedError: mixer module not available<br />
[root@localhost src]#</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/notimplementederror-mixer-module-not-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unmpy-1.3.0 install</title>
		<link>http://www.trylife.cn/unmpy-install/</link>
		<comments>http://www.trylife.cn/unmpy-install/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 12:28:22 +0000</pubDate>
		<dc:creator>TryLife</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[unmpy]]></category>

		<guid isPermaLink="false">http://www.trylife.cn/umpy-install/</guid>
		<description><![CDATA[[root@localhost numpy-1.3.0]# cat README.txt NumPy is the fundamental package needed for scientific computing with Python. This package contains: * a powerful N-dimensional array object * sophisticated (broadcasting) functions * tools for integrating C/C++ and Fortran code * useful linear algebra, Fourier transform, and random number capabilities. It derives from the old Numeric code base and [...]]]></description>
			<content:encoded><![CDATA[<p> <code><br />
<font color="#003300">[root@localhost numpy-1.3.0]# cat README.txt</font><br />
NumPy is the fundamental package needed for scientific computing with Python.<br />
This package contains:<br />
* a powerful N-dimensional array object<br />
* sophisticated (broadcasting) functions<br />
* tools for integrating C/C++ and Fortran code<br />
* useful linear algebra, Fourier transform, and random number capabilities.<br />
It derives from the old Numeric code base and can be used as a replacement for Numeric. It also adds the features introduced by numarray and can be used to replace numarray.<br />
More information can be found at the website:</p>
<p>http://scipy.org/NumPy</p>
<p>After installation, tests can be run with:<br />
python -c 'import numpy; numpy.test()'<br />
The most current development version is always available from our<br />
subversion repository:</p>
<p>http://svn.scipy.org/svn/numpy/trunk</p>
<p><font color="#003300">[root@localhost numpy-1.3.0]# python setup.py install</font><br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trylife.cn/unmpy-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

