Differences
This shows you the differences between two versions of the page.
|
ru:doc:uci [2012/11/05 06:17] vitaliy86 created |
ru:doc:uci [2013/01/07 20:21] (current) abo111 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== The UCI System ====== | + | ====== Система UCI ====== |
| - | The abbreviation //UCI// stands for //**__U__**nified **__C__**onfiguration **__I__**nterface// and is intended to //centralize// the whole configuration of your OpenWrt. Configuring should be easy, more straight forward and documented here, thereby making your life easier! (It is the successor of the nvram based configuration found in the White Russian series of OpenWrt.) | + | Сокращение //UCI// значит //**__U__**nified **__C__**onfiguration **__I__**nterface// и направлен на //централизованную// настройку OpenWrt. Настройка должна быть простой, понятной и документированной. |
| - | Many programs have their own config-file lying around somewhere, like ''/etc/network/interfaces'' or ''/etc/exports'' or ''/etc/dnsmasq.conf'' ''/etc/samba/samba.conf'' and sometimes they use slightly different syntaxes. On OpenWrt you don't have to bother with them, we only change the UCI configuration files! | + | Многие программы имеют собственный конфигурационный файл, например ''/etc/network/interfaces'' или ''/etc/exports'' или ''/etc/dnsmasq.conf'' ''/etc/samba/samba.conf'' и иногда они используют несколько отличающуюся структуру синтаксиса. В OpenWRT вам не нужно мучиться с ними, мы только заменяем файлы настроек UCI! |
| - | You //do not// have to reboot your system for a change to take place! Look further down below [[doc:uci#command.line.utility:]] how it is done. And please do not forget that quite some daemons are included in the official binaries, but they are not enabled by default! For example the cron daemon is not activated by default, thus only editing the crontab won't do anything. You have to either start the daemon with ''/etc/init.d/cron start'' or enable it with ''/etc/init.d/cron enable''. You can ''disable'', ''stop'' and ''restart'' most of them daemons, too. There are some [[doc:howto:notuci.config]] you may want to tend to. | + | Вам //не нужно// перезагружать свою систему для изменения настроек! Перейдите по ссылке [[doc:uci#command.line.utility:]],чтобы знать как это делается. И, пожалуйста, не забывайте, что некоторые демоны уже имеются в системе, но по умолчанию они отключены! К примеру, демон cron отключён по умолчанию, следовательно, редактирование crontab не даст результата. Вам необходимо либо запустить демона при помощи ''/etc/init.d/cron start'' или включить его ''/etc/init.d/cron enable''. Вы можете ''disable''(отключить), ''stop''(остановить) и ''restart''(перезапустить) большинство демонов. Возможно документация по [[doc:howto:notuci.config]] поможет вам. |
| - | ===== Common Principles ===== | + | ===== Общие принципы ===== |
| - | OpenWrt's central configuration is split into several files located in the ''/etc/config/'' directory. Each file roughly relates to the part of the system it configures. You can edit edit the configuration files with a text editor or with the command line utility program ''uci'' or through various programming APIs (like Shell, Lua and C) | + | Централизованная конфигурация OpenWrt находится в нескольких файлах, расположенных в каталоге ''/etc/config/''. Каждый файл относится к части системы, который он настраивает. Вы можете редактировать файлы конфигурации в текстовом редакторе или с помощью утилиты командной строки ''uci'', или через различные интерфейсы программирования (например, Shell, Lua и C). |
| ===== Configuration Files ===== | ===== Configuration Files ===== | ||
ru/doc/uci.1352092665.txt.bz2 · Last modified: 2012/11/05 06:17 by vitaliy86
This text is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
