From Fedora Project Wiki
m (Created page with '{{autolang}} {{header|anaconda}} <!-- требует перевода--> Anaconda is the installation program used by Fedora, Red Hat Enterprise Linux and [[Anaconda/Distros...')
 
mNo edit summary
Line 3: Line 3:
<!-- требует перевода-->
<!-- требует перевода-->


[[Anaconda]] is the installation program used by Fedora, Red Hat Enterprise Linux and [[Anaconda/Distros| some other distributions]].
[[Anaconda]] это программа установки которая применяется в Fedora, Red Hat Enterprise Linux и [[Anaconda/Distros| некоторых других дистрибутивах]].


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|  firstboot]] .
Во время установки идентифицируется и настраивается аппаратная часть целевого компьютера и создается подходящая файловая система для данной архитектуры. Наконец, анаконда позволяет пользователи установить программное обеспечение на целевой компьютер. Анаконда так же может обновить существующий дистрибутив предыдущей версии. После того как установка завершена, вы можете перезагрузить систему и продолжить настройку только что установленной системы с помощью [[FirstBoot|  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 [[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 является достаточно современным установщиком. Он позволяет выполнять установку с локальных или удаленных источников, таких как CD и DVD, образы размещенных на жестких дисках, NFS, HTTP и FTP. Может быть создан сценарий установки с помощью [[Anaconda/Kickstart|  kickstart]] для обеспечения полностью автоматической установки, позволяющей дублировать систему на ряд компьютеров. Установка может быть запущена через VNC на компьютерах без монитора. Программа разметки диска поддерживает продвинутые устройства хранения такие как LVM, RAID, iSCSI и multipath. anaconda предоставляет современные инструменты отладки, такие как удаленная авторизация и доступ к интерактивному отладчику python и удаленному сохранению дампов исключений (exception dumps).


== Users ==
== Пользователи ==


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| UserTips]], но в основном они предназначены для разработчиков и продвинутых пользователей anaconda.


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.
Время от времени мы может распространять обновления для anaconda для устранения проблем в выпусках Fedora. ВиКи страница [[Anaconda/Updates|  обновлений]] поясняет как использовать образы для обновления.


== Advanced Users ==
== Высококвалифицированные пользователи ==


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|  справку по параметрам командной строки anaconda]],[[Anaconda/Kickstart| документацию по формату kickstart файла]]  и [[Anaconda/Logging| справку по возможностям 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 ==
== Сборщики дистрибутивов ==


For information on how to customize anaconda and trees created with it, please see [[Anaconda/BuildDocProject| BuildDocProject]]  and [[Anaconda/Customization| Customization]] .
За информацией по тому как подогнать anaconda и дерево каталогов создаваемое этой программой под свои нужды, смотрите страницы [[Anaconda/BuildDocProject| BuildDocProject]]  и [[Anaconda/Customization| Customization]] .


== Developers ==
== Разработчики ==


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 libraryand [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]. Графическая оболочка anaconda написана с помощью [http://www.pygtk.org/ библиотеки pyGtk]  и [http://glade.gnome.org glade interface description files] . Использование Python в качестве основного кода установщика позволяет легко распространять обновления и быстро разрабатывать новые функции. Загрузчик, который управляет загрузкой больших, самых основных, фрагментов anaconda, загрузкой моделей и другими стартовыми задачами, написаны на языке программирования C. Некоторые незначительные фрагменты, специфичные для аппаратной части, anaconda также написаны на C. Кроме того, используются сценарии bash и python для некоторых административных задач.


The entire Anaconda package is distributed under the GPLv2.
Весь пакет Anaconda распространяется под лицензией GPLv2.


== Mailing Lists ==
== Списки рассылки ==


There are two mailing lists for Anaconda.  The first is the development mailing listThis 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 [https://listman.redhat.com/mailman/listinfo/anaconda-devel-list anaconda development list site] .  Past discussions can be found in the [https://www.redhat.com/archives/anaconda-devel-list anaconda development archives] .
Существует два списка рассылки для Anaconda.  Первый - список рассылки разработчиковЭтот список используется для обсуждения задач по разработке, утверждения патчей и другой деятельности связанной с расширение программы anaconda. Подписаться на данный список рассылки можно [https://listman.redhat.com/mailman/listinfo/anaconda-devel-list на странице списка разработчиков anaconda] .  Старые дискуссии можно найти в [https://www.redhat.com/archives/anaconda-devel-list архиве списка разработчиков anaconda] .


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 [https://www.redhat.com/mailman/listinfo/kickstart-list anaconda kickstart list site] .  Past discussions can be found in the [https://www.redhat.com/archives/kickstart-list anaconda kickstart 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 [https://www.redhat.com/mailman/listinfo/kickstart-list anaconda kickstart list site] .  Past discussions can be found in the [https://www.redhat.com/archives/kickstart-list anaconda kickstart archives] .

Revision as of 21:01, 25 June 2010

Anaconda.png


Anaconda это программа установки которая применяется в Fedora, Red Hat Enterprise Linux и некоторых других дистрибутивах.

Во время установки идентифицируется и настраивается аппаратная часть целевого компьютера и создается подходящая файловая система для данной архитектуры. Наконец, анаконда позволяет пользователи установить программное обеспечение на целевой компьютер. Анаконда так же может обновить существующий дистрибутив предыдущей версии. После того как установка завершена, вы можете перезагрузить систему и продолжить настройку только что установленной системы с помощью firstboot .

anaconda является достаточно современным установщиком. Он позволяет выполнять установку с локальных или удаленных источников, таких как CD и DVD, образы размещенных на жестких дисках, NFS, HTTP и FTP. Может быть создан сценарий установки с помощью kickstart для обеспечения полностью автоматической установки, позволяющей дублировать систему на ряд компьютеров. Установка может быть запущена через VNC на компьютерах без монитора. Программа разметки диска поддерживает продвинутые устройства хранения такие как LVM, RAID, iSCSI и multipath. anaconda предоставляет современные инструменты отладки, такие как удаленная авторизация и доступ к интерактивному отладчику python и удаленному сохранению дампов исключений (exception dumps).

Пользователи

Если вы испытываете проблемы при использовании anaconda, пожалуйста, используйте форум поддержки для вашего дистрибутива, такой как Fedora Forum. Существует несколько полезных документов для пользователей UserTips, но в основном они предназначены для разработчиков и продвинутых пользователей anaconda.

Время от времени мы может распространять обновления для anaconda для устранения проблем в выпусках Fedora. ВиКи страница обновлений поясняет как использовать образы для обновления.

Высококвалифицированные пользователи

Если вы высококвалифицированный пользователь anaconda вы можете просмотреть справку по параметрам командной строки anaconda, документацию по формату kickstart файла и справку по возможностям anaconda ведения журнала установки.

Существует список рассылки посвященный использованию kickstart. Вы можете найти список подписчиков и архив списка рассылки тут [1] . Это самое лучшее место на размещения советов и приемов по использованию kickstart.

Сборщики дистрибутивов

За информацией по тому как подогнать anaconda и дерево каталогов создаваемое этой программой под свои нужды, смотрите страницы BuildDocProject и Customization .

Разработчики

Anaconda в основном написана на языке Python. Графическая оболочка anaconda написана с помощью библиотеки pyGtk и glade interface description files . Использование Python в качестве основного кода установщика позволяет легко распространять обновления и быстро разрабатывать новые функции. Загрузчик, который управляет загрузкой больших, самых основных, фрагментов anaconda, загрузкой моделей и другими стартовыми задачами, написаны на языке программирования C. Некоторые незначительные фрагменты, специфичные для аппаратной части, anaconda также написаны на C. Кроме того, используются сценарии bash и python для некоторых административных задач.

Весь пакет Anaconda распространяется под лицензией GPLv2.

Списки рассылки

Существует два списка рассылки для Anaconda. Первый - список рассылки разработчиков. Этот список используется для обсуждения задач по разработке, утверждения патчей и другой деятельности связанной с расширение программы anaconda. Подписаться на данный список рассылки можно на странице списка разработчиков anaconda . Старые дискуссии можно найти в архиве списка разработчиков anaconda .

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 .

There is also the #anaconda IRC channel on irc.freenode.org. This resource is for discussion of anaconda development, not for distribution customization questions.

Developers' Guide

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.

Getting the Source

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


git clone 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.

Reporting Problems

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 Team

In alphabetical order, 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.

  • DavidCantrell (dcantrell): Works mostly on networking within anaconda, but is also the upstream maintainer of parted and pyparted. He has also worked on building up interest in s390 within Fedora.
  • PeterJones (pjones): Works on all things related to partitioning and boot loaders. He also deals with system startup stuff such as mkinitrd and various other programs.
  • AlesKozumplik (akozumpl): Works on the logging subsystem and LiveCD.
  • DaveLehman (dlehman): Works mostly on maintenance of anaconda, but was responsible for the encrypted device support in the file system code.
  • ChrisLumens (clumens): Works mostly on everything around kickstart but also does firstboot and general bug fixing throughout anaconda.
  • MartinSivak (msivak): Works mostly on maintenance of anaconda, but is also one of the main developers of FirstAidKit.
  • RadekVykydal (rvykydal): Works mostly on maintenance of anaconda.
  • HansdeGoede (hansg): system specific portions

Anaconda Team Emeritus

  • JeremyKatz (katzj): Comes up with all the crazy new ideas for anaconda including the livecd, partition resizing, and the new package selection interface. He also does general bug fixing throughout anaconda.
  • JoelAndresGranados (jgranado): Works mostly on maintenance of anaconda, but is also one of the main developers of FirstAidKit. Also maintainer of parted.