From Fedora Project Wiki
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:
anaconda is a fairly sophisticated installer.  It supports installation from local and remote sources such as CDs and DVDs, images stored on a hard drive, NFS, HTTP, and FTP.  Installation can be scripted with [[Anaconda/Kickstart|  kickstart]]  to provide a fully unattended installation that can be duplicated on scores of machines.  It can also be run over VNC on headless machines.  A variety of advanced storage devices including LVM, RAID, iSCSI, and multipath are supported from the partitioning program.  anaconda provides advanced debugging features such as remote logging, access to the python interactive debugger, and remote saving of exception dumps.
anaconda is a fairly sophisticated installer.  It supports installation from local and remote sources such as CDs and DVDs, images stored on a hard drive, NFS, HTTP, and FTP.  Installation can be scripted with [[Anaconda/Kickstart|  kickstart]]  to provide a fully unattended installation that can be duplicated on scores of machines.  It can also be run over VNC on headless machines.  A variety of advanced storage devices including LVM, RAID, iSCSI, and multipath are supported from the partitioning program.  anaconda provides advanced debugging features such as remote logging, access to the python interactive debugger, and remote saving of exception dumps.


== 用户 ==
== 普通用户 ==


If you are a user having problems with anaconda, please use the user support forum for your distribution such as [http://forums.fedoraforum.org/forumdisplay.php?f=6 Fedora Forum] .  There are a few useful documents for users under [[Anaconda/UserTips| UserTips]] , but generally, this is dedicated to developers and advanced users of anaconda.
如果您有有关 Anaconda 的问题,请针对您的发行版联系用户支持,比如 [http://forums.fedoraforum.org/forumdisplay.php?f=6 Fedora Forum][[Anaconda/UserTips|这里]] 有少量有帮助的文档,但是这是针对开发者或高级用户的。


From time to time, we may distribute updates for anaconda to fix problems in Fedora releases.  The [[Anaconda/Updates| updates]] wiki page explains how to use these updates images.
我们始终会在每次 Fedora 的发布更新这个安装器,包含一些修复或者改进之类的内容。[[Anaconda/Updates|更新]] 页面讲述了如何使用这些更新。


Need to see what's changed from release to release?  See our [[Anaconda/Changes|migration guide]] which summarizes changes for users, rebuilders, and contributors.
想了解每个发行版上安装器的改进?请查看为用户,重构人员以及贡献人员总结的 [[Anaconda/Changes|变更]] 介绍。


== 高级用户 ==
== 高级用户 ==


If you are an advanced user of anaconda, you should check out [[Anaconda/Options|  our reference to anaconda command line options]],[[Anaconda/Kickstart| our kickstart file format documentation]] and [[Anaconda/Logging| our reference to logging capabilities of anaconda]].
如果你是一名anaconda的高级用户,你应该查看 [[Anaconda/Options|  our reference to anaconda command line options]][[Anaconda/Kickstart| our kickstart file format documentation]][[Anaconda/Logging| our reference to logging capabilities of anaconda]]


There is a mailing list devoted to the use of kickstart.  You can find the list signup and archive information at [http://www.redhat.com/mailman/listinfo/kickstart-list] .  This is the best place to share tips and tricks about kickstart.
这里有一个和kickstart使用相关的邮件列表,你可以在[http://www.redhat.com/mailman/listinfo/kickstart-list 这里]找到邮件列表注册和邮件归档信息。这里是用来分享有关kickstart的提示和技巧最好的地方。


== Distribution Builders ==
== Distribution Builders ==
Line 30: Line 30:
== 开发者 ==
== 开发者 ==


Anaconda is primarily written in the [http://www.python.org/ Python language] The graphical front-end of anaconda is written with [http://www.pygtk.org/ pyGtk library]  and [http://glade.gnome.org glade interface description files] .  Using Python for the majority of the installer code allows for easy distribution of updates and the quick development of new features.  The loader, which handles loading the large main portion of anaconda, module loading, and other boot up tasks, is written in the C programming language.  Some other minor hardware-specific portions of anaconda are also written in C.  In addition, bash and python scripts are used for some administrative scripting duties.
Anaconda 主要是由[http://www.python.org/ Python 语言]编写的。 The graphical front-end of anaconda is written with [http://www.pygtk.org/ pyGtk library]  and [http://glade.gnome.org glade interface description files] .  Using Python for the majority of the installer code allows for easy distribution of updates and the quick development of new features.  The loader, which handles loading the large main portion of anaconda, module loading, and other boot up tasks, is written in the C programming language.  Some other minor hardware-specific portions of anaconda are also written in C.  另外,bash和python脚本用于一些管理工作。


The entire Anaconda package is distributed under the GPLv2.
整个Anaconda软件包是基于GPLv2协议发布的。


== Mailing Lists ==
== Mailing Lists ==

Latest revision as of 08:47, 20 August 2013

Anaconda 是被 Fedora、Red Hat Enterprise Linux 以及 一些其他发行版 采用的系统安装程序。

During installation, a target computer's hardware is identified and configured and the appropriate file systems for the system's architecture are created. Finally, anaconda allows the user to install the operating system software on the target computer. anaconda can also upgrade existing installations of earlier versions of the same distribution. After the installation is complete, you can reboot into your installed system and continue doing customization using firstboot .

anaconda is a fairly sophisticated installer. It supports installation from local and remote sources such as CDs and DVDs, images stored on a hard drive, NFS, HTTP, and FTP. Installation can be scripted with kickstart to provide a fully unattended installation that can be duplicated on scores of machines. It can also be run over VNC on headless machines. A variety of advanced storage devices including LVM, RAID, iSCSI, and multipath are supported from the partitioning program. anaconda provides advanced debugging features such as remote logging, access to the python interactive debugger, and remote saving of exception dumps.

普通用户

如果您有有关 Anaconda 的问题,请针对您的发行版联系用户支持,比如 Fedora Forum这里 有少量有帮助的文档,但是这是针对开发者或高级用户的。

我们始终会在每次 Fedora 的发布更新这个安装器,包含一些修复或者改进之类的内容。更新 页面讲述了如何使用这些更新。

想了解每个发行版上安装器的改进?请查看为用户,重构人员以及贡献人员总结的 变更 介绍。

高级用户

如果你是一名anaconda的高级用户,你应该查看 our reference to anaconda command line options our kickstart file format documentation our reference to logging capabilities of anaconda

这里有一个和kickstart使用相关的邮件列表,你可以在这里找到邮件列表注册和邮件归档信息。这里是用来分享有关kickstart的提示和技巧最好的地方。

Distribution Builders

For information on how to customize anaconda and trees created with it, please see BuildDocProject and Customization .

开发者

Anaconda 主要是由Python 语言编写的。 The graphical front-end of anaconda is written with pyGtk library and glade interface description files . Using Python for the majority of the installer code allows for easy distribution of updates and the quick development of new features. The loader, which handles loading the large main portion of anaconda, module loading, and other boot up tasks, is written in the C programming language. Some other minor hardware-specific portions of anaconda are also written in C. 另外,bash和python脚本用于一些管理工作。

整个Anaconda软件包是基于GPLv2协议发布的。

Mailing Lists

There are two mailing lists for Anaconda. The first is the development mailing list. This list is used to discuss development issues, submit patches, and other activities related to extending anaconda. The sign up for the development list is located at anaconda development list site . Past discussions can be found in the anaconda development archives .

The second list is a user oriented list on how to create kickstart files. The kickstart list is the place to discuss automated installation issues. The sign up for the kickstart list is located at anaconda kickstart list site . Past discussions can be found in the anaconda kickstart archives .

IRC

There is also an #anaconda[?] IRC channel on http://freenode.net. This resource is for discussion of anaconda development, not for distribution customization questions.

开发向导

If you want to work on Anaconda, you should start with the Source Overview , which contains a high level discussion of the source files and what they do. Then look at the stage1 development guide and the stage2 development guide for information on how to test, debug, and develop for these two parts of anaconda.

Familiarize yourself with the tools that anaconda uses. Check out the following external reference documents:

Once you're up and running, you should check out future work items for anaconda to see what we'd like to have done.

There's also some tips on the building anaconda page describing how to compile and create a new version of the anaconda package.

The anaconda API reference is an ongoing effort to document the anaconda source code. This is far from complete, but getting better all the time.

获取源代码

The primary methods of distributing the anaconda source are source RPMs in the Fedora development tree and git. To access the current source code in in non-rpm format, you'll need to install git.

yum install git

Note that several related packages will be installed as well. After the git source code management tool has been installed, then you use anonymous git access to the Anaconda repository.

git clone git://git.fedorahosted.org/git/anaconda.git

The output may look similar to the following:

Initialized empty Git repository in /home/drkludge/anacondatest/anaconda/.git/
remote: Generating pack...
remote: Counting objects: 10861
remote: Done counting 91222 objects.
remote: Deltifying 91222 objects...
remote:  100% (91222/91222) done
Indexing 91222 objects...
100% (91222/91222) done
remote: Total 91222 (delta 68785), reused 90187 (delta 68059)
Resolving 68785 deltas...
100% (68785/68785) done
Checking 543 files out...
100% (543/543) done


If you have committer access to anaconda, then you will want to use the git+ssh access url.

git clone git+ssh://git.fedorahosted.org/git/anaconda.git


Once you've committed changes locally, you can push them with

git push

If you would just like to browse the Anaconda git repository via the web, then please use one of the following two Anaconda git URLs .

http://git.fedorahosted.org/git/anaconda.git

http://git.fedorahosted.org/git/?p=anaconda.git;a=summary

To contribute you should read our Branching policy first.

报告问题

If you are having difficulty installing, please file the problem report with your distribution vendor.

Before filing a bug, please read up on How to debug installation problems, which will tell you how to fill out useful bug reports that will help us quickly solve your problem. Also try searching bugzilla for other reports about your problem, as some bugs are often filed by several people.

CommonBugs is a list of common anaconda bug reports you may wish you check before filing a duplicate.

AnacondaBugWorkflow is a guideline to how Fedora anaconda bugs pass through bugzilla, and what all the various statuses really mean. This is only for Fedora.

Anaconda 团队

From left to right, the following people are the anaconda team and are responsible for the majority of commits. Of course, we get help from other people both from Red Hat and from the volunteer community as well.

Anaconda Team Emeritus

设计