Re: Latex问题

2010-05-16 文章 jun yu
还是直接装 texlive 比较好,系统的包好像比较老

2010/5/16 amateur tianlei.z...@gmail.com:
 On Sat. 2010-05-15 18:47:27 +0800, 刘宇辉 wrote:
 不是的,直接是pdftex 来生成pdf的,用英文的话,正常。
   \documentclass[12pt]{article}
   \usepackage{CJK}
   \begin{document}
   \begin{CJK*}{GB}{song}
   \CJKtilde
   \title{\bf 中文\LaTeX~(CJK+LaTeX)的使用实例}
   \date{\today}
   \maketitle
   \end{CJK*}

 这里加一行:
 \clearpage

 试试
   \end{document}

 --
 Could somebody drag the Irix team kicking and screaming into the 1980's,
 please?

 I realize it might be quite painful for them, but maybe you could buy them
 a disco tape, so they'd feel a little bit more at home.

-- Linus Stayin' alive, stayin' alive Torvalds


 --
 To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/20100516120441.ga4...@localdomain





-- 
-- 
庾俊  Jack
技术总监 Technical Director
妈妈晒 www.mamashai.com
Tel: 86 10 84873560
Cell: 86 15811391251
Email: mail2f...@gmail.com
MSN: y...@hotmail.com
Blog: blog.sina.com.cn/mamashai

-晒一点,就发光!
妈妈晒相信:
最好的科技和创想,体现于是否能造福后代。
每个人都可能成就发光的人生!


--
To UNSUBSCRIBE, email to debian-chinese-gb-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikp6-ewzwuxlyi4y50f83mxshfarrxmknxr0...@mail.gmail.com



linux 下面有没有什么可以多线程进行压缩的工具?

2007-06-10 文章 jun yu

一方面是压缩一个有很多文件的目录时,双核的cpu是不是可以同时压2个文件。

另一个是压缩大文件时,比如几个G的文件是,是不是可以多线程进行。

我看bzip2 和tar都没有这些的相关选项。

这个我想对双核应该还是蛮实用的需求。

否则,压缩效率和单核比没有什么提高,顶多只是压缩的同时,再运行别的程序的时候不感觉慢,但很多时候我们更希望的是效率的提升。


奇怪,我的gmail 的qq登录不上去,msn没有问题

2006-12-25 文章 jun yu

版本是gmail 2 5 beta

有朋友遇到过这种问题吗?


Re: 今天在amd64下编译wine .097过不去,哪位大侠知道应该怎么弄吗?

2006-12-18 文章 jun yu

/usr/bin/ld: skipping incompatible /usr/bin/../lib/libSM.so when searching
for -lSM
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libSM.a when searching
for -lSM
/usr/bin/ld: skipping incompatible /usr/lib/libSM.so when searching for -lSM
/usr/bin/ld: skipping incompatible /usr/lib/libSM.a when searching for -lSM
/usr/bin/ld: cannot find -lSM
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [ddraw.dll.so] Error 2
make[2]: Leaving directory `/home/yvwi/others/src/wine-0.9.27/dlls/ddraw'
make[1]: *** [ddraw] Error 2
make[1]: Leaving directory `/home/yvwi/others/src/wine-0.9.27/dlls'
make: *** [dlls] Error 2


how about this time?


Re: 今天在amd64下编译wine .097过不去,哪位大侠知道应该怎么弄吗?

2006-12-17 文章 jun yu

make[2]: Entering directory `/home/yvwi/others/src/wine-0.9.27/dlls/ddraw'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ddraw.spec
clipper.o ddraw.o ddraw_thunks.o device.o direct3d.o executebuffer.o gamma.o
light.o main.o material.o palette.o parent.o regsvr.o surface.osurface_thunks.o
texture.o utils.o vertexbuffer.o viewport.o version.res   -o
ddraw.dll.so  -lole32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll
-ldxguid -luuid   -lSM -lICE -lXext -lX11   ../../libs/port/libwine_port.a
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libSM.so when searching
for -lSM
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libSM.a when searching
for -lSM
/usr/bin/ld: skipping incompatible /usr/lib/libSM.so when searching for -lSM
/usr/bin/ld: skipping incompatible /usr/lib/libSM.a when searching for -lSM
/usr/bin/ld:??? -lSM
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [ddraw.dll.so] ?? 2
make[2]: Leaving directory `/home/yvwi/others/src/wine-0.9.27/dlls/ddraw'
make[1]: *** [ddraw] ?? 2
make[1]: Leaving directory `/home/yvwi/others/src/wine-0.9.27/dlls'
make: *** [dlls] ?? 2




2006/12/17, amateur [EMAIL PROTECTED]:


On Sun, Dec 17, 2006 at 12:47:45AM +0800, jun yu wrote:
 出现错误如下


 /usr/bin/ld: skipping incompatible /usr/bin/../lib/libSM.so when
searching
 for -lSM
 /usr/bin/ld: skipping incompatible /usr/bin/../lib/libSM.a when
searching
 for -lSM
 /usr/bin/ld: skipping incompatible /usr/lib/libSM.so when searching for
-lSM
 /usr/bin/ld: skipping incompatible /usr/lib/libSM.a when searching for
-lSM
 /usr/bin/ld\uff1a\u627e\u4e0d\u5230 -lSM
 collect2: ld returned 1 exit status
 winegcc: gcc failed.
 make[2]: *** [ddraw.dll.so] \u9519\u8bef 2
 make[2]: Leaving directory `/home/yvwi/others/src/wine-0.9.27
