Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| fr:doc:howto:luci.essentials [2016/12/22 08:02] – [LuCI sur nginx] Links to forum added tmomas | fr:doc:howto:luci.essentials [2018/03/03 20:56] – ↷ Links adapted because of a move operation bobafetthotmail | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Les bases de LuCI ====== | ||
| + | // | ||
| + | Cette procédure installe les éléments essentiels de l' | ||
| + | | {{: | ||
| + | |||
| + | ===== Installation ===== | ||
| + | - Commencez par récupérer la liste des paquets disponibles :<code bash> | ||
| + | opkg update | ||
| + | </ | ||
| + | * Pour une installation complète de LuCI //sans// support du HTTPS :<code bash> | ||
| + | opkg install luci</ | ||
| + | * Pour une installation complète de LuCI //avec// support du HTTPS (recommandée) :<code bash> | ||
| + | opkg install luci-ssl | ||
| + | </ | ||
| + | |||
| + | ==== Configuration de la langue ==== | ||
| + | L' | ||
| + | <code bash> | ||
| + | opkg list | grep luci-i18n- | ||
| + | </ | ||
| + | |||
| + | Pour installer votre langue native faîtes pour l' | ||
| + | <code bash> | ||
| + | opkg install luci-i18n-base-fr | ||
| + | </ | ||
| + | |||
| + | Pour installer votre langue native faîtes, par exemple pour les pages dédiées au firewall (dans cet exemple, c'est la langue française est configurée): | ||
| + | <code bash> | ||
| + | opkg install luci-i18n-firewall-fr | ||
| + | </ | ||
| + | |||
| + | Vous pouvez également installer des modules linguistiques en utilisant l' | ||
| + | |||
| + | |||
| + | ==== Lancement du serveur web (uHTTPd) ==== | ||
| + | Le serveur web [[http.uhttpd|uHTTPd]] est une dépendance du paquet LuCI et est automatiquement installé sur votre système OpenWRT avec LuCI (ou LuCI-ssl). Après installation, | ||
| + | <code bash> | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | À partir de maintenant, vous pouvez vous connecter à LuCI à l' | ||
| + | Pour LuCI-SSL : [[https:// | ||
| + | |||
| + | ==== Activer définitivement le serveur web (uHTTPd) ==== | ||
| + | Pour faire en sorte que le serveur web démarre automatiquement après chaque redémarrage d' | ||
| + | |||
| + | <code bash> | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | ==== Détails ==== | ||
| + | LuCI est installé en tant que "méta paquet" | ||
| + | |||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | |||
| + | In case you want to use uHTTPd for the web interface there is little configuration necessary as uHTTPd is configured with CGI to make LuCI work with the Lua interpreter. By default this is organised as follows. By default ''/ | ||
| + | |||
| + | Il est aussi possible de lancer LuCI avec Lua en tant que processus embarqué. uHTTPd suporte cela, voyez la section correspondante de l' | ||
| + | |||
| + | ===== Configuration ===== | ||
| + | |||
| + | Le serveur web par défaut uhttpd est configuré dans le fichier '' | ||
| + | L' | ||
| + | |||
| + | |||
| + | ===== LuCI sur d' | ||
| + | -> | ||
| + | |||
| + | ==== LuCI sur lighttpd ==== | ||
| + | -> | ||
| + | |||
| + | ==== LuCI sur nginx ==== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ==== LuCI sur... ==== | ||
| + | |||
| + | |||
| + | ===== Installation minimaliste hors ligne ===== | ||
| + | Téléchargez et transférez (par exemple en utilisant SCP) les paquets listés ci-dessous sur votre routeur OpenWrt sur le RAM disk dans ''/ | ||
| + | < | ||
| + | |||
| + | * liblua | ||
| + | * lua | ||
| + | * libuci-lua | ||
| + | * libubus-lua | ||
| + | * uhttpd | ||
| + | * luci-lib-ipkg | ||
| + | * luci-i18n-english | ||
| + | * luci-sgi-cgi | ||
| + | * luci-lib-core | ||
| + | * luci-lib-nixio | ||
| + | * luci-lib-sys | ||
| + | * luci-lib-web | ||
| + | * luci-proto-core | ||
| + | * luci-theme-base | ||
| + | * luci-theme-openwrt | ||
| + | * luci-mod-admin-core | ||
| + | * luci-mod-admin-full | ||
| + | |||
| + | et installez-les avec : | ||
| + | |||
| + | <code bash>for pkg in liblua lua libuci-lua libubus-lua uhttpd luci-lib-ipkg luci-i18n-english luci-sgi-cgi luci-lib-core luci-lib-nixio luci-lib-sys luci-lib-web luci-proto-core luci-theme-base luci-theme-openwrt luci-mod-admin-core luci-mod-admin-full; | ||
| + | |||
| + | En outre, les paquets suivants sont nécessaires pour de la configuration basique sans-fil : libiw, libiwinfo, libiwinfo-lua. | ||
| + | |||
| + | ===== Divers ===== | ||
| + | |||
| + | === Accès sécurisé au serveur web LuCI === | ||
| + | |||
| + | Si vous voulez configurer le serveur web LuCI pour un accès sécurisé, [[docs: | ||
| + | |||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | * LuCI has its own web-presence. Please file LuCI specific bugs at the [[http:// | ||
| + | |||
| + | |||
| + | ===== Notes ===== | ||
| + | [[docs: | ||