<?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>ubuntu,debian,redhat -linuxany.com &#187; Debian</title>
	<atom:link href="http://www.linuxany.com/archives/tag/2-debian/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 08:59:02 +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>让debian支持鼠标中键</title>
		<link>http://www.linuxany.com/archives/437.html</link>
		<comments>http://www.linuxany.com/archives/437.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:30:15 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[inputdevice]]></category>
		<category><![CDATA[mouse]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=472</guid>
		<description><![CDATA[　　如今开发平台转移到linux，使用debian操作系统，一切都还算顺利。然而用了一段时间之后，特别在写程序的时候发现不能使用鼠标中键是一件很不舒服的事情，那么怎样使debian支持鼠标中键呢？通过查看debian手册，发现通过以下操作很方便就能实现这个功能： 　　在root权限下用编辑器打开/etc/X11/xorg.conf文件，找到InputDevice字段，如下： Section “InputDevice” Identifier “Configured Mouse” Driver “mouse” Option “CorePointer” Option “Device” “/dev/input/mice” Option “Protocol” “ImPS/2&#8243; Option “Emulate3Buttons” “true” Option “ZAxisMapping” “4 5&#8243; EndSection 　　添加红色的那行，并保存。重启之后，鼠标中键有效。 您还可能感兴趣的内容再提Ubuntu/Debian下JAVA中文显示制作deb包的三种方法建立Debian镜像Debian下玩街机游戏Debian下系统时间不准确（快8小时）解决方案]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/437.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>再提Ubuntu/Debian下JAVA中文显示</title>
		<link>http://www.linuxany.com/archives/434.html</link>
		<comments>http://www.linuxany.com/archives/434.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:27:54 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[fallback]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Java/jsp]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[mkfontscale]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=469</guid>
		<description><![CDATA[1.在 jre/lib/fonts/ 下建立个目录 fallback 比如我这儿就是 mkdir /usr/lib/j2sdk1.5-sun/jre/lib/fonts/fallback/ 2.在 fallback 里弄个中文字体 拷贝或链接都可以 ln -s /usr/share/fonts/truetype/arphic/uming.ttf /usr/lib/j2sdk1.5-sun/jre/lib/fonts/fallback/ 3.进入 jre/lib/fonts/fallback/ 执行 mkfontscale 再把 jre/lib/fonts/fonts.scale 的内容加到 jre/lib/fonts/fonts.dir cd /usr/lib/j2sdk1.5-sun/jre/lib/fonts/fallback/mkfontscalecd ..cat fallback/fonts.scale &#62;&#62; fonts.dir 您还可能感兴趣的内容让debian支持鼠标中键制作deb包的三种方法建立Debian镜像Debian下玩街机游戏Debian下系统时间不准确（快8小时）解决方案]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/434.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作deb包的三种方法</title>
		<link>http://www.linuxany.com/archives/432.html</link>
		<comments>http://www.linuxany.com/archives/432.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:24:44 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=467</guid>
		<description><![CDATA[制作deb包有三种方法，一种是将现有的文件打包，安装该包就像将打包的文件释放到某个目录；第二种是用deb源码打包; 第三种是用makefile源码打包,安装这种包就相当于用源码编译安装软件。 1. 第一种方法&#8212;&#8211;将现有的文件打包： 比如你要打包你当前debian系统的/usr/src/soft目录，然后在另一个debian系统上安装 改包时这些文件也释放到/usr/src/soft目录下： 在随便一个目录，比如是root下创建一个工作目录，比如是work #cd /root#mkdir work#cd work 因为安装包的时候默认是将文件释放到根目录下，所以我们设定好它的路径： #mkdir -p usr/src#cp -a /usr/src/soft usr/src#mkdir DEBIAN 用如下的方法在DEBIAN目录下创建一个control文件，并用加入内容： #cat >DEBIAN/control/etc/apt/sources.list 文件中加入 deb-src 条目. 然后, 运行命令 # apt-get update 或# aptitude update就可以用下面的命令下载源码包： # apt-get source packagename 或 # aptitude source packagename 通常会下载三个文件：.orig.tar.gz，.dsc 和 .diff.gz。对于 Debian 专用的软件包，最后一个文件不会下载，第一个文件的文件名中没有“orig”项。 dpkg-source 读取 .dsc 文件信息，将源码包解包到 packagename-version 目录，下载下来的源码包中有一个 debian/ 目录，里面是创建 [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/432.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>建立Debian镜像</title>
		<link>http://www.linuxany.com/archives/430.html</link>
		<comments>http://www.linuxany.com/archives/430.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:21:54 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[debmirror]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=465</guid>
		<description><![CDATA[在做FAI的过程中，需要用到debian的镜像，此时需要使用本地的镜像，如果直接使用fai-mirror，所生成的镜像将是package-config中的包，一般都不全，所以还是使用了debmirror的方法。 如何建立一个Debian镜像网站呢？在Debian的官方网站已经有专门的介绍： http://www.debian.org/mirror/ftpmirror 这是基于rsync软件的方法，网页也提供了进行网站镜像的现成脚本，但是实现起来比较麻烦而且常常失败。我想使用debmirror这个软件来进行Debian镜像应该更简单一些。 Debmirror是一个德国人用perl写的Debian网站镜像工具，使用起来更为简单和方便。在缺省的情况下，debmirror使用ftp方式 (也可以使用rsync方式)来获取debian所有内容到本地硬盘，再通过系统的http服务器或是ftp服务器将本机设置为合法的apt源，其他客户 通过修改自己debian系统的/etc/sources.list文件指向该机器。 在对Debian做镜像之前有一个要考虑的问题是：你准备对Debian镜像到何种程度，或者说你的硬盘有多大？一些我们很少用的计算机类型的 Debian资源是否需要镜像？如果镜像整个Debian，大约需要100G的硬盘空间，每种CPU架构的Woody Sarge Sid软件加起来大约是6&#8211;8G。 下面来看看具体工作过程： 1 安装debmirror软件： #apt-get install debmirror 2 运行debmirror软件获得debian软件包： 在此之前，你要决定你的debian软件包放在硬盘的那个目录，这是debmirror运行必需参数，假如： #debmirror /mydebian 意思是将整个debian以所有的缺省参数镜像到我的电脑的/mydebian目录下。啊，100G呀！要下载多久啊！显然不现实，我们需要使用一些其他参数来调整我们的镜像过程，debmirror的可选参数很多，你可以： #man debmirror 来查看，下面介绍几个重要的： -v：详细显示镜像的具体步骤，最好选上，时刻掌握debmirror的动向。 -h：从哪个主机下载debian软件包，缺省是ftp.debian.org，国内我想最好使用debian.cn99.com。 -d：决定镜像debian的哪个版本，我喜欢折中主义，选择sarge。缺省都选。 -s：决定镜像debian的哪个部分，即在main,contrib,non-free三者中选一个，缺省都选。 -a：选择计算机架构方式，缺省为i386。 &#8211;nosource:缺省情况下，debmirror会把debian包的源码一起下载，该参数则禁止下载源码 假如我想做个最简单的debian源，从我身边最快的debian网站，镜像i386电脑的sarge的main部分的软件包而且还不带源码，下载来的包放在mydebian目录下，那么命令是： #debmirror -v -d unstable -s main/debian-installer -e http -h 192.168.10.202 --ignore-release-gpg --ignore-missing-release --nosource debmirror 3 下载完后的设置。 我想通过http方式发布我的debian镜像，先在我的httpd.conf后面加一句： Alias /debmirror /mydebian 再用#apachectl restart重新启动apache服务器，就好了。 [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/430.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian下玩街机游戏</title>
		<link>http://www.linuxany.com/archives/428.html</link>
		<comments>http://www.linuxany.com/archives/428.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:19:27 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[kof]]></category>
		<category><![CDATA[neogeo]]></category>
		<category><![CDATA[rom]]></category>
		<category><![CDATA[xmame]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=463</guid>
		<description><![CDATA[　　搜到了好几个结果，也不知道都有什么区别，为保万一 　　 #apt-get install xmame-x xmame-svga xmame-sdl xmame-tools 　　搜索着下载了kof&#8217;98 　　#xmame ./kof98.zip　　#xmame .sdl ./kof98.zip 　　等等，几个命令都试了一遍，全都显示缺少个什么文件。 　　又到Google搜查一番，发现得有个neogeo.zip文件存在于rom目录下才行。 　　下载。 　　$mkdir rom　　$mv kof98.zip neogeo.zip rom　　$cd rom　　$xmame.sdl -ws 4 -hs 4 ./kof98.zip 　　因为搜到的那篇文章上是用的xmame.sdl这个命令，所以我也没有试其他的命令，反正可以玩了。 　　按Tab键可以进行设置，P键可以用来暂停游戏。 您还可能感兴趣的内容让debian支持鼠标中键再提Ubuntu/Debian下JAVA中文显示制作deb包的三种方法建立Debian镜像Debian下系统时间不准确（快8小时）解决方案]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/428.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian下系统时间不准确（快8小时）解决方案</title>
		<link>http://www.linuxany.com/archives/426.html</link>
		<comments>http://www.linuxany.com/archives/426.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:17:23 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[blacklist]]></category>
		<category><![CDATA[directisa]]></category>
		<category><![CDATA[hwclock]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=461</guid>
		<description><![CDATA[有两个方法： 方法一，为 hwclock 增加参数 &#8211;directisa。编辑 /etc/init.d/hwclock.sh 和 /etc/init.d/hwclockfirst.sh，把“HWCLOCKPARS=”一行改成 “HWCLOCKPARS=&#8211;directisa”(我的Dell D630使用这个方法搞定) 方法二，阻止内核加载 rtc 模块，在 Debian 下，可以通过修改 /etc/modprobe.d/blacklist 文件，在里面增加一行“blacklist rtc”。 您还可能感兴趣的内容让debian支持鼠标中键再提Ubuntu/Debian下JAVA中文显示制作deb包的三种方法建立Debian镜像Debian下玩街机游戏]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/426.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>从编译打包scim-python学习打包deb</title>
		<link>http://www.linuxany.com/archives/424.html</link>
		<comments>http://www.linuxany.com/archives/424.html#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:14:12 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[debhelper]]></category>
		<category><![CDATA[dpkg-dev]]></category>
		<category><![CDATA[scim]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=459</guid>
		<description><![CDATA[首先需要安装必要的编译打包所需的包： $ sudo apt-get install dpkg-dev file gcc g++ libc6-dev make patch perl autoconf automake dh-make debhelper devscripts fakeroot gnupg g77 gpc xutils lintian pbuilder 然后当然是下载源码。比如现在我们下载获得的是：scim-python-0.1.13rc1.tar.gz。新建一个目录，命名为SCIM，将源码包放到目录中，解压源码包（如果源码包的命名不规范，需要先将源码包命名规范化，具体内容参看Debian新维护人员手册，以下简称手册）到当前目录。那么现在scim里面就会有scim-python-0.1.13rc1.tar.gz这个文件和scim-python-0.1.13rc1这个文件夹了 接下来打开需要查看相关文档，找出编译scim-python所依赖的包，并安装上。这里scim需要到的包有： $ sudo apt-get install g++ libgtk2.0-dev python-gtk2-dev scim-dev 打开终端，进入scim-python-0.1.13rc1这个文件夹 首次Debian化： $ dh_make -e your@your.cn -f ../scim-python-0.1.13rc1.tar.gz 划线部分为你的邮箱名，这个命令会在scim-python-0.1.13rc1这个文件夹下新建一个debian文件夹，并建立一些打包需要的文件。 按个人情况我们可以修改部分文件（具体参看手册），比如这里我们修改下control最后部分，添加上介绍。 Description: scim-python 0.1.13rc1scim-python input 当然，一般的打包基本不需要修改其他文件，如果你需要更多的打包控制，参看手册吧。 最后完成打包： $ dpkg-buildpackage -rfakeroot 这会在scim目录下生成一个你使用平台的deb包。 [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/424.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