/dlls/ddraw'
 make[1]: *** [ddraw] \u9519\u8bef 2
 make[1]: Leaving directory `/home/yvwi/others/src/wine-0.9.27/dlls'
 make: *** [dlls] \u9519\u8bef 2

LC_CTYPE=C make

然后把输出发上来

--
《下终南山过斛斯山人宿置酒》
作者:李白
暮从碧山下,山月随人归。
却顾所来径,苍苍横翠微。
相携及田家,童稚开荆扉。
绿竹入幽径,青萝拂行衣。
欢言得所憩,美酒聊共挥。
长歌吟松风,曲尽河星稀。
我醉君复乐,陶然共忘机。




今天在amd64下编译wine .097过不去,哪位大侠知道应该怎么弄吗?

2006-12-16 文章 jun yu

出现错误如下


/usr/bin/ld: skipping incompatible /usr/bin/../lib/libSM.so when searching
for -lSM
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libSM.a when searching
for -lSM
/usr/bin/ld: skipping incompatible /usr/lib/libSM.so when searching for -lSM
/usr/bin/ld: skipping incompatible /usr/lib/libSM.a when searching for -lSM
/usr/bin/ld\uff1a\u627e\u4e0d\u5230 -lSM
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [ddraw.dll.so] \u9519\u8bef 2
make[2]: Leaving directory `/home/yvwi/others/src/wine-0.9.27/dlls/ddraw'
make[1]: *** [ddraw] \u9519\u8bef 2
make[1]: Leaving directory `/home/yvwi/others/src/wine-0.9.27/dlls'
make: *** [dlls] \u9519\u8bef 2


请教个问题,编译程序的时候,单核或双核CPU的性能差别大吗?

2006-12-08 文章 jun yu

不知道应该是单核高频更快呢

还是双核快。


问一下,有知道lsf比debian性能上能高出多少吗?

2006-12-06 文章 jun yu

正在考虑加个lsf试试。


RTL8180L在linux下用什么驱动比较好?

2006-11-30 文章 jun yu

网上google了半天,也没得出个结论,好像都要编译,很麻烦。

是一块台式机的卡,我打算要用ad-hoc功能,把它和笔记本连起来,这样家里就不用再买个无线路由了。有对这个比较熟悉的吗?


Re: 问一个sed的问题

2006-11-29 文章 jun yu

可以的

http://www-128.ibm.com/developerworks/cn/linux/shell/sed/sed-1/index.html

具体你可以看上面链接的介绍.


2006/11/29, amateur [EMAIL PROTECTED]:


On Wed, Nov 29, 2006 at 10:53:43AM +0800, Quinn Li wrote:
 sed会不会有这样的参数?

 我一般是用 vim 做这个工作

 vim *.html

 然后在命令模式输入冒号,后面跟上这个命令

 : argdo % s/x/s/ge | update

 (指的是对于所有*.html,执行替换,并且存盘)

 然后退出vim


有没有办法使得可以替换多行内容,比如将一个 C++ 语言源文件中的所有注释
全部去掉,对于 // 开始的注释比较好处理,但对于 /* xxx */ 这种注释就比
较麻烦了。



--
When I was younger, I could remember anything, whether it had happened
or not; but my faculties are decaying now and soon I shall be so I
cannot remember any but the things that never happened.  It is sad to
go to pieces like this but we all have to do it.
-- Mark Twain




问一个sed的问题

2006-11-28 文章 jun yu

sed默认是输出到stdout里,但是当我需要对多个文件进行替换操作时,就有问题了,比如:

sed -e 's/x/s/' *.html

html文件有很多个,不知道怎么样才能替换多个文件。

感觉应该是通过多个命令行工具组合来进行,但是就是一下子想不明白。

谁有这方面的经验吗?


Re: 问一个sed的问题

2006-11-28 文章 jun yu

vim 那个我也用,但是匹配路径的时候要打很多的\/\/,比较麻烦,用sed不用,所以想研究一下这个试试。

在06-11-29,jun yu [EMAIL PROTECTED] 写道:


sed默认是输出到stdout里,但是当我需要对多个文件进行替换操作时,就有问题了,比如:

sed -e 's/x/s/' *.html

html文件有很多个,不知道怎么样才能替换多个文件。

感觉应该是通过多个命令行工具组合来进行,但是就是一下子想不明白。

谁有这方面的经验吗?



Re: 问一个sed的问题

2006-11-28 文章 jun yu

对了就是这个,非常感谢!



2006/11/29, Ming Hua [EMAIL PROTECTED]:


On Wed, Nov 29, 2006 at 10:41:52AM +0800, jun yu wrote:
 sed默认是输出到stdout里,但是当我需要对多个文件进行替换操作时,就有问
 题了,比如:

 sed -e 's/x/s/' *.html

 html文件有很多个,不知道怎么样才能替换多个文件。

摘自 sed(1) 手册页:

   -i[SUFFIX], --in-place[=SUFFIX]

  edit files in place (makes backup if extension supplied)

Ming
2006.11.28


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]




为什么我无法在emacs中用fcitx输入??

2006-11-25 文章 jun yu

只能用emacs自带的输入法,很不好用的说。


请教一个bash命令应该怎么写

2006-11-17 文章 jun yu

我想把两个命令合成一条不知道应该怎么写才对?

两条命令分别是

mysqldump -u root -p database database.sql

tar cjvf database.gz.bz2 database.sql

应该是通过|命令可以合成,但具体写法有点不记得了。


还是一个中文文件名的问题,用unrar在locales为 posix的时候解压了一个包含有中文文件名的压缩包,现在那个中文文件的文件名是乱码,这种问题应该怎么分析解决?

2006-11-16 文章 jun yu

当然换locales后再解压肯定可行。

我就是想分析下这个编码问题的根源。

因为windows这方面好像就做的很好,不管你默认的locale是什么,只要装了对应语言,解出来就不会是乱码。


gvim的问题,一个gb2312编码的文本文件,当locale为zh-CN.utf-8时用vim打开是乱码

2006-11-14 文章 jun yu

gvim的问题,一个gb2312编码的文本文件,当locale为zh-CN.utf-8时用gvim打开是乱码,但是为什么当我在gvim用set
encoding命令设为gb2312时这个文件显示还是乱码?

另外在xfce4-terminal
里,不管我设置locale为什么时,用vim打开那个gb2312文件则都是乱码。是因为和terminal有关系吗?但是我执行ls命令的时候可以看到中文文件名啊。

对这个中文化问题实在是有点弄不清哈。


Re: Fwd: Re: Bug#396494: installation-reports: Can't install LVM related packages on during AMD64 install

2006-10-31 文章 jun yu
你说的没错,那个log是第二次用jfs 做/分区的log

lvm那个因为安装lvm过不去,所以连后面的安装什么 basesystem什么的都没法继续。

重复测试可能有点困难,我手头没有空余的硬盘了。

:(
我想想办法把
2006/11/1, Ming Hua [EMAIL PROTECTED]:
jun yu:下面这封信是 debian-installer 开发者 Frans 对 bug 报告的回答。我简要用中文总结一下:1. 他看了你在 debian-chinese-gb 列表贴的 log,但是没看到和 LVM 有关的东
西,却只有 apt-install 的警告信息。他怀疑和你用的镜像有关。2. 他问你是否还有完整的 syslog。3. 他问你是否可以用 http://www.debian.org/devel/debian-installer/ 里面的新的 daily image 再测试一次是否能重现。
我另外还有一个问题,就是你贴过的 log 是否是你安装 LVM 出现问题时的 log?从我看到的来推断,那个 log 应该是你第二次用一个 JFS 分区做 / 的时候的log。Ming2006.10.31 - Forwarded message from Frans Pop 
[EMAIL PROTECTED] - On Wednesday 01 November 2006 03:58, Ming Hua wrote:  Comments/Problems:  When partitioning disk with LVM, there is an error that lvm-common  and lvm2 can't be installed.
 I've looked through that thread and the only things I can get from the syslogs included is the following problem: | apt-install: WARNING: The following packages cannot be authenticated!
 This seems to indicate a problem with the mirror that is used, but that message would be unexpected when using a netinst CD. Is this problem still reproducible when using a daily built image from
 http://www.debian.org/devel/debian-installer/ ? Is it possible to get the full syslog from the original installation (if the installation was completed it could still be availabe as
 /var/log/installer/syslog), or else from a new attempt? We would need that for the exact error messages. The syslog can be saved during the installation (after the failure occurred) by using the Save logs option in the installer's main menu.
 It would be best if the installation could be done in English. Cheers, FJP - End forwarded message -


Re: 安装最新Etch失败,Amd64版本

2006-10-29 文章 jun yu
是的,只分了一个20G的jfs

本来是安装时想用lvm的。但是安装失败了。:(

谢谢!
2006/10/29, Ming Hua [EMAIL PROTECTED]:
On Sun, Oct 29, 2006 at 01:13:09AM +0800, jun yu wrote: 我的主机昨天坏了,所以没有回你的邮件多谢回复!是我太着急了,抱歉。
 debian-testing-amd64-netinst.iso 这个 ISO 文件的日期是什么呢? 这个iso的日期网页上没有,所以不清楚具体日期,应该是和netboot一样的日期的。如果直接用 CD 启动,启动画面里应该有 build 日期的。不过你用 netboot 我就不清楚了。需要日期和 md5sum 的原因是为了确定是不是已经解决了的问题。不过
只要有大概日期,别的没有也不是太大的关系。 daily的iso好像没有md5,至少我没看到.md5sum 一般是下载以后,用本地的工具 (Debian 里就是 md5sum 这个命令) 自己算的。下载网页上给的 md5sum 是为了让用户检查下载的正确性,用户算了自己下载的 iso 的 md5sum 和网页上公布的一样,就说明下载成功。 Processor: amd am2 athlon 64 3000+
 Memory: 2G Harddisk: maxtor 250G sata 这里你漏掉了很重要的 Partitions: 一项。 分区只有一个jfs 20G 和一个5G的 Swap就是说整个 / 都在这个 20G 的 JFS 分区上是吧? 另外 Output of lspci and lspci -n 你也没有写。
 lspci[...]多谢你补充的信息,我会整理后帮你提交 bug 报告。Ming2006.10.28--To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: 安装最新Etch失败,Amd64版本

2006-10-28 文章 jun yu
我的主机昨天坏了,所以没有回你的邮件

 2006/10/26, Ming Hua [EMAIL PROTECTED]: 

 安装手册 [1] 里面有详细的说明。用 daily build 请一定注明是哪天从哪里下载 的 (安装的最开始界面有 build 版本号),md5sum 是多少。 
 Package: installation-reports Boot method: netboot and debian-testing-amd64-netinst Image version: debian-testing-amd64-netinst.iso
 netboot.tar.gz download from http://www.us.debian.org/devel/debian-installer/
 netboot.tar.gz 24-Oct-2006 11:30  5.6M debian-testing-amd64-netinst.iso

这个 ISO 文件的日期是什么呢? 

这个iso的日期网页上没有,所以不清楚具体日期,应该是和netboot一样的日期的。
 Date: 2006-10-26 Machine: diy Processor: amd am2 athlon 64 3000+ Memory: 2G Harddisk: maxtor 250G sata

这里你漏掉了很重要的 Partitions: 一项。

分区只有一个jfs 20G 和一个5G的 Swap另外 Output of lspci and lspci -n 你也没有写。

lspci

00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)00:05.0 VGA compatible controller: nVidia Corporation C51G [GeForce 6100] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2)00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a2)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)00:
0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)00:10.2 Multimedia audio controller: nVidia Corporation MCP51 AC97 Audio Controller (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control04:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)04:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)


lspci -n00:00.0 0500: 10de:02f1 (rev a2)00:00.1 0500: 10de:02fa (rev a2)00:00.2 0500: 10de:02fe (rev a2)00:00.3 0500: 10de:02f8 (rev a2)00:00.4 0500: 10de:02f9 (rev a2)
00:00.5 0500: 10de:02ff (rev a2)00:00.6 0500: 10de:027f (rev a2)00:00.7 0500: 10de:027e (rev a2)00:02.0 0604: 10de:02fc (rev a1)00:03.0 0604: 10de:02fd (rev a1)00:04.0 0604: 10de:02fb (rev a1)00:
05.0 0300: 10de:0242 (rev a2)00:09.0 0500: 10de:0270 (rev a2)00:0a.0 0601: 10de:0261 (rev a2)00:0a.1 0c05: 10de:0264 (rev a2)00:0a.2 0500: 10de:0272 (rev a2)00:0b.0 0c03: 10de:026d (rev a2)00:0b.1 0c03: 10de:026e (rev a2)
00:0d.0 0101: 10de:0265 (rev a1)00:0e.0 0101: 10de:0266 (rev a1)00:10.0 0604: 10de:026f (rev a2)00:10.2 0401: 10de:026b (rev a2)00:18.0 0600: 1022:11:18.1 0600: 1022:110100:18.2 0600: 1022:1102
00:18.3 0600: 1022:110304:08.0 0200: 10ec:8139 (rev 10)04:09.0 0200: 10ec:8139 (rev 10)
daily的iso好像没有md5,至少我没看到.

 Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
[snipped]
 Comments/Problems: The first: When I Partition disk with LVM. Then I get an error that was you can not install lvm-common and lvm2.
 The second:

2006/10/28, Ming Hua [EMAIL PROTECTED]:
On Thu, Oct 26, 2006 at 01:56:13AM -0500, Ming Hua wrote: On Thu, Oct 26, 2006 at 02:46:40PM +0800, jun yu wrote:
  是最新的daily build。 应该怎么报告bug? 安装手册 [1] 里面有详细的说明。用 daily build 请一定注明是哪天从哪里下载 的 (安装的最开始界面有 build 版本号),md5sum 是多少。 如果不习惯用英文,可以用中文写了发到这个列表来,我可以帮忙翻译。由于 jun yu 的安装报告不完整,而且他也没有回复我进一步的询问,所以我无法
帮忙转发给官方。Ming2006.10.27


Re: 安装最新Etch失败,Amd64版本

2006-10-26 文章 jun yu
可以看log,但是log的信息太简洁了,看不出具体原因,log如下

Oct 26 14:01:56 apt-install: Reading package lists...Oct 26 14:01:56 apt-install: Building dependency tree...Oct 26 14:01:56 apt-install: Suggested packages:Oct 26 14:01:56 apt-install: unicode-data kbd-compat
Oct 26 14:01:56 apt-install: The following NEW packages will be installed:Oct 26 14:01:56 apt-install: console-common console-data console-toolsOct 26 14:01:56 apt-install: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Oct 26 14:01:56 apt-install: Need to get 1360kB of archives.Oct 26 14:01:56 apt-install: After unpacking 4403kB of additional disk space will be used.Oct 26 14:01:56 apt-install: WARNING: The following packages cannot be authenticated!
Oct 26 14:01:56 apt-install: console-data console-tools console-commonOct 26 14:01:56 apt-install: E: There are problems and -y was used without --force-yesOct 26 14:01:56 base-installer: chroot: cannot execute install-keymap: No such file or directory
Oct 26 14:01:56 base-installer: info: kernel linux-image-2.6.17-2-amd64 usable on amd64-k8Oct 26 14:01:56 base-installer: info: kernel linux-image-2.6-amd64-generic usable on amd64-k8Oct 26 14:01:56 base-installer: info: kernel 
linux-image-2.6-amd64 usable on amd64-k8Oct 26 14:01:56 base-installer: info: Found kernels 'linux-image-2.6.17-2-amd64,linux-image-2.6-amd64-generic,linux-image-2.6-amd64'Oct 26 14:01:56 base-installer: info: arch_kernel candidates: 
linux-image-2.6-amd64-k8 linux-image-2.6-amd64-generic linux-image-2.6-amd64Oct 26 14:01:56 base-installer: info: arch_kernel: linux-image-2.6-amd64-k8 (absent)Oct 26 14:01:56 base-installer: info: arch_kernel: linux-image-2.6-amd64-generic
 (present)Oct 26 14:02:18 base-installer: info: Using kernel 'linux-image-2.6.17-2-amd64'Oct 26 14:02:18 base-installer: info: Setting do_initrd='yes'.Oct 26 14:02:18 base-installer: info: Setting link_in_boot='no'.
Oct 26 14:02:18 base-installer: info: Available initramfs generator(s): 'initramfs-tools'Oct 26 14:02:18 apt-install: Reading package lists...Oct 26 14:02:18 apt-install: Building dependency tree...Oct 26 14:02:18 apt-install: The following extra packages will be installed:
Oct 26 14:02:18 apt-install: busybox klibc-utils libklibc libvolume-id0 udevOct 26 14:02:18 apt-install: The following NEW packages will be installed:Oct 26 14:02:18 apt-install: busybox initramfs-tools klibc-utils libklibc libvolume-id0 udev
Oct 26 14:02:18 apt-install: 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.Oct 26 14:02:18 apt-install: Need to get 0B/946kB of archives.Oct 26 14:02:18 apt-install: After unpacking 2748kB of additional disk space will be used.
Oct 26 14:02:18 apt-install: WARNING: The following packages cannot be authenticated!Oct 26 14:02:18 apt-install: busybox libklibc klibc-utils libvolume-id0 udev initramfs-toolsOct 26 14:02:18 apt-install: E: There are problems and -y was used without --force-yes
Oct 26 14:02:18 base-installer: error: exiting on error base-installer/kernel/failed-package-installOct 26 14:02:19 main-menu[2219]: WARNING **: Configuring 'base-installer' failed with error code 1 Oct 26 14:02:19 main-menu[2219]: WARNING **: Menu item 'base-installer' failed. 
Oct 26 14:02:30 main-menu[2219]: INFO: Falling back to the package description for auto-install Oct 26 14:02:30 main-menu[2219]: INFO: Falling back to the package description for ai-choosers Oct 26 14:02:30 main-menu[2219]: INFO: Menu item 'save-logs' selected 

2006/10/26, Ming Hua [EMAIL PROTECTED]:
On Thu, Oct 26, 2006 at 11:44:12AM +0800, jun yu wrote: 到最后安装内核的时候死活过不去了 说initramfs-tools安装失败,但是log里也没有说具体原因
Debian installer 的日志在 /var/log/installer/ 里面,另外安装时切换到 VT3和 VT4 (Alt+F3 和 Alt+F4) 能够看到具体的命令,应该能有更详细的失败原因吧?Ming2006.10.26--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: 安装最新Etch失败,Amd64版本

2006-10-26 文章 jun yu
通过手工apt-get install kernel 和lilo。现在我终于能用硬盘启动了,但是一堆的错误。。。:(

问一下runlevel 2 是正常的运行级别吗?

另外 etch下面adsl还是pon拨号吗?

拨号前我还先得把网卡搞定
在06-10-26,jun yu [EMAIL PROTECTED] 写道:

可以看log,但是log的信息太简洁了,看不出具体原因,log如下

Oct 26 14:01:56 apt-install: Reading package lists...Oct 26 14:01:56 apt-install: Building dependency tree...Oct 26 14:01:56 apt-install: Suggested packages:Oct 26 14:01:56 apt-install: unicode-data kbd-compat 
Oct 26 14:01:56 apt-install: The following NEW packages will be installed:Oct 26 14:01:56 apt-install: console-common console-data console-toolsOct 26 14:01:56 apt-install: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 
Oct 26 14:01:56 apt-install: Need to get 1360kB of archives.Oct 26 14:01:56 apt-install: After unpacking 4403kB of additional disk space will be used.Oct 26 14:01:56 apt-install: WARNING: The following packages cannot be authenticated! 
Oct 26 14:01:56 apt-install: console-data console-tools console-commonOct 26 14:01:56 apt-install: E: There are problems and -y was used without --force-yesOct 26 14:01:56 base-installer: chroot: cannot execute install-keymap: No such file or directory 
Oct 26 14:01:56 base-installer: info: kernel linux-image-2.6.17-2-amd64 usable on amd64-k8Oct 26 14:01:56 base-installer: info: kernel linux-image-2.6-amd64-generic usable on amd64-k8Oct 26 14:01:56 base-installer: info: kernel 
linux-image-2.6-amd64 usable on amd64-k8Oct 26 14:01:56 base-installer: info: Found kernels 'linux-image-2.6.17-2-amd64,linux-image-2.6-amd64-generic,linux-image-2.6-amd64'Oct 26 14:01:56 base-installer: info: arch_kernel candidates: 
linux-image-2.6-amd64-k8 linux-image-2.6-amd64-generic linux-image-2.6-amd64Oct 26 14:01:56 base-installer: info: arch_kernel: linux-image-2.6-amd64-k8 (absent)Oct 26 14:01:56 base-installer: info: arch_kernel: linux-image-2.6-amd64-generic
 (present)Oct 26 14:02:18 base-installer: info: Using kernel 'linux-image-2.6.17-2-amd64'Oct 26 14:02:18 base-installer: info: Setting do_initrd='yes'.Oct 26 14:02:18 base-installer: info: Setting link_in_boot='no'. 
Oct 26 14:02:18 base-installer: info: Available initramfs generator(s): 'initramfs-tools'Oct 26 14:02:18 apt-install: Reading package lists...Oct 26 14:02:18 apt-install: Building dependency tree...Oct 26 14:02:18 apt-install: The following extra packages will be installed: 
Oct 26 14:02:18 apt-install: busybox klibc-utils libklibc libvolume-id0 udevOct 26 14:02:18 apt-install: The following NEW packages will be installed:Oct 26 14:02:18 apt-install: busybox initramfs-tools klibc-utils libklibc libvolume-id0 udev 
Oct 26 14:02:18 apt-install: 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.Oct 26 14:02:18 apt-install: Need to get 0B/946kB of archives.Oct 26 14:02:18 apt-install: After unpacking 2748kB of additional disk space will be used. 
Oct 26 14:02:18 apt-install: WARNING: The following packages cannot be authenticated!Oct 26 14:02:18 apt-install: busybox libklibc klibc-utils libvolume-id0 udev initramfs-toolsOct 26 14:02:18 apt-install: E: There are problems and -y was used without --force-yes 
Oct 26 14:02:18 base-installer: error: exiting on error base-installer/kernel/failed-package-installOct 26 14:02:19 main-menu[2219]: WARNING **: Configuring 'base-installer' failed with error code 1 Oct 26 14:02:19 main-menu[2219]: WARNING **: Menu item 'base-installer' failed. 
Oct 26 14:02:30 main-menu[2219]: INFO: Falling back to the package description for auto-install Oct 26 14:02:30 main-menu[2219]: INFO: Falling back to the package description for ai-choosers Oct 26 14:02:30 main-menu[2219]: INFO: Menu item 'save-logs' selected 

2006/10/26, Ming Hua [EMAIL PROTECTED]: 

On Thu, Oct 26, 2006 at 11:44:12AM +0800, jun yu wrote: 到最后安装内核的时候死活过不去了 说initramfs-tools安装失败,但是log里也没有说具体原因 
Debian installer 的日志在 /var/log/installer/ 里面,另外安装时切换到 VT3和 VT4 (Alt+F3 和 Alt+F4) 能够看到具体的命令,应该能有更详细的失败原因吧?Ming2006.10.26--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact 
[EMAIL PROTECTED]


Re: 安装最新Etch失败,Amd64版本

2006-10-26 文章 jun yu
是最新的daily build。 应该怎么报告bug? 

2006/10/26, Ming Hua [EMAIL PROTECTED]:
On Thu, Oct 26, 2006 at 02:07:28PM +0800, jun yu wrote: 可以看log,但是log的信息太简洁了,看不出具体原因,log如下[snipped]
我也看不出所以然来。如果用的是最新的 daily build 的话,应该报告 bug。Ming2006.10.26--To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: 安装最新Etch失败,Amd64版本

2006-10-26 文章 jun yu
Package: installation-reports

Boot method: netboot and debian-testing-amd64-netinstImage version: debian-testing-amd64-netinst.iso netboot.tar.gzdownload from 
http://www.us.debian.org/devel/debian-installer/netboot.tar.gz 24-Oct-2006 11:30 5.6M debian-testing-amd64-netinst.iso
  Date: 2006-10-26

Machine: diyProcessor: amd am2 athlon 64 3000+
Memory: 2GHarddisk: maxtor 250G sata
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:[O ]
Configure network HW:   [O ]
Config network: [O ]
Detect CD:  [No cdrom ]
Load installer modules: [O ]
Detect hard drives: [O ]
Partition hard drives:  [O ]
Create file systems:[O ]
Mount partitions:   [O ]
Install base system:[E ]
Install boot loader:[Not got here ]
Reboot: [Not got here ]

Comments/Problems:

The first:When I Partition disk with LVM. Then I get an error that was you can not install lvm-common and lvm2.
The second:



2006/10/26, Ming Hua [EMAIL PROTECTED]:
On Thu, Oct 26, 2006 at 02:46:40PM +0800, jun yu wrote: 是最新的daily build。 应该怎么报告bug?安装手册 [1] 里面有详细的说明。用 daily build 请一定注明是哪天从哪里下载
的 (安装的最开始界面有 build 版本号),md5sum 是多少。如果不习惯用英文,可以用中文写了发到这个列表来,我可以帮忙翻译。1. 英文: http://d-i.alioth.debian.org/manual/en.i386/ch05s03.html#submit-bug
中文: http://d-i.alioth.debian.org/manual/zh_CN.i386/ch05s03.html#submit-bugMing2006.10.26--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



谁知道,安装完系统以后,如果想把base system重新装一边该怎么弄?

2006-10-26 文章 jun yu
base system指的就是debian安装时装的那个最基本的系统

我的安装时有问题,最后install base system 安装kernel时没有过去,我后来手工apt-get install 的kernel 和 lilo

但是现在启动以后一堆的错误。。。

都不知道怎么修。。。


Re: 谁知道,安装完系统以后,如果想把base system重新装一边该怎么弄?

2006-10-26 文章 jun yu
那etch 怎么弄?

头疼啊,好歹是能用硬盘启动进系统,但是一堆的问题,:(
2006/10/26, Ming Hua [EMAIL PROTECTED]:
On Thu, Oct 26, 2006 at 03:37:08PM +0800, dingyi wrote: 重新配置可以这样dpkg-reconfigure base-config
Etch 里面已经没有 base-config,这个方法不适用 etch 了。Ming2006.10.26--To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: 安装最新Etch失败,Amd64版本

2006-10-26 文章 jun yu
天啊,我可以正常进系统而不报错了

用jfs把文件系统check一下就好了。

但是现在root登录还是不需要密码。。。

怎么能配置成root无法登录?

以及使用shadow呢?
在06-10-26,jun yu [EMAIL PROTECTED] 写道:

Package: installation-reports

Boot method: netboot and debian-testing-amd64-netinstImage version: debian-testing-amd64-netinst.iso netboot.tar.gzdownload from 
http://www.us.debian.org/devel/debian-installer/netboot.tar.gz 24-Oct-2006 11:30 5.6M debian-testing-amd64-netinst.iso
  Date: 2006-10-26

Machine: diyProcessor: amd am2 athlon 64 3000+
Memory: 2GHarddisk: maxtor 250G sataBase System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:[O ]
Configure network HW:   [O ]
Config network: [O ]
Detect CD:  [No cdrom ]
Load installer modules: [O ]
Detect hard drives: [O ]
Partition hard drives:  [O ]
Create file systems:[O ]
Mount partitions:   [O ]
Install base system:[E ]
Install boot loader:[Not got here ]
Reboot: [Not got here ]

Comments/Problems:

The first:When I Partition disk with LVM. Then I get an error that was you can not install lvm-common and lvm2.
The second:



2006/10/26, Ming Hua [EMAIL PROTECTED]: 

On Thu, Oct 26, 2006 at 02:46:40PM +0800, jun yu wrote: 是最新的daily build。 应该怎么报告bug?安装手册 [1] 里面有详细的说明。用 daily build 请一定注明是哪天从哪里下载 
的 (安装的最开始界面有 build 版本号),md5sum 是多少。如果不习惯用英文,可以用中文写了发到这个列表来,我可以帮忙翻译。1. 英文: 
http://d-i.alioth.debian.org/manual/en.i386/ch05s03.html#submit-bug 中文: 
http://d-i.alioth.debian.org/manual/zh_CN.i386/ch05s03.html#submit-bugMing2006.10.26--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact 
[EMAIL PROTECTED] 


一波3折,网络安装 Etch 24-Oct-2006 11:30 日版本的总结

2006-10-26 文章 jun yu
先简单介绍下背景情况:

一台新装的电脑

配置:
主板:昂达n61gt(自带显卡,网卡)
CPU:AMD AM2 ATHLON 64 3000+
内存:2G
硬盘:250G SATA
软驱:无
光驱:无
网卡:2个(自带一个,单买一个)

一个老笔记本:
windows 2000系统

路由器或Hub:无

Adsl一条

局域网:笔记本和新装台式机,网卡对联

1G台电酷闪U盘一个

一开始的基本思路是,把debian的安装ISO考进U盘里,然后用u盘启动台式机,然后用grub 加载iso安装程序。但是用usbboot 1.68生成启动盘后,插上后,反复设置bios,但该U盘始终无法启动,原因至今不明。

没办法只好尝试用tftp启动的方法来安装,因为过去从没有这么装过,所以走了很多弯路,一开始Bios里面设置network启动后,没有出现寻找dhcp的问题,想了半天原因,最后在bios里找到一项enable netboot rom的选项,设成enable后,网卡开始找dhcp。

另一个问题是不知道win2000下用什么做tftp,bootp,dhcp服务器,我的2000是pro版,所以上面的服务统统没有,然后根据网上做无盘98的介绍找了3com的一个软件,琢磨半天也没明白该怎么用,:(,最后google大法,找到一个叫tftpd的软件,终于把启动的问题解决。

然后开始尝试用netboot启动,从网上下来sarge 的netboot ,一开始怎么试也不行,后来发觉问题是,因为下载的netboot是linux下制作的,有好几个文件是ln的,所以在win2000下提现的是0字节文件。ok,解决这个问题,终于可以boot了。

下载sarge的net install iso,开win2000的iis, 把安装文件考出放到web目录下,解决同样多个目录是ln 的问题(主要是/dists下面)终于可以找到软件包了

但在磁盘项却找不到sata硬盘,faint faint. 无法继续安装,只好重新下etch版本。

debian的testing下载页面 netboot 只有daily的,而iso 则有weekly的,一开始我下的是daily 的netboot, weekly的iso,结果是提示启动的内核和安装的内核不匹配,无法继续安装。

只好重新下同样是daily的net install iso,这回kernel对了,可以继续安装。

但是。。。

一开始分区,用自动Lvm分区,挂载,格式化通过以后,安装base system提示 lvm2 和lvm-common安装失败,无法继续,查看log,也没有什么详细的介绍,google大法无效。

ok,不能lvm就不能lvm吧,重新启动安装,分区改成传统方式,这回base system过去了,到安装kernel了,结果再次出错,log 报 initramfs-tools安装失败。郁闷哪。。

上debian网站bug report频道Google大法。。。尝试各种方法。。。

最后。。。自己想了个笨招。。。

alt f2 切到 shell下

chroot到 target的目录下

apt-get install linux-kernel
apt-get install lilo 

lilo 

最后reboot 。

终于看到load linux 2.6的界面了。

55.。幸福的泪水

但是。

进入系统后。
一堆错误提示
[EMAIL PROTECTED]@#¥#@
最后发现mount分区 错误,分区被mount成readonly。

我的文件系统用的是jfs,安装后系统没有jfs.fsck。

最后用U盘考了个deb,dpkg-deb解开后,check文件系统。

重启系统

终于眼前安静了etch

终于装进去了。。。


最后的总结:

这次安装系统出了很多意想不到的情况。希望其他同志能从中有所借鉴。

新玩意的代价。。。就是费心。


其他

testing 的iso 下载页面

http://www.us.debian.org/devel/debian-installer/netboot.tar.gz
 24-Oct-2006 11:30  5.6Mdebian-testing-amd64-netinst.iso


安装最新Etch失败,Amd64版本

2006-10-25 文章 jun yu
到最后安装内核的时候死活过不去了

说initramfs-tools安装失败,但是log里也没有说具体原因

郁闷啊

有人知道吗?



有没有人用xen装过win2003?装了以后能不能跑vs2005?

2006-10-23 文章 jun yu
如题


Re: 帮个忙

2006-10-22 文章 jun yu
用gmail还用什么mutt啊,那么大的空间查询也很强大
2006/10/22, [EMAIL PROTECTED] [EMAIL PROTECTED]:
On Sun, Oct 22, 2006 at 08:42:47AM +0800, jun yu wrote: 不是收不到吧??只是他和相关主题的邮件在一起而已。我指的是用客户端,比如mutt、foxmail之类
 2006/10/21, [EMAIL PROTECTED] [EMAIL PROTECTED]: On Fri, Oct 20, 2006 at 08:06:50AM +0800, cyr wrote:  能看到这封信的帮我顶一下好吗?
  测试能否发到列表.  谢谢! 收到了亚。。。如果用gmail的话,收不到自己发出去的邮件。  --  人多出正理,谷多出好米。 D《谚语》--
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]  with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 怎么设置c2html成CGI啊

2006-10-21 文章 jun yu
好像用 apt-get install 安装的已经是设为cgi的,像phpmyadmin一样
2006/10/19, jumpingfu [EMAIL PROTECTED]:
c2html 怎么设置成cgi啊在apache里设置怎么不成功按照man手册编辑http.conf, 总是提示Action那行出错谢谢--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 帮个忙

2006-10-21 文章 jun yu
不是收不到吧??只是他和相关主题的邮件在一起而已。

2006/10/21, [EMAIL PROTECTED] [EMAIL PROTECTED]:
On Fri, Oct 20, 2006 at 08:06:50AM +0800, cyr wrote: 能看到这封信的帮我顶一下好吗? 测试能否发到列表. 谢谢!
收到了亚。。。如果用gmail的话,收不到自己发出去的邮件。 -- 人多出正理,谷多出好米。 �D《谚语》 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Google groups

2006-10-20 文章 jun yu
最好是能把邮件列表和论坛统一起来
2006/10/21, Ming Hua [EMAIL PROTECTED]:
On Fri, Oct 20, 2006 at 04:44:54PM +0800, William Xu wrote: Ming Hua 
[EMAIL PROTECTED] writes:  说起来 Carlos 还是曾经创建过一个 Debian 中文的 Google group 的:  http://groups-beta.google.com/group/debian-chinese
  本意是当这个邮件列表出现问题时做备用的。但是如果有足够多的人有兴趣,能把  它变成另一个交流平台,我看也是个好主意。 这个 list 本就不是很活跃,再建一个 group 的话,恐怕就太分散了。嗯,我并没有要分散这个列表的用户的意思。我只是觉得现在大部分 Debian 中文用户并不使用这个列表,如果能够有什么方式把他们吸引过来,是件好事。
比如 linuxsir 论坛上的 Debian 版,就似乎有很多人。但是我实在受不了 web论坛,所以也很少在那里发帖子。我并不清楚很多人喜欢用 linuxsir 而不喜欢这个列表的原因,但是如果仅仅是不习惯用邮件列表的话,Google groups 能够提供一个平台让喜欢用 web 论坛界面的人用 web 界面,喜欢用邮件列表的人用 email,应该是各得其所的好事。对于我来说,反正在 mutt 里看一个列表和两个列表没有
什么本质区别。:-P当然了,很多人喜欢 linuxsir 的原因可能是因为那里气氛好,或者是网速快,跟界面完全没有关系,那我就只是一厢情愿而已。不过在这里讨论一下,总不至于有什么太大坏处。:-)Ming2006.10.20--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]