* [Comm] web kiosk livecd @ 2012-01-24 22:34 Michael Shigorin 2012-01-25 4:25 ` Eugene Prokopiev 0 siblings, 1 reply; 5+ messages in thread From: Michael Shigorin @ 2012-01-24 22:34 UTC (permalink / raw) To: community Здравствуйте. Вдруг кому пригодится -- сделал набросок livecd для поднятия веб-киосков, 32-битный образ на базе t6/branch доступен здесь: http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/live-webkiosk-t6_20120125-i586.iso При загрузке пытается сконфигурировать eth0 по DHCP, далее запустить графику и firefox в киоск-режиме, которому подсовывается index.html из корневого каталога образа -- по умолчанию там переброска на http://www.altlinux.org/, можно поправить isomaster или в mkimage-profiles (предложения касательно желаемого транспорта URL опять же приветствуются). Должно быть весьма несложно доработать m-p таким образом, чтобы изменение стартовой страницы можно было сделать простой пересборкой, передав дополнительную переменную. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] web kiosk livecd 2012-01-24 22:34 [Comm] web kiosk livecd Michael Shigorin @ 2012-01-25 4:25 ` Eugene Prokopiev 2012-01-25 7:20 ` Michael Shigorin 0 siblings, 1 reply; 5+ messages in thread From: Eugene Prokopiev @ 2012-01-25 4:25 UTC (permalink / raw) To: shigorin, ALT Linux Community general discussions 25 января 2012 г. 2:34 пользователь Michael Shigorin <mike@osdn.org.ua> написал: > Вдруг кому пригодится -- сделал набросок livecd для поднятия > веб-киосков, 32-битный образ на базе t6/branch доступен здесь: > http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/live-webkiosk-t6_20120125-i586.iso спасибо, но make что ? ;) > При загрузке пытается сконфигурировать eth0 по DHCP, далее > запустить графику и firefox в киоск-режиме, которому > подсовывается index.html из корневого каталога образа -- > по умолчанию там переброска на http://www.altlinux.org/, > можно поправить isomaster или в mkimage-profiles (предложения > касательно желаемого транспорта URL опять же приветствуются). RFC 2132 - option 72 (Default World Wide Web (WWW) Server) ? > Должно быть весьма несложно доработать m-p таким образом, > чтобы изменение стартовой страницы можно было сделать простой > пересборкой, передав дополнительную переменную. Нет, изменение стартовой страницы пересборкой - это слишком -- С уважением, Прокопьев Евгений ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] web kiosk livecd 2012-01-25 4:25 ` Eugene Prokopiev @ 2012-01-25 7:20 ` Michael Shigorin 2012-01-25 11:08 ` Соломонов С. Н 0 siblings, 1 reply; 5+ messages in thread From: Michael Shigorin @ 2012-01-25 7:20 UTC (permalink / raw) To: ALT Linux Community general discussions [-- Attachment #1: Type: text/plain, Size: 1071 bytes --] On Wed, Jan 25, 2012 at 07:25:26AM +0300, Eugene Prokopiev wrote: > > Вдруг кому пригодится -- сделал набросок livecd для поднятия > > веб-киосков, 32-битный образ на базе t6/branch доступен здесь: > > http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/live-webkiosk-t6_20120125-i586.iso > спасибо, но make что ? ;) make live-webkiosk.iso, натурально :) (прилагается) > > (предложения касательно желаемого транспорта URL > > опять же приветствуются). > RFC 2132 - option 72 (Default World Wide Web (WWW) Server) ? Ага, спасибо. В сторону DHCP и думал, но не искал ещё, есть ли что готовенькое или придётся piggyback'ать. > > Должно быть весьма несложно доработать m-p таким образом, > > чтобы изменение стартовой страницы можно было сделать простой > > пересборкой, передав дополнительную переменную. > Нет, изменение стартовой страницы пересборкой - это слишком Смотря для каких целей, хотя для многих должно хватать правки файлика в его корне. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: 0001-conf.d-live.mk-factor-commons-into-distro-.live-x11.patch --] [-- Type: text/plain, Size: 1553 bytes --] >From aed27ce333c74c680280e8c64efbc6b199c55bc0 Mon Sep 17 00:00:00 2001 From: Michael Shigorin <mike@altlinux.org> Date: Tue, 24 Jan 2012 23:58:31 +0200 Subject: [PATCH 1/2] conf.d/live.mk: factor commons into distro/.live-x11 It's rather unexpected that someone would do an X11 LiveCD without user autologin -- but even if that's the case, then this waypoint is just not used for it. --- conf.d/live.mk | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf.d/live.mk b/conf.d/live.mk index bc18033..7de9c39 100644 --- a/conf.d/live.mk +++ b/conf.d/live.mk @@ -6,6 +6,8 @@ distro/rescue: distro/.base use/rescue use/syslinux/ui-menu distro/live: distro/.base use/live/base use/power/acpi/cpufreq distro/live-systemd: distro/.base use/live/base use/systemd +distro/.live-x11: distro/live use/live/autologin use/power/acpi/button + distro/live-isomd5sum: distro/.base use/live/base use/isomd5sum @$(call add,LIVE_PACKAGES,livecd-isomd5sum) @@ -24,11 +26,11 @@ distro/live-builder: distro/.base use/repo/main \ distro/live-install: distro/.base use/live/base use/syslinux/localboot.cfg @$(call add,LIVE_PACKAGES,live-install) -distro/live-icewm: distro/live use/live/autologin +distro/live-icewm: distro/.live-x11 @$(call add,LIVE_LISTS, \ $(call tags,(base || desktop) && (live || network || icewm))) -distro/live-razorqt: distro/live use/live/autologin +distro/live-razorqt: distro/.live-x11 @$(call add,LIVE_LISTS, \ $(call tags,(base || desktop) && (live || network || razorqt))) -- 1.7.8.4 [-- Attachment #3: 0002-conf.d-live.mk-initial-live-webkiosk.patch --] [-- Type: text/plain, Size: 1634 bytes --] >From bece6a57b020ba4e1dc35bb2fcf326af9ebf5c8c Mon Sep 17 00:00:00 2001 From: Michael Shigorin <mike@altlinux.org> Date: Wed, 25 Jan 2012 00:01:00 +0200 Subject: [PATCH 2/2] conf.d/live.mk: initial live-webkiosk This one starts up a Firefox session in kiosk mode (there are several extensions, I find hsv@'s one preferable) and tries to browse /image/index.html which corresponds to index.html in the image root (could be edited by means of e.g. isomaster). --- conf.d/live.mk | 4 ++++ features.in/live/stage1/files/index.html | 10 ++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 features.in/live/stage1/files/index.html diff --git a/conf.d/live.mk b/conf.d/live.mk index 7de9c39..7e7041d 100644 --- a/conf.d/live.mk +++ b/conf.d/live.mk @@ -39,4 +39,8 @@ distro/live-rescue: distro/live-icewm @$(call add,LIVE_LISTS, \ $(call tags,(base || extra) && (archive || rescue || network))) +distro/live-webkiosk: distro/.live-x11 + @$(call add,LIVE_PACKAGES,livecd-webkiosk) + @$(call add,LIVE_PACKAGES,fonts-ttf-dejavu fonts-ttf-droid) + endif diff --git a/features.in/live/stage1/files/index.html b/features.in/live/stage1/files/index.html new file mode 100644 index 0000000..33181ca --- /dev/null +++ b/features.in/live/stage1/files/index.html @@ -0,0 +1,10 @@ +<html> +<head> +<meta http-equiv="refresh" content="3;url=http://www.altlinux.org/"> +<title>Welcome to ALT Linux!</title> +</head> +<body> +<h1>Welcome to ALT Linux!</h1> +<p>You will be redirected to <a href="http://www.altlinux.org/">the home page</a> shortly.</p> +</body> +<html> -- 1.7.8.4 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] web kiosk livecd 2012-01-25 7:20 ` Michael Shigorin @ 2012-01-25 11:08 ` Соломонов С. Н 2012-01-25 12:31 ` Michael Shigorin 0 siblings, 1 reply; 5+ messages in thread From: Соломонов С. Н @ 2012-01-25 11:08 UTC (permalink / raw) To: ALT Linux Community general discussions Может немного не в тему, но как сделано в netbook-live через live.hooks весьма удобно для начальных настроек пользователя. Но то для флешки, а тут, как я понимаю, для PXE. > On Wed, Jan 25, 2012 at 07:25:26AM +0300, Eugene Prokopiev wrote: > > > Вдруг кому пригодится -- сделал набросок livecd для поднятия > > > веб-киосков, 32-битный образ на базе t6/branch доступен здесь: > > > http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles > > > /live-webkiosk-t6_20120125-i586.iso > > > > спасибо, но make что ? ;) > > make live-webkiosk.iso, натурально :) (прилагается) > > > > (предложения касательно желаемого транспорта URL > > > опять же приветствуются). > > > > RFC 2132 - option 72 (Default World Wide Web (WWW) Server) ? > > Ага, спасибо. В сторону DHCP и думал, но не искал ещё, > есть ли что готовенькое или придётся piggyback'ать. > > > > Должно быть весьма несложно доработать m-p таким образом, > > > чтобы изменение стартовой страницы можно было сделать простой > > > пересборкой, передав дополнительную переменную. > > > > Нет, изменение стартовой страницы пересборкой - это слишком > > Смотря для каких целей, хотя для многих должно хватать > правки файлика в его корне. -- Соломонов Сергей Николаевич ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] web kiosk livecd 2012-01-25 11:08 ` Соломонов С. Н @ 2012-01-25 12:31 ` Michael Shigorin 0 siblings, 0 replies; 5+ messages in thread From: Michael Shigorin @ 2012-01-25 12:31 UTC (permalink / raw) To: ALT Linux Community general discussions On Wed, Jan 25, 2012 at 03:08:29PM +0400, Соломонов С. Н wrote: > Может немного не в тему, но как сделано в netbook-live через > live.hooks весьма удобно для начальных настроек пользователя. Спасибо. > Но то для флешки, а тут, как я понимаю, для PXE. Эти образы почти гибридные (допинаю принять правки в propagator). DHCP упоминался не к сетевой загрузке, а к конфигурации сети для работы через неё после локальной загрузки с исошки. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-25 12:31 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-01-24 22:34 [Comm] web kiosk livecd Michael Shigorin 2012-01-25 4:25 ` Eugene Prokopiev 2012-01-25 7:20 ` Michael Shigorin 2012-01-25 11:08 ` Соломонов С. Н 2012-01-25 12:31 ` Michael Shigorin
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git