Fedora非官方文档

The FAQ

About Fedora


  1. Q: What is this Fedora Core 3 thing?

    A:
    First, read the official Fedora
    page
    a bit. Now, i'll give you a summary. You can think of Fedora
    Core 3 as something like "Red Hat Linux 12," except it differs
    from the old Red Hat Linux in the following ways:

    • It's a community-supported project. That means that you
      can be involved in creating Fedora Core, if you want.
    • A new version of Fedora Core comes out every six months.
    • When a new version comes out, the previous version becomes
      unsupported after another 6 - 8 months.

    This means upgrading your OS every 6 - 8 months. The upgrades are
    usually very easy, much like Red Hat Linux 8 - Red Hat Linux 9.
    The easiness is not guaranteed.

    If you don't want to upgrade every 6 - 8 months, there is something
    called the Fedora Legacy
    Project
    . They provide security patches for each version of
    Fedora for an additional 1 1/2 years after the Fedora Project stops
    their support.

    Red Hat Enterprise
    Linux
    4 is based on Fedora Core 3, so if you want to learn a
    little about RHEL 4 for free, use Fedora Core 3.


  2. Q: Is it unstable?

    A:
    No!


  3. Q: Has it been released?

    A:
    Yes! Fedora Core 3 (Heidelberg), was released on November 8, 2004. To
    see when new versions of Fedora are going to be released, you can
    look at the release
    schedule
    .


  4. Q: Where do I get it?

    A:
    Normal Download or
    BitTorrent. You want the
    "binary" or "i386" version, not the "source"
    or "SRPM" version.


  5. Q: Where can I find a list of all the programs
    that come with Fedora Core 3 (a package list)?

    A: There's a list the main Core 3 packages
    over at the Distrowatch
    Fedora Page
    .


  6. Q: Does up2date still work?

    A:
    Yes, but it no longer uses the Red Hat Network (RHN). (It still downloads
    from the Red Hat servers, you just can't use the features of the Red
    Hat Network.)

    However, with Fedora, it's better to use
    yum to get updates, instead of
    up2date.


  7. Q: Can I install on ReiserFS, JFS, or XFS?

    A:
    Yes, you can install Fedora on ReiserFS, JFS, or XFS.
    None of these file systems are officially supported by
    the Fedora Project. (That means that you can use them, but you won't
    find a lot of official help from the Fedora Project if things go wrong.)

    At the installer prompt, type this for ReiserFS:
    linux reiserfs
    or this for JFS:
    linux jfs
    or this for XFS:
    linux xfs


    NOTE: You cannot use SELinux on ReiserFS or JFS. XFS is OK. (If you
    don't know what SELinux is, you can ignore this warning.)

    (Thanks to whiprush [quoting Jesse Keating] for this. Thanks
    to Kai Thomsen for catching an important typo. Thanks to
    Colin Charles for the XFS part
    and the SELinux warning.)


  8. Q: Can Fedora run on a 64-bit (AMD-64 or Intel
    EM64T) computer?

    A:
    Yes, it can! A 64-bit version of Fedora Core 2 is currently available
    to download. See the question about getting Fedora.

    If you have any questions abou the 64-bit Fedora, see the
    AMD 64 Fedora FAQ.

    You can also run the normal 32-bit version of Fedora
    on your 64-bit computer.


  9. Q: Can I run Fedora on a Mac (PowerPC)?

    A:
    Yes, actually. It's a little complicated at this time -- see
    Colin
    Charles's guide to installing Fedora on a Mac.

    (Thanks to Colin Charles!)


  10. Q: Where is the floppy disk install image for
    Fedora Core 3?

    A: The new 2.6 kernel in Fedora Core can't fit
    on a floppy disk. So, you can't boot or install from a floppy. However,
    you can install from a CD, hard drive, or even USB disk (if your computer
    supports booting from a USB disk).

    If you can only use a floppy, you have a few choices:

    (Thanks to Noa Resare for suggesting this question and giving
    me some good sample text.)

Getting and Installing Software


  1. Q: Where can I get software for Fedora?

    A: There are a few "repositories"
    (sites that hold software). The primary sites are the highly
    unofficial rpm.livna.org (for
    packages with licensing or USA
    patent problems) and the more official
    fedora.us site.
    They hold different software.

    For an alternate choice, look at
    FreshRPMs. There are some packages in
    FreshRPMs and its partner sites that aren't in fedora.us or in livna.org.
    You can see the list of available packages on the
    "Mega-Merge"
    page
    .

    To search for software in all the major repositories, use the
    FedoraTracker search engine or
    rpm.pbone.net.



  2. Q: How do I install software for Fedora? (How to
    use yum or an RPM)

    A: The easiest way to install software in Fedora
    is to use yum.

    1. Download this yum.conf.
    2. Replace your "/etc/yum.conf" with the one you downloaded.
      You will need to be root to do that.
      In fact, you need to be root to do any of the following.


    NOTE: Not all software is available for Fedora Core 3, yet. Some
    of the repos are still catching up with the recent release of Fedora Core 3.

    Note that the yum.conf provided here is updated from time to time,
    for various reasons.

    Now, you can see a list of the available software:

    yum list available

    • To install some software, you type:
      yum install packagename
    • To update some software, you type:
      yum update packagename
      If you leave out "packagename" yum will update all your
      software.
    • To see what updates are available, you can do:
      yum check-update
    • To search for a package, you can do:
      yum search

    For more info about yum, see the
    yum project page.
    (Thanks to Ron Kuris for this tip.)

    If you want more security, I recommend that you
    un-comment the lines in the yum.conf that start with
    "gpgcheck=1" -- you might also want to look at the
    gpg signature question, if you do this.
    (Thanks to Kai Thomsen for convincing me to add this note.)

    To get yum through a proxy, see the
    FedoraForum
    thread about yum and proxies
    . (Thanks to Reinhard Herzfeld
    for that link.)

    To install an RPM that you
    downloaded outside of yum, open up a terminal and as root do:
    rpm -Uvh filename.rpm


  3. Q: Is there anything like apt for Fedora?

    A:
    APT
    is a program for Debian Linux that installs not only the software you
    specify, but also all of that software's dependencies. It makes
    installing software much easier.

    There is a piece of software like this for Fedora, that
    comes in the standard Fedora Core installation. It's called
    yum. It can automatically download
    and install a program and all of its dependencies, with just one
    command. I even provide a special
    configuration file
    that I use for yum on my computer, in
    the question where I explain how to use
    yum
    .

    For those people who really like apt specifically,
    there is a version of apt for Fedora. You can
    download
    it from fedora.us
    . (Look for the package named "apt," it's
    OK that you'll be using the Fedora Core 2 version.)
    I have heard that it works very well.



  4. Q: Where are the Fedora Extras?

    A: The "Fedora Extras" will be a set
    of semi-official software packages supported by the Fedora Project. They
    don't exist yet. The fedora.us site
    has many packages that will be in Extras when it is created. To
    install them, just see the question about
    installing software
    .


  5. Q: The update servers hosted by Red Hat are slow!
    What can I do?

    A: First, you should use
    yum
    . Second, use the yum.conf from this FAQ --
    it uses mirrors to speed things up a lot.
    (See the question about installing software
    if you need some help with yum.)

    If you really want to use up2date, you can see
    Alexander
    Dalloz's great article
    . It will show you how to configure your
    up2date to use mirrors.


  6. Q: How do I install Java?

    The easiest way is to install Dag
    Wieers's
    Java Runtime RPMs:

    1. Make sure that you're using my yum.conf.
    2. Open a Terminal.
    3. Become root.
    4. Type:
      yum --enablerepo dag install j2re
      mozilla-j2re
      (If you're updating, do "update" instead of
      "install.")

    If the above directions don't work for you, or if you want to program
    in Java (so you need the SDK instead of the Java Runtime), use the
    custom Java installation instructions.

    (Thanks to Dag Wieers for an
    awesome simplification of this question. Thanks to Quy Nguyen Dai for
    catching a typo.)


  7. Q: How can I install Flash in my
    web browser?

    A:
    There are two ways to do this, using "yum," or not using it.

    If you have any questions, see the Flash
    Plugin FAQ
    ! (Thanks to Warren Togami for that link.)

    (Thanks to various IRC folks and vegan_linuxguy for troubleshooting
    this. Thanks to "m d," David Ball, and others for pointing out an
    important typo in this question! Thanks to David Jansen for letting me know
    that you no longer need libstdc++-compat for the new Flash plugin.)


  8. Q: How can I see PDF files inside my browser?

    A: I think the easiest way is with the Adobe
    Acrobat Reader. Just install Dag
    Wieers's
    mozilla-acroread package:

    1. Make sure that you're using my yum.conf.
    2. Open a Terminal.
    3. Become root.
    4. Type:
      yum --enablerepo dag install
      mozilla-acroread
      (If you're updating, do "update" instead of
      "install.")

  9. Q: How can I watch movies in my web browser?

    A: Just install the
    mplayer plug-in:

    1. Make sure that you're using the yum.conf
      from the installing software question.
    2. Open a Terminal.
    3. Become root:
      su -
    4. Install the plug-in:
      yum install mplayerplug-in
    5. Close all the windows of your web browser and then open it
      again.

    Now, you can see movies on web sites!


    NOTE: If you install a new version of Mozilla you may have to run this
    process again.

    (Thanks to Sindre for writing the original text for this
    question.)


  10. Q: Can I use MSN
    Messenger/AIM/ICQ/Yahoo
    instant messaging in Fedora?

    A: Yes, Fedora comes with an instant messaging
    program called gaim. When you
    use gaim, you can use MSN Messenger,
    ICQ,
    AIM
    ,
    Yahoo! Messenger, and
    Jabber, all at the same time.

    To start gaim, click on the "Red Hat" menu, go to
    "Internet," and choose "Messaging Client."

    See the gaim documentation
    for information about how to set up gaim with your MSN Messenger account.

    (Thanks to Peter Lawler for letting me know that
    "gaim" isn't capitalized.)


  11. Q: How do I install fonts? Can I use Windows
    (.ttf) fonts?

    A: Yes, you can.

    1. Double-click on the "Computer" icon on your desktop.
    2. In the "File" menu, choose "Open Location..."
    3. Type in:
      fonts:

    Now simply drag & drop your fonts into that window to add them.

    (Thanks to Harold Gimenez for the simple "Computer"
    way.)


  12. Q: Where can I get drivers for my
    hardware for Fedora?

    Dag Wieers provides
    an
    awesome set of drivers for Fedora
    , for all sorts of hardware. All
    the packages whose names start with "kernel-module" are
    drivers. Just download the appropriate version of the driver you need,
    for your kernel. If you want to find out what kernel you're running,
    you can open a terminal and type:

    uname -r


    NOTE: You must download and install a new version of your driver every
    time you install a new kernel.

    If you don't find what you need at Dag's site, try
    Googling for:

    Fedora NameOfHardware

    or:

    Linux NameOfHardware

    Where NameOfHardware is the normal name of your hardware.
    If it has more than one name, keep trying different ones until you
    get a result.

Problems and Their Solutions


  1. Q: I get a NOKEY warning from RPM,
    or I get a gpg signature error when using Apt / Yum / up2date!
    (Updated 28 November 2004)

    A:
    The NOKEY warning is not really a problem. It won't prevent
    you from doing anything. (The Apt / yum / up2date error, though,
    will usually prevent you from installing software.)

    If you'd like to resolve it, do the following command to get
    the correct key for the site you're downloading from:

    You must be root
    to do any of this.

    • Red Hat:
      rpm
      --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY*
    • fedora.us:
      rpm
      --import http://www.fedora.us/FEDORA-GPG-KEY
    • rpm.livna.org:
      rpm
      --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
    • FreshRPMs:
      rpm
      --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
    • DAG:
      rpm
      --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    • ATrpms:
      rpm
      --import http://atrpms.net/RPM-GPG-KEY.atrpms
    • NewRPMs:
      rpm
      --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt
    • Dries:
      rpm
      --import http://apt.sw.be/dries/RPM-GPG-KEY.dries.txt
    • JPackage:
      rpm
      --import http://www.jpackage.org/jpackage.asc

    (Thanks to Kai Thomsen for the original location of the
    ATrpms key, and thanks to Tom Householder for the new location!
    Thanks to Pim Rupert for the location of the Dries key. Thanks to
    Anduin Withers for a good idea about how to reorganize this
    question.)


  2. Q: How do I enable 3D support for my ATI Radeon
    card in Fedora Core 3?

    A:
    ATI drivers for Fedora Core 3 are not ready yet. Watch the
    tracking bug
    in the Livna.org Bugzilla for news.


  3. Q: How do I enable 3D support for my nVidia
    graphics card in Fedora Core 3?

    A: The nVidia drivers aren't
    completely ready for Fedora Core 3. However, we can
    make them work in the following way:

    1. First, use the Custom nVidia
      Install Instructions
      .
    2. Open a Terminal.
    3. Become root.
    4. Type: cp -a /dev/nvidia*
      /etc/udev/devices/
    5. Type: chown root:
      /etc/udev/devices/nvidia*

    (Thanks to Marius Nilsen for those instructions! Thanks to
    Jef Spaleta for a correction.)

    If, after installing the drivers, you continue to have trouble, try typing
    _GL_SINGLE_THREADED=1 yourprogramname
    to start your game instead of the normal way you do it.

    If you need support for the nVidia drivers, check out the

    nV News "Linux and nVidia Graphics" forum
    .
    (Thanks to Exile in Paradise for this tip.)

    If you have any trouble with the livna.org RPMs, see the
    alternate instructions.


  4. Q: I have an nVidia graphics card, and my
    computer freezes when it's booting!

    A: This is a problem with the
    "Red Hat Graphical Boot" (RHGB) screen and the nVidia
    drivers. To get your computer to boot, you can temporarily
    disable RHGB:

    1. When you first start your computer, the GRUB screen
      (where you choose your Operating System) appears. Select
      the Fedora that you want to boot into, but press the
      a key instead of pressing Enter.
    2. You will see a line somewhat like the following:
      kernel /vmlinuz-2.6.6-1.435 ro
      root=LABEL=/ rhgb quiet
      Remove the word "rhgb" from that line, and then
      press Enter.

    Now the computer will start up.

    Now, to prevent this problem from happening in the future,
    follow the nVidia installation instructions
    in this FAQ.


  5. Q: The installer's media check says all my CDs
    are bad!

    A: There is a bug in the kernel which
    causes the media check to say all CDs are bad, on some systems.
    To do a successful media check, do the following:

    1. At the installer prompt, type:
      linux mediacheck nocddma
    2. Run the media check on your CDs/DVD.
    3. Reboot, and run the installer normally.

  6. Q: I have strange installation problems.

    A: If your installation doesn't work, or you
    have problems during or after installation, first read the
    README
    and the Release
    Notes
    .

    If the README and Release Notes don't have a solution for your problem,
    try booting the installer with one of the following commands:

    linux ide=nodma
    linux acpi=off
    linux i8042.nomux
    linux acpi=off apm=off

    The "i8042.nomux" is especially helpful if you have keyboard
    or mouse problems.

    If any of those commands fixes your problem, please
    file
    a bug
    in Red Hat's
    Bugzilla
    .

    (Thanks to Alan Cox for
    all this information.)


  7. Q: How do I make XMMS play MP3s?

    A: Before I talk about this, you should know:
    In the United States and some other countries, you may have to
    pay patent royalties to
    use MP3 players or encoders. However, for home users, there is no legal
    problem with MP3 players. (Thanks to Doug McClean for clearing
    that up for me!)

    With that said, the plugins for these things are usually in the
    rpm.livna.org repository.

    1. Make sure that you're using my yum.conf.
    2. Open a terminal.
    3. Become root:
      su -
    4. Type yum install xmms-mp3

  8. Q: How do I make Rhythmbox play MP3s?

    A:
    Remember, there may be legal issues. See the XMMS
    question
    . With that said, the plugins for these things are usually
    in the rpm.livna.org repository:

    1. Make sure that you're using my yum.conf.
    2. Open a terminal.
    3. Become root:
      su -
    4. Type yum install gstreamer-plugins-mp3

  9. Q: How can I play MP3s in a KDE MP3 player, like Noatun or Juk?

    A: See
    Adrian
    Holovaty's awesome answer to this question
    .


  10. Q: How do I read my NTFS (Windows NT/2000/XP/2003)
    drive in Fedora?

    A: Well, now, that's an easy one! The wonderful
    linux-ntfs project has
    a whole
    section dedicated to Red Hat and Fedora
    . If you get lost, just look
    at the links on the left.


  11. Q: I don't like the new spatial file manager, how
    can I turn it off?

    A: You should at least give the new file manager
    a try, it's unusual, but many find it a better, faster and more efficient
    file manager. If you want a good introduction to it, read
    this
    introduction to the spatial file manager.

    If you decide you really don't like it and want to go back to the
    old file manager:

    1. Open a terminal.
    2. Type:
      gconftool-2 --type bool
      --set /apps/nautilus/preferences/always_use_browser true
    3. Log out and log in again, and the file manager will be
      back to the way it used to be.

    If you ever want to turn the new file manager back on, you can do:
    gconftool-2 --type bool
    --set /apps/nautilus/preferences/always_use_browser false
    and then log out and log in again.

    (Thanks to Mark McLoughlin and Jorge Castro for the simpler
    gconftool-2 way of doing this.)


  12. Q: How do I edit the menus in the panel?

    A:
    There is no easy way to do this in modern versions of GNOME.

    If you really want to change things, the menu items are
    ".desktop" text files in /usr/share/applications/.
    You can edit them in a text editor (like gedit) if you are
    root. You can use a command-line utility called
    desktop-file-install to add new .desktop files you create
    yourself. If you want to know how to write .desktop files, you can either
    look at the existing ones in /usr/share/applications, or
    you can read the (somewhat technical)
    .desktop
    specification
    .

    KDE has a program called kmenuedit that you
    can run to edit the menu.


  13. Q: How do I get Wine to work?

    A: There are
    RPMs
    that work out-of-the-box
    at NewRPMs.
    Go to the
    NewRPMs Fedora Repository
    and get whichever wine RPM has been posted most
    recently (check the date next to the file), and try installing it.
    (Thanks to che for the tip.)

    If for some reason you can't use the Wine RPMs (for example, you're using
    the CrossOver Office version of Wine), you have two choices:

    • Simple:
      Every time you start wine, instead of typing wine program type:
      setarch i386 wine program
      (Thanks to "ric" for this method.)
    • More Complex (better performance):

      You can disable a security feature called "exec-shield."
      That will solve the Wine-related problems in Fedora:

      1. Become root:
        su -
      2. Run prelink:
        prelink -ua
      3. Edit /etc/sysconfig/prelink. You'll need to change:
        PRELINK_OPTS=-mR
        to:
        PRELINK_OPTS="-m --no-exec-shield"
      4. Then do this to disable exec-shield:
        prelink -am --no-exec-shield


      NOTE: Exec-shield lessens the risk of the dreaded
      "buffer overflow" that most viruses and attacks use to compromise your
      system. However, as long as you're up-to-date with your updates, you
      shouldn't be in any more danger after you disable exec-shield.


      Note: You could also edit /etc/prelink.conf and skip everything that related
      to Wine, but I don't know the specific details on what you'd need to skip. (If you get it
      working, email me!)

      (Thanks to Carlos Vidal and Jeremy White for
      the general Wine un-prelink instructions. Thanks to Guy Fraser
      for the PRELINK_OPTS method. )


  14. Q: I can't access my Windows network shares anymore!
    People tell me to use the smbmount command, but it doesn't work!

    A: Fedora Core 3 uses a cool new type of Windows
    file sharing called "The Common Internet File System" (CIFS).
    Instead of using "smbmount", try:

    mount -t cifs //computername/share
    /mnt/somedirectory

    For more information about this, in a
    terminal you can do:
    man mount.cifs


  15. Q: d00d, u r t3h sukc

    A: Um, please phrase your request in the
    form of a question.

    In the mean time: party on. And goats.


This FAQ is maintained by Max Kanat-Alexander. That's max -at- fedorafaq -dot- org
or Avatraxiom in #fedora on FreeNode IRC. Sindre "foolish"
Pedersen Bjørdal is the Assistant Editor (foolish -at- fedorafaq -dot- org).

You can help us keep this FAQ up to date! if you discover an issue we don't cover, find any
errors in the answers already here or have a suggestion of some kind, please contact us and
we'll get on it.

mars - Thu, 2004-12-09 09:21

Fedora中文文档

关于 Fedora

  1. Fedora Core 3到底是什么?
  2. Fedora 和Red Hat 企业版的区别在哪里? (新)
  3. 它是一个不稳定的版本吗?
  4. 它已经正式发行吗?
  5. 如何 得到一份拷贝?
  6. 如何找到随Fedora Core 3 发行的各种程序的一个列表?
  7. up2date还能用吗?
  8. 是不是可以安装在ReiserFS,
    JFS, 或者 XFS的文件系统上?
  9. Fedora 是否支持使用64位 (AMD-64或者Intel EM64T) CPU 的电脑?
  10. Fedora 是否支持Mac (PowerPC)?
  11. 为什么找不到Fedora Core 3制作安装盘的软盘镜像文件(image)?

获得和安装 Fedora 的软件

  1. 哪里可以找到Fedora的软件
    ?
  2. 如何安装Fedora下的软件
    ? (如何使用yum 或者是
    RPM包)
  3. Fedora下面有没有类似 apt的东东?
  4. Fedora Extras(额外软件包)在哪里可以找到?
  5. 红帽子的升级服务器
    太慢了! 有没有别的选择?
  6. 如何安装 Java?
  7. 如何安装网页浏览器的Flash插件
  8. 如何在网页浏览器里查看PDF文档?
  9. 如何在网页浏览器里看 电影?
  10. 如何使用MSN /AIM/ICQ/Yahoo
    这样的即时通讯软件?
  11. 如何安装字体?
    我可以用windows的字体吗(.ttf)?
  12. 如何获得硬件在Fedora下的驱动程序 ?

问题和解决方案

  1. 我从RPM包得到NOKEY 的警告信息
    或者说在使用 Apt /Yum / up2date!这样的工具时收到类似gpg signature error的错误信息.
    (更新于2004/11/28)
  2. 如何开启我的ATI
    Radeon
    显卡的3D支持?
  3. 如何使我的
    nVidia 显卡支持3D?

    (Updated 13 Dec 2004)
  4. 我的电脑装了 nVidia 显卡,我的电脑在 启动时死锁.
  5. 安装程序的 安装介质检查 报告说我的安装光盘有问题!
  6. 我碰到了奇怪的 安装问题.
  7. 如何使用 XMMS 播放MP3?
  8. 如何使用 Rhythmbox
    播放 MP3?
  9. 如何在 KDE MP3
    播放器中播放MP3,例如 Noatun 或者 Juk?
  10. 如何读取 NTFS格式分区 (Windows
    NT/2000/XP/2003) ?
  11. 我不喜欢新的文件浏览器 (nautilus),如何删除它?
    (Updated 13 Dec 2004)
  12. 如何编辑面板上的菜单?
  13. 如何使用 Wine ?(Updated 13 Dec 2004)
  14. 我不能再进入Windows 网络的共享文件夹 !有人告诉我用
    smbmount这个命令,但是还是不行!
  15. d00d, u r t3h sukc


The FAQ

关于 Fedora


  1. Q: Fedora Core 3到底是什么?

    A:
    首先, 请读一下 官方的 Fedora
    介绍
    .现在,我将做一个总结.你可以想象它就是 "Red Hat Linux 12,"
    但是实际上它和Red Hat Linux 还是有一些不同的:

    • 它是由开源社区支持的. 也就是说你本人
      也可以参加到Fedora Core的开发中来,只要你愿意.
    • 每隔六个月,一个新的版本的Fedora就会出现.
    • 每当新版本出现,6-8月后之前的旧版本就不被支持了.

    也就是说你要每6-8个月更新你的系统.当然,这个升级的过程一般都相当简单,就好象Red Hat Linux 8 - Red Hat Linux 9.
    我很难担保它有多么容易.

    当然,可能你不愿意或者不可以每隔6-8个月都升级一次,也可以参考一下
    Fedora Legacy
    Project
    .他们在 Fedora Project 停止支持之后的1年半之内仍然提供安全方面的补丁.

    Red Hat Enterprise
    Linux
    4 这是建立于Fedora Core 3的基础上, 如果你想免费了解和学习RHEL 4 ,就试一下 Fedora Core 3.


  2. Q: Fedora 和Red Hat 企业版的区别在哪里?

    A: Red Hat企业版Linux 已经有5年被红帽子支持的历史了.
    对于重要生产的场合而且你不想一直在升级你的系统,它是更好的选择. 它也具有一些很有用的特性专为同时运行多个服务器而设计.
    同时, 你也可以(有时)真的打电话到Red Hat来寻求对
    RHEL的支持,
    但是对于Fedora永远也不会有这样的支持.

    Fedora是免费发行的,RHEL(企业版)要花钱去买.

    Fedora 相比之下更加时髦, 而且Fedora有一个很大的社区的支持,许多人愿意免费地帮助你(就像这个网页一样).

    Red Hat 也有
    关于这个问题的有趣的讨论.


  3. Q: 它是一个不稳定的版本吗?

    A:

    当然不是!


  4. Q: 它已经正式发行吗?

    A:
    当然! Fedora Core 3 (Heidelberg), 在2004/11/8正式发行.想知道新版本的Fedora什么时候会发行,
    请看发行日程表.


  5. Q: 如何得到一份拷贝?

    A:
    直接下载或者
    使用BT工具. 请下载
    "binary" 或者 "i386" 包, 不要下载 "source"
    或者 "SRPM" 包.

  6. Q: 如何找到随Fedora Core 3 发行的各种程序的一个列表?

    A: 请在以下地址寻找 Core 3 主要软件包列表
    Distrowatch
    Fedora Page
    .


  7. Q: up2date还能用吗?

    A:
    当然, 只是现在不在使用 Red Hat Network (RHN).
    (现在仍然是从 Red Hat的服务器上下载,只是没有原来的RHN的一些功能了.)

    尽管如此,对于Fedora, 最好还是使用
    yum 升级而不是用up2date.


  8. Q: 是不是可以安装在ReiserFS, JFS, 或者 XFS的文件系统上?

    A:
    当然, 你可以把 Fedora 装在 ReiserFS, JFS, or XFS.
    但是这些文件系统都没有Fedora Project官方的支持.
    (也就是说,如果你使用这些文件系统遇到什么问题,你可能找不到太多官方的支持.)

    在安装程序的提示下输入下面的命令来安装到ReiserFS文件系统:
    linux reiserfs
    或者到JFS文件系统:
    linux jfs
    到XFS:
    linux xfs


    注意: 你不可以使用SELinux 如果选择 ReiserFS 或者JFS. 但是XFS可以.
    (如果你不知道SELinux是什么,你可以跳过这个提示.)

    (感谢 whiprush [quoting Jesse Keating] 提供这些知识.同时感谢
    Kai Thomsen.感谢
    Colin Charles 提供了XFS和SELinux 的提示.)


  9. Q: Fedora 是否支持使用64位 (AMD-64或者Intel EM64T) CPU 的电脑?

    A:

    当然,可以! 64位的Fedora Core 2 现在可以下载了. 看看这里下载 Fedora.

    如果你有什么64位Fedora的任何问题, 看看
    AMD 64 Fedora FAQ.

    当然,也可以在64位电脑上面运行普通的32位Fedora.


  10. Q: 我们可以在 Mac (PowerPC)上运行Fedora ?

    A:
    当然可以,实际上.在现在的阶段,还有点复杂 --参考
    Colin
    Charles'的在Mac上安装Fedora的向导.

    (感谢Colin Charles!)


  11. Q: 为什么找不到Fedora Core 3制作安装盘的软盘镜像文件(image)?

    A: Fedora Core 新的2.6 内核不能放进软盘里.所以,你不能从软盘启动或者安装.然而,
    你可以用光盘,硬盘,或者甚至是USB disk (如果你的电脑支持用USB disk启动).

    如果你只能用软盘你只有如下的选择:

    (感谢Noa Resare对这个问题的建议)

获得和安装 Fedora 的软件


  1. Q: 哪里可以找到Fedora的软件?

    A: 有一些"repositories"(仓库)
    (提供软件的网站). 主站点有非官方的rpm.livna.org (那些需要授权的或是有USA
    专利问题的软件) 还有就是比较官方的
    fedora.us site.
    他们提供了不同的软件.
    还有更多的选择.参考
    FreshRPMs. 在FreshRPMs 和他的伙伴那里有许多没有被fedora.us或者livna.org收录的软件.
    你可以在
    "Mega-Merge"
    page
    找到这些东东的列表.

    在这几个主要的镜像站点上查找想要的软件请使用
    FedoraTracker search engine 或者
    rpm.pbone.net.



  2. Q: 如何安装Fedora下的软件? (如何使用yum 或者是 RPM包)

    A: 最方便的在Fedora下安装软件的方法就是使用yum.

    1. 下载这个yum.conf.
    2. 替换你的"/etc/yum.conf".
      当然你首先得是root 才能这样做.
      实际上,下面的操作都需要root的权限.

    注意:不是所有的软件都可以用到Fedora Core 3下.目前,一些站点还在针对新发布的Fedora Core 3进行更新.

    注意:因为各种原因,这里的yum.conf随时都在更新.

    现在你可以看看有哪些可用的软件:

    yum list available

    • 要安装新的软件输入:
      yum install 软件包名
    • 要升级旧的软件输入:
      yum update 软件包名
      如果你不指定软件名,yum将自动升级全部软件.
    • 要检查有哪些软件可以升级,输入:
      yum check-update
    • 要搜索某个软件,输入:
      yum search

    要了解yum更多信息,参看
    yum project page.
    (感谢Ron Kuris.)

    如果你很在意安全的问题,我建议你注释掉yum.conf中
    "gpgcheck=1" 这样的行-- 你可以参考
    gpg signature question.
    (感谢 Kai Thomsen)

    要通过代理服务器来上yum,请参考
    FedoraForum
    上关于代理服务器的讨论
    . (感谢 Reinhard Herzfeld
    提供这个链接.)

    如果你要从RPM包安装从yum以外得到的软件包,打开一个 terminal 然后以root登录:
    rpm -Uvh filename.rpm


  3. Q: Fedora下面有没有类似 apt的东东?

    A:
    APT
    是Debian Linux下的软件安装工具,可以自动解决软件包的倚赖问题(dependencies),
    这使得软件安装起来更加容易.

    我们也可以在Fedora下使用类似APT的功能.
    它已经包含在标准的Fedora Core 安装中.也就是
    yum. 他可以自动下载和安装软件
    同时自动解决它的倚赖问题, 只用一行命令.我还提供了一个特别的配置文件
    我在自己的电脑上用的,在
    如何使用yum这里.

    对那些偏爱apt的人,
    Fedora也可以安装APT.你可以到
    fedora.us下载. (查找"apt", Fedora Core 2的版本也可以.)
    我听说它工作的很好.


  4. Q: Fedora Extras(额外软件包)在哪里可以找到?

    A: 所谓 "Fedora Extras" 就是
    Fedora Project提供的半官方的软件包.他们现在还不存在.请参考fedora.us
    将会 存贮这些软件包.要安装这些包,请参考如何安装软件包.


  5. Q:红帽子的升级服务器 太慢了! 有没有别的选择?

    A: 首先,你应该使用
    yum
    . 其次,使用我们提供的这个yum.conf --
    它用了许多更快的镜像站点
    (参考安装软件如果你不知道怎么用Yum.)

    如果你真得要用up2date, 参考
    Alexander
    Dalloz'的大作
    . 他讲了如何在up2date里面使用其他镜像站点.


  6. Q: 如何安装 Java?

    最容易的方法是安装Dag
    Wieers'的
    Java Runtime RPM包:

    1. 确认你用的是我提到的yum.conf.
    2. 打开一个终端.
    3. 登录为root.
    4. 输入:
      yum --enablerepo dag install j2re
      mozilla-j2re
      (如果你是升级,用"update" 替换
      "install.")

    如果上面的方法不适合你,或者你想用JAVA编程,(你需要SDK而不仅仅是Java Runtime),参考
    自定义JAVA安装指南.

    (感谢Dag Wieers 使这个问题简单的不可置信.感谢Quy Nguyen Dai的建议.)

  7. Q:如何安装网页浏览器的Flash插件?

    A:
    有两种方法,用"yum,"的和不用的.

    还有其他问题,请参考Flash插件FAQ!
    (感谢Warren Togami 提供这个链接.)

    (感谢IRC的朋友们以及vegan_linuxguy解决这个问题的贡献. 感谢"m d," David Ball, 还有其他人
    对这个问题的贡献!感谢 David Jansen告诉我,我们不再需要libstdc++-compat 来运行Flash插件.)


  8. Q: 如何在网页浏览器里查看PDF文档?

    A: 我想最容易的方法是安装Adobe
    Acrobat Reader. 只要安装Dag
    Wieers's
    mozilla-acroread 包;

    1. 确认你是用我的yum.conf.
    2. 打开一个终端.
    3. 登录为root.
    4. 输入:
      yum --enablerepo dag install
      mozilla-acroread

      (如果你是升级,用"update"代替
      "install.")


  9. Q: 如何在网页浏览器里看电影?

    A: 只要安装
    mplayer 插件:

    1. 确认你是用我的yum.conf.
    2. 打开一个终端.
    3. 登录为root.
    4. 输入:
      su -
    5. 安装这个插件:
      yum install mplayerplug-in
    6. 关掉所有的网页,再打开试试看.

    现在可以了吧!


    注意: 如果你重新安装了Mozilla,你还要再重复上面的动作.

    (感谢 Sindre 提供答案.)


  10. Q: 如何使用MSN /AIM/ICQ/Yahoo 这样的即时通讯软件?

    A: 当然,Fedora提供了一个通用的及时通讯工具gaim. 通过
    使用 gaim,你可以同时看到 MSN Messenger,
    ICQ,
    AIM
    ,
    Yahoo! Messenger,以及
    Jabber上的好友.

    要使用gaim,点击"Red Hat"应用程序菜单,选择
    "互联网," 然后选择 "IM"

    参考gaim的文档
    如何加入你的MSN帐号.

    (感谢Peter Lawler"gaim"是免费的.)


  11. Q:如何安装字体? 我可以用windows的字体吗(.ttf)?

    A: 当然可以.

    1. 双击桌面上 "计算机" 图标.
    2. 从"文件"菜单下选择"打开位置..."
    3. 输入:
      fonts:

    现在只要简单的拖放& 你的字体文件到这个窗口来添加它们.

    (感谢Harold Gimenez提供这个简单的方法.)


  12. Q: 如何获得硬件在Fedora下的驱动程序 ?

    Dag Wieers 提供了
    相当多的Fedora驱动程序,
    针对各种各样的硬件.那些以"kernel-module"开头的包
    是驱动程序. 只要下载你的合适版本的驱动程序给你的内核.如果你不知道你的内核的版本,
    你可以打开一个终端然后输入:

    uname -r


    注意: 你升级内核之后要重新安装新的驱动程序.

    如果在Dag's site找不到你要的驱动,试试
    Googling 查找:

    Fedora 硬件名字

    或者:

    Linux 硬件名字

    这里的硬件名子是你硬件的通用名字.
    查不到,可以多试几个不同的名字.

问题和解决方案


  1. Q: 我从RPM包得到NOKEY 的警告信息 或者说在使用 Apt /Yum / up2date!
    这样的工具时收到类似gpg signature error的错误信息.(更新于2004/11/28)

    A:
    NOKEY不是一个真正的问题.不会对你有什么妨碍. (Apt / yum / up2date的警告,不管怎么说,
    通常会使你无法安装软件.)

    如果你想解决这个问题,输入下面的命令来导入镜像站点的正确的key:

    当然必须登录为root
    来作.

    • Red Hat:
      rpm
      --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY*
    • fedora.us:
      rpm
      --import http://www.fedora.us/FEDORA-GPG-KEY
    • rpm.livna.org:
      rpm
      --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
    • FreshRPMs:
      rpm
      --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
    • DAG:
      rpm
      --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    • ATrpms:
      rpm
      --import http://atrpms.net/RPM-GPG-KEY.atrpms
    • NewRPMs:
      rpm
      --import http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt
    • Dries:
      rpm
      --import http://apt.sw.be/dries/RPM-GPG-KEY.dries.txt
    • JPackage:
      rpm
      --import http://www.jpackage.org/jpackage.asc

    (感谢Kai Thomsen提供原始的
    ATrpms key, 同时感谢 Tom Householder新的地址!
    感谢Pim Rupert提供Dries key. 感谢Anduin Withers指出如何正确认识这个问题.)


  2. Q: 如何开启我的ATI Radeon 显卡的3D支持?

    A:
    ATI 还没有提供 Fedora Core 3的驱动程序.你可以到 Livna.org Bugzilla看看
    跟踪这个bug


  3. Q: 如何使我的nVidia 显卡支持3D?

    A: 现在livna.org上面提供了专为Fedora设计的nVidia驱动程序.
    如果你用yum,而且使用我的yum.conf,
    你应该可以很容易的安装这个驱动:

    1. 打开一个终端l.
    2. 登录为root.
    3. 输入:
      yum install nvidia-glx
      kernel-module-nvidia-`(uname -r)`

    这样就可以针对你的内核版本安装适用的驱动了.

    如果你升级了内核,记住一定要在启动新的内核之前安装合适的驱动程序. 这里有一些快捷的命令可以在
    终端
    root 的权限里执行,轻松安装新的驱动:

    yum install
    kernel-module-nvidia-`(rpm -q
    --queryformat="%{version}-%{release}\n" kernel |
    tail -n 1)`

    (这实际上是采用了一种很有趣的方法获得内核版本号.)

    如果需要对nVidia驱动的帮助,参考

    nV News "Linux and nVidia Graphics" forum
    .
    (感谢 Exile in Paradise.)

    如果不能下载 livna.org 的RPM包, 参考
    其他选择.

    (感谢 Jeff Spaleta 告诉我已经有RPM包.)


  4. Q: 我的电脑装了 nVidia 显卡,我的电脑在 启动时死锁!

    A: 这个问题是由
    "Red Hat Graphical Boot" (RHGB,红帽子图形启动)和nVidia的驱动不兼容引起.
    为了解决这个问题并使电脑可以正常启动,我们可以关掉RHGB:

    1. 电脑启动的时候,在GRUB 的屏幕里(也就是你选择操作系统的地方),选择你要启动的Fedora
      的时候按a 键,别按Enter.
    2. 你会看到与下面类似的一行:
      kernel /vmlinuz-2.6.6-1.435 ro
      root=LABEL=/ rhgb quiet
      从这一行里删除"rhgb",然后按Enter.

    现在你的电脑应该可以启动了吧.

    为了防止以后发生同样的问题, 参考本FAQ的关于
    nVidia 安装


  5. Q: 安装程序的安装介质检查报告说我的安装光盘有问题!

    A: 这是内核本身的一个BUG,在特定的系统上,作介质检查时
    会出现所有的光盘都不好,为了顺利通过这个检查,请按以下几步来做:

    1. 在安装程序的提示符下,输入:
      linux mediacheck nocddma
    2. 来检查你的CD/DVD.
    3. 重新启动,正常运行你的安装程序.

  6. Q: 我碰到了奇怪的安装问题.

    A: 如果你不能安装,或者在安装的过程中,安装后遇到什么问题,先看看
    README
    以及Release
    Notes(发行注记)
    .

    如果README和Release Notes都没有解决你的问题,
    试试用下面的命令启动安装程序:

    linux ide=nodma
    linux acpi=off

    linux i8042.nomux
    linux acpi=off apm=off

    "i8042.nomux" 特别是在你遇到键盘,鼠标的问题的时候用得上.

    如果上面的某个命令解决了你的启动问题,请务必
    记录这个bugRed Hat's
    Bugzilla
    .

    (感谢Alan Cox提供这些信息.)


  7. Q: 如何使用 XMMS 播放MP3?

    A: 在讨论这个问题之前,请注意:
    在包括美国之内一些国家里, 你不得不为了使用MP3 播放器和解码器
    支付专利使用费. 尽管如此,对于家庭用户来说,使用MP3播放器不会涉及法律问题.

    (感谢Doug McClean帮我澄清这个问题!)

    如上所述,你可以到rpm.livna.org 下载播放器和解码器.

    1. 一样要确认你用我的yum.conf.
    2. 打开一个终端.
    3. 登录为root:
      su -
    4. 输入:yum install xmms-mp3
  8. Q: 如何使用 Rhythmbox 播放 MP3?

    A:
    注意,可能我们会触犯法律,参考XMMS的问题.如上所述,你可以到rpm.livna.org 下载播放器和解码器.

    1. 确认你使用我的yum.conf.
    2. 打开一个终端.
    3. 登录为root:
      su -
    4. 输入: yum install gstreamer-plugins-mp3

  9. Q:如何在 KDE MP3 播放器中播放MP3,例如 Noatun 或者 Juk?

    A: 参考
    Adrian
    Holovaty的精采回答
    .


  10. Q: 如何读取 NTFS格式分区 (Windows NT/2000/XP/2003) ?

    A: 现在,好了,有一个容易的办法了!奇妙的
    linux-ntfs Project
    通用于Red Hat和Fedora.
    如果找不到链接,看看左边的.


  11. Q:我不喜欢新的文件浏览器 (nautilus),如何删除它?

    A: 如果你想要它变回 Fedora Core 1的样子, 参考以下步骤:

    1. 双击 "计算机" 图标
    2. 到"编辑"菜单下选择"首选项".
    3. 选择"行为"选项卡.
    4. 勾选"总是在浏览器窗口中打开"

    (感谢 Eugéne Roux!)


  12. Q: 如何编辑面板上的菜单?

    A:
    现在的GNOME还是没有提供容易的方法来编辑菜单.

    如果你真得要改变这些,修改".desktop"文本文件,在/usr/share/applications/目录下.
    如果你是root的话,可以用文件编辑器(例如gedit)来编辑它.你也可以用命令行工具
    desktop-file-install 来建立自定义的.desktop文件.
    如果想知道怎么编辑.desktop文件,你可以参考系统自带的/usr/share/applications下面的, 读读下面的材料(技术方面的):
    .desktop
    规格
    .

    KDE下面有一个工具叫做kmenuedit,可以用来编辑菜单.

  13. Q: 如何使用Wine ?

    A: 到下面的站点下载
    RPM包

    NewRPMs Fedora 站点
    看看最新的版本 (注意看到后面的发布日期).
    (感谢che.)

    如果你不能使用PRM包, (例如CrossOver Office版Wine), 有两种选择:

    • 示例::
      每次使用 wine, 试试不要输入wine 程序名 改成输入:
      setarch i386 wine 程序名

      (感谢"ric".)

    • 更复杂点 (性能更好):

      你可以关掉安全的方面的一个功能 "exec-shield."
      这个可以解决wine和fedora的很多冲突:

      1. 登录为 root:
        su -

      2. 运行 prelink:
        prelink -ua
      3. 编辑 /etc/sysconfig/prelink. 作以下更改:
        PRELINK_OPTS=-mR
        改成:
        PRELINK_OPTS="-m --no-exec-shield"

      4. 然后运行如下命令来关掉 exec-shield:
        prelink -am --no-exec-shield


      注意: Exec-shield 可以减少可怕的"buffer overflow".
      很多病毒和骇客攻击采用这个方法.然而,如果你始终保持你的系统更新的话,
      你即使关掉exec-shield也没有更大的风险.


      注意:你也可以编辑 /etc/prelink.conf跳过关于wine的所有行
      ,但是,我不知道更具体的该怎么做. (如果你成功了, 给我email!)


    • Q: How do I get
      Wine to work(New)?
      (Updated 13 Dec 2004)

      A: Wine should work out-of-the-box on Fedora
      Core 3. If it doesn't, try the Fedora Core 2 Wine
      instructions
      .

    • (感谢Carlos Vidal和Jeremy White提供通用的Wine un-prelink的方法.感谢Guy Fraser
      提供PRELINK_OPTS的方法. )


  14. Q:我不能再进入Windows 网络的共享文件夹 !有人告诉我用 smbmount这个命令,但是还是不行!

    A: Fedora Core 3提供了更新更酷的方法来共享windows 下的文件,就是 "The Common Internet File System" (CIFS).
    来取代 "smbmount",试试看:

    mount -t cifs //计算机名/share
    /mnt/目录名

    获得更多信息,打开一个
    终端 输入:
    man mount.cifs

  15. Q: d00d, u r t3h sukc

    A: 噢, 请把你的句子整理得像一个问题,呵呵.

    与此同时: party on. And goats.(这句什么意思,不懂)


本FAQ 由Max Kanat-Alexander 负责维护. Email: max -at- fedorafaq -dot- org
或者 Avatraxiom 在FreeNode IRC#fedora频道. Sindre "foolish"
Pedersen Bjørdal 是他的副手 (foolish -at- fedorafaq -dot- org).

你可以帮我们维护这个FAQ的更新!
如果你发现我们没有讲到的问题,或者我们的回答不对,不够好,请告诉我们,我们会尽快改善.

mars – Mon, 2005 – 01 – 03 14:06

Linux的一些基础知识

  1. 终端(terminal)是什么? 如何 "打开一个终端(Terminal)?"
  2. 根用户(root)是什么意思? 如何"登录为根用户(root)?"
  3. 我安装了一个新程序,如何运行它?
  4. What is a runlevel?
    (New)
  5. 如何启动到文本模式文本模式
    (没有图形界面)??
    (新)
  6. 如何在使程序开机之后自动运行?
    (新)
  7. 如何清除我的根用户密码? (新)

Fedora的一些基础知识

  1. "服务(service)是什么?"在Fedora里我如何管理我的服务?
  2. 急救模式(rescue mode)是什么意思,如何启动到这种模式?
  3. What is exec-shield, and what is it doing? What is a stack?

    -->


基础知识FAQ

Linux的一些基础知识


  1. Q: 终端(terminal)是什么? 如何 "打开一个终端(Terminal)?"

    A: A "终端(terminal)"是向计算机发出命令的一个"窗口".可能听起来有点奇怪,但是等你习惯了这种交流的方法之后,
    你会发现它实际上真的是又简单又容易理解.你可以把Fedora完全得当成一个图形化系统来用或者你也可以完全的使用终端来操纵它.
    实际上,两种我都很常用到,哪种适合我要做的事我就选择哪种.

    你可以在图形的环境下打开一个终端,或者你也可以切换到全屏幕的一个终端上.

    要是想在图形界面下打开一个终端:

    1. 打开你的应用程序菜单.那里不是"红帽子"就是一个"小脚"的图标,也有可能是一只小企鹅.
    2. 在系统工具下面,点击终端.

    要把整个屏幕切换到终端,同时按下Ctrl-Alt-F1.
    你一共可以有六个终端,分别对应Alt-F1
    一直到Alt-F6.按下Alt-F7可以回到图形界面下.


  2. Q: 根用户(root)是什么意思? 如何"登录为根用户(root)?""

    A: "根用户(root)" 就是可以控制整个系统所有事情的用户.我们可以把他叫做 "超级用户"

    要成为根用户,首先打开一个终端.然后,输入:

    su -

    主意这个小短线"-" 是很重要的-- 它会加载设置使你的命令更容易被系统找到和执行.

    然后,输入根用户的密码.在安装Fedora的时候,系统会要求你指定这个密码.

    如果你是登录到全屏幕的那种终端,你只要在"Login:"提示符后面输入"root"这个用户名,然后输入正确的密码.


  3. Q: 我安装了一个新程序,如何运行它呢?

    A: 首先,在应用程序菜单里找找看. 许多程序会自动添加到菜单里.

    如果在菜单里找不到,你可以使用终端.许多程序打入它们的名字就可以运行了.例如,要打开网页浏览器,mozilla,打开一个终端然后输入:
    mozilla

    如果在菜单里找不到,程序名也不清楚,用下面的命令来列出程序名:
    rpm -ql packagename | grep bin


  4. Q: 运行态是什么?

    A: 运行态是一个表示电脑启动后进入的模式的数字
    ,例如,5是图形模式的代号,3是文本模式.1是单用户("single-user")模式,用来解决问题和修复系统.

    有三种方法可以改变你的运行态:

    • 电脑在运行中的时候:

      1. 打开一个终端.
      2. 登录为根用户.
      3. 输入: init 编号
        这里编号 就是你要切到的运行态.

      回车后就会切换到你要的运行态了.

    • 如果是在电脑启动的过程:

      1. 开机之后,等待GRUB屏幕出现
        (就是你选择操作系统的地方).选择你要启动的Fedora,这个时候不要按Enter
        而是按下a键.
      2. 可以看到类似下面的一行:
        kernel /vmlinuz-2.6.9-1.667 ro
        root=LABEL=/ acpi=on rhgb quiet
        在这一行的最后加上你的运行态的编号,然后按下Enter.例如,
        要启动到文本模式:
        kernel /vmlinuz-2.6.9-1.667 ro
        root=LABEL=/ acpi=on rhgb quiet 3

      但是这样只有对于这一次的启动是有效的.

    • 永久性的设定运行态:

      1. 打开一个终端.
      2. 登录为根用户.
      3. 用你最常用的文本编辑器打开/etc/inittab:
        gedit /etc/inittab
      4. 找到这一行:
        id:数字:initdefault:
        这个数字 是你现在默认的运行态(多半是5).
      5. 改变中间这个数字到你想要的默认的运行态.
        例如,如果你要默认启动到文本模式,
        可以改成:
        id:3:initdefault:

      以后每次启动都会文本模式.

    (感谢Ilja Kogan)


  5. Q: 怎样启动到文本模式(没有图形界面)?

    A: 文本模式就是运行态 3.
    如果你要启动到文本模式,请参考上面的
    运行态问题,改变你的运行态为3.


  6. Q: 如何让程序在开机时自动运行?

    A: 你有两种选择,一种是早在还没有登录的时候就运行,另一种是在你登录之后.

    要在启动之后登录之前运行一个命令,
    要把这个命令加到/etc/rc.local:

    1. 打开一个终端.
    2. 登录为根用户.
    3. 把这个文件用你喜欢的文本编辑器打开:
      gedit /etc/rc.local
    4. 在最后加上一行,写上你要运行的命令.

    如果你要在登录之后执行这个程序:

    1. 先登录.
    2. 登录之后,然后单独
      打开你要自动运行的那个程序.
    3. 然后注销,注销时选择"保存当前设置".

    从此之后,你一旦登录,这个程序就会自动运行,
    如果你要停止它自动启动,只要:

    1. 登录.
    2. .登录之后,然后关闭
      自动运行的那个程序.
    3. 然后注销,注销时选择"保存当前设置".

    选择"保存当前设置"会在默认的情况下, 准确地保持注销之前的样子.

    (感谢Ilja Kogan)


  7. Q:如何清除我的根用户密码?

    A: 如果你忘了根用户的密码,想要修改它,别担心,是可能的.
    你需要启动到"单用户模式".你必需坐在电脑前面来做.
    --你不能远程操作:

    1. 参考运行态问题 (启动系统的那一节),启动到运行态1.
    2. 输入下面的命令重新设定密码:
      passwd
      然后输入新的密码.
    3. 重新启动之后,就可以用新的根用户密码登录了.

    (感谢Mark
    Senn
    )

Fedora的一些基础知识


  1. Q: "服务(service)是什么?"在Fedora里我如何管理我的服务?

    A:服务"service" 是在你开机之后就自动运行的一种程序,而且它在后台运行. 例如,网络"network"服务
    建立了你的网络连接使它能一直正确运行.

    在Fedora里有两种方法管理服务,一个是用图形界面工具,还有就是用终端.
    如果你不是在图形界面下,就用命令行的方法.

    要用图形界面工具 可以在应用程序菜单,在
    系统设置 - >服务器设置 - > 服务:

    • 检查一个服务是不是在运行:从列表里选择这个服务,在状态一栏里,就可以看到服务的运行状态.
    • 开始一个服务:从列表里选择这个服务,点击开始.
    • 停止一个服务:从列表里选择这个服务,点击停止
    • 让一个服务在开机后自动运行:从列表里选择这个服务,在它前面的那个框里选中.
    • 让一个服务在开机后不要自动运行:
      从列表里选择这个服务,在它前面的那个框里取消选中.

    使用终端命令的方式 (替换服务名
    成为你要的服务):

    你必须是根用户(root)来做更改.

    • 检查一个服务是不是在运行:
      service 服务名 status
    • 开始一个服务:
      service 服务名 start
    • 停止一个服务:
      service 服务名 stop
    • 让一个服务在开机后自动运行:
      1. 打开ntsysv程序:
        ntsysv
      2. 在列表里找到你要的服务然后用空格键来选中.标上*的服务会在开机的时候自动加载.
    • 让一个服务在开机后自动运行:
      1. 打开ntsysv程序:
        ntsysv
      2. 在列表里找到你要的服务然后用空格键来选中.没有标上*的服务不会在开机的时候自动加载.

    (感谢Sindre!)


  2. Q: 急救模式(rescue mode)是什么意思,如何启动到这种模式?

    A: 急救模式提供了从光盘和USB盘启动的功能.从名字的暗示, 这个模式下,你可以做一些挽救工作.在这个模式下,你可以加载和修改文件,例如配置文件来解决你的问题.

    要启动到急救模式,你必须可以用以下的方法启动:

    1. 用光盘和USB盘上的image文件启动.
    2. 用Fedora的第一张光盘启动.

    用这些方法之一启动,在boot的提示符输入:
    linux rescue


本FAQ 由Max Kanat-Alexander 负责维护. Email: max -at- fedorafaq -dot- org
或者 Avatraxiom 在FreeNode IRC#fedora频道. Sindre "foolish"
Pedersen Bjørdal 是他的副手 (foolish -at- fedorafaq -dot- org).

你可以帮我们维护这个FAQ的更新!
如果你发现我们没有讲到的问题,或者我们的回答不对,不够好,请告诉我们,我们会尽快改善.

This site is hosted
for FREE by FreeWebs.com. Click here to get your own Free Website!

mars – Mon, 2005 – 01 – 03 23:28

Movies!

Hello guys! I want to offer you good shop of the movies http://www.buymoviesonline.biz
No rentals, you own what you download! buymoviesonline.biz

Markus85 (not verified) – Sat, 2008 – 02 – 23 00:33