Arch Linux 安装指南

这是读者傻东原创的电子书,该书基于 Arch Linux 2009.08 版本写成,包括 Arch Linux 简介、安装准备、安装基本系统、快速配置一个完整的桌面、常用软件、抛出异常等内容。

Arch Linux Guide

参阅作者的 Blog 日志了解更多信息。

Arch Linux 安装指南为 PDF 格式,可从作者的 Blog 下载

{ Thanks 傻东. }

Read More:

28 Comments

  1. 1 嘉佑 Commented @ 2009-10-02 19:40Reply to this comment

    非 Arch 控,顶一个。

  2. 2 liusp Commented @ 2009-10-02 19:42Reply to this comment

    非常支持!内容也是非常不错的,非常细致!

  3. 3 orezna Commented @ 2009-10-02 19:52Reply to this comment

    话说arch的wiki做得很好很详细

  4. 4 lnesuper Commented @ 2009-10-02 20:23Reply to this comment

    是时候考虑装个Linux了.

  5. 5 gza633 Commented @ 2009-10-02 20:32Reply to this comment

    貌似现在用arch的人真的多起来了

  6. 6 idiot Commented @ 2009-10-02 20:33Reply to this comment

    写的不错呢~ 加油 继续哦

  7. 7 H.J Commented @ 2009-10-02 20:40Reply to this comment

    作者再接再厉。

  8. 8 leenjewel@gmail.com Commented @ 2009-10-02 20:44Reply to this comment

    我的机器是三星的本本,N卡的,驱动装的是N卡官方私有驱动,安装完archlinux后安装了compiz-fusion compiz-fusion-gtk fusion-icon一切运转良好,但是自从一次系统更新之后我的特效就无法使用了,用compiz来管理窗口也是没有边框的,我确定我已经在 compiz的相关配置里面设置了窗口的配置。 我启动fusion-icon会报如下错误: de>zwang@i965:~$ * Detected Session: gnome * Searching for installed applications... * No GLXEXTtexturefrompixmap with direct rendering context ... nor with indirect rendering, this isn't going to work! * Using the GTK Interface * Starting Compiz ... executing: compiz.real --replace --sm-disable --ignore-desktop-hints ccp compiz.real (core) - Fatal: glXCreateContext failed compiz.real (core) - Error: Failed to manage screen: 0 compiz.real (core) - Fatal: No manageable screens found on display :0.0 de>

    后来在网上查找,说是因为每当xorg有更新的时候,nvidia驱动程序的libglx.so文件链接就会被xorg的所替代,导致compiz无法运行!,后来按照网上的方法将原有的N卡驱动的文件恢复,报错虽然是没有了,但是问题依然没有解决,特效还是无法使用,而且有新的报错:

    • Detected Session: gnome
    • Searching for installed applications...
    • NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
    • Using the GTK Interface
    • Metacity is already running 上网查找,发现archlinux的官方wiki上面似乎有解决办法(http: //wiki.archlinux.org/index.php/Compiz_Troubleshooting) =============================这是摘录wiki上面的办法============================== = Compiz appears to start, but there are no window borders

    When you run fusion-icon from commandline, you get output like this:

    • Detected Session: gnome
    • Searching for installed applications...
    • NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
    • Using the GTK Interface
    • Metacity is already running
    • Setting window manager to Compiz ... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp compiz (core) - Warn: No GLXFBConfig for depth 32 compiz (core) - Warn: No GLXFBConfig for depth 32 compiz (core) - Warn: No GLXFBConfig for depth 32 compiz (core) - Warn: No GLXFBConfig for depth 32 compiz (core) - Warn: No GLXFBConfig for depth 32 compiz (core) - Warn: No GLXFBConfig for depth 32

    All you need to do is edit your /etc/X11/xorg.conf and find the "Depth" directive inside the "Screen" section; change all occurences of this value to 24. This occured to me with my colour depth set to 16; but also happens when it is set to 32.

    You may also try adding Option "AddARGBGLXVisuals" "True" & Option "DisableGLXRootClipping" "True" to your "Screen" section if you are using the Nvidia binary driver. (Radeon, and the open 'nv' driver will not work with this option as far as I can tell.) If you used any other Options elsewhere in xorg.conf to get compiz working and still have no luck, try commenting them out and using only the aformentioned ARGBGLXVisuals and GLXRootClipping Options.

    Note: Check that "Window decoration" plugin in settings manager from fusion-icon is enabled.

    按照wiki上面的方法修改了xorg.conf文件(我的xorg.conf文件是由N卡驱动安装时自动生成的),但是依然没有奏效~~~~~~自从那次系统升级之后,我的compiz特效就再也无法使用,希望你能帮助我,感谢!!

  9. 9 jk Commented @ 2009-10-02 20:54Reply to this comment

    ARCH还真是麻烦。。。

  10. 10 Eidolon Commented @ 2009-10-02 21:29Reply to this comment

    唉,我刚重装完成(硬盘安装)。 本来用得好好的,内核突然就panic了。于是,就用这里介绍的busier方法‘安全'重启,这招还真管用。不过重启后,进入到一个终端,提示check根文件系统,或按ctrl+d继续。第一次,我按ctrl+d,一切如常可正常启动。第二次,我想既然是让我check根文件系统,那我就check吧。运行:fsck.ext3,由于语言问题,给出的问题中有黑框,没有办法看清。估计是问是否修复之类(后来的事实证明就是问是否修复),我一律回答y,或回车。有很多,...。再重启时,GRUB报告说找不到文件。回到Ubuntu下,挂上Arch分区察看后,傻了:一个文件也没有,只有lost+found目录,里面是一堆看不懂的内容。只得花了一个晚上的时间重装。 有谁能告诉我,究竟发生了什么吗?

  11. 11 Gcell Commented @ 2009-10-02 22:38Reply to this comment

    抛出异常? 排除异常吧?

  12. 12 spectrometer Commented @ 2009-10-02 22:51Reply to this comment

    话说arch的wiki做得很好很详细!不过赞一下作者,辛苦了!!!

  13. 13 bobobo80 Commented @ 2009-10-02 23:39Reply to this comment

    额,前几个星期刚装完。由于初次接触,xorg.conf搞了好久都没搞好。结果发现无须xorg.conf。晕死。 现在有了这个手册。新手不用走弯路了。

  14. 14 傻东 Commented @ 2009-10-03 0:10Reply to this comment

    @Gcell: 就是抛出异常~沿用Java的,其实也就是排除异常的情况~

  15. 15 kylion Commented @ 2009-10-03 11:04Reply to this comment

    如果arch+kdemod,声音不用安装alsa就可以。

  16. 16 ion3 Commented @ 2009-10-03 11:12Reply to this comment

    http://j.mp/wzJnY 另一本archlinux教程.

  17. 17 jazzi Commented @ 2009-10-03 11:54Reply to this comment

    Arch是我最喜欢的版本,速度快/效率高/冗余文件少/更新速度快/管理也简单.但提醒一下如果做服务器用,不要老更新,有时会因为包太新出现一些问题需要手工解决.

  18. 18 leon Commented @ 2009-10-03 12:13Reply to this comment

    @ kylion 应该是alsa驱动已经包含在rom里了吧

  19. 19 GunsNRose Commented @ 2009-10-03 19:28Reply to this comment

    不错的文章,支持

  20. 20 kidfruit Commented @ 2009-10-03 23:33Reply to this comment

    一直在用arch。

    估计没有人像我一样变态的用vmware的实际物理硬盘虚拟方式来硬盘安装吧……其实这是个相当好的硬盘安装办法。

  21. 21 prongs Commented @ 2009-10-04 12:19Reply to this comment

    我用virtualbox安装这个版本一直不能成功。卡在loading udev...哪里的说,然后virtualbox就报错,崩溃,网上也没有想关的资料,郁闷了

  22. 22 kidfruit Commented @ 2009-10-04 20:31Reply to this comment

    @prongs:

    我记得好像是virtualbox的一个bug。

    我觉得linux还是装实际硬盘比较好。才能体会到linux的良好性能。

  23. 23 Edward Commented @ 2009-10-08 0:12Reply to this comment

    ARCHLINUX 安装一个 EVA 何其难!

  24. 24 qii Commented @ 2009-10-08 10:02Reply to this comment

    @Edward: 同感。

  25. 25 hsq Commented @ 2009-10-09 18:00Reply to this comment

    @kidfruit:确实是VB的bug,现在安装3.0.8就正常了。

    这个确实很好,“抛出异常”一节帮助很大,以前参照“完美”安装200908一直不能启动桌面,原来是新版变更的缘故,这本书正好满足需要。

    非常感谢。

  26. 26 qqq Commented @ 2009-10-27 21:30Reply to this comment

    能否提供一个ArchLinux的中文Wiki转成的PDF文件,我想在本机看看,

  27. 27 qqq Commented @ 2009-10-27 21:30Reply to this comment

    能否提供一个ArchLinux的中文Wiki转成的PDF文件,我想在本机看看,谢谢!

  28. 28 会游泳的鱼 Commented @ 2009-11-02 15:58Reply to this comment

    不错,Arch控飘过...