Installscript

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Backups)
Zeile 25: Zeile 25:
 
./setup.sh --help
 
./setup.sh --help
 
./vdr-install-script-<VERSION>.run -- --help
 
./vdr-install-script-<VERSION>.run -- --help
 +
</pre>
 +
 +
Folgende Files sollte man sich ebenfalls anpassen:
 +
 +
<pre>
 +
bash> mcedit config/commands.conf
 +
bash> mcedit config/reccmds.conf
 +
bash> mcedit config/kernel.conf
 +
bash> mcedit examples/accounts.conf
 +
</pre>
 +
 +
Wer möchte ersetzt einiege Files:
 +
 +
<pre>
 +
bash> cp ../../channels.conf config
 +
bash> cp ../../remote.conf config
 +
</pre>
 +
 +
Damit Einstellungen bei "updates" nicht verloren gehen, sichern Sie das ganze:
 +
 +
<pre>
 +
bash> ./setup.sh
 +
</pre>
 +
 +
Über folgenden Menüpunkt:
 +
 +
<pre>
 +
<-> - Configuration
 +
    | - Load an Alternate Configuration File --->
 +
    | - Save Configuration to an Alternate File --->
 +
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 +
</pre>
 +
 +
Im folge Dialog '''/media/floppy/.config''' (ca 150Kb), einspielen über:
 +
 +
<pre>
 +
<-> - Configuration
 +
    | - Load an Alternate Configuration File --->
 +
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 +
</pre>
 +
 +
Andere Möglichkeit, packen der kompletten Scripts:
 +
 +
<pre>
 +
bash> ./setup.sh --buildrunpackage
 +
      Label (default "vdr-install-script-<VERSION>.run"):
 
</pre>
 
</pre>
  

Version vom 29. Oktober 2004, 12:18 Uhr

Inhaltsverzeichnis

Was ist das Installscript?

Das Installscript ist ein Tool, mit dem die üblichen Installationsschritte durch eine Sammlung von Scripts erledigt werden.

Vorraussetzungen

  • Entwicklungsumgebung

Manual

Anleitung

Vorab

Scripts an die Bedürfnisse anpassen

bash> sh vdr-install-script-<VERSION>.run --noexec --target /tmp/VDRtmp
bash> cd /tmp/VDRtmp/setup
bash> mcedit config/setup.conf

Eine Beschreibung finden Sie hier installscript-setup.conf.

Die meisten Optionen können unabhängig von der setup.conf auf der Komandozeile übergeben werden:

./setup.sh --help
./vdr-install-script-<VERSION>.run -- --help

Folgende Files sollte man sich ebenfalls anpassen:

bash> mcedit config/commands.conf
bash> mcedit config/reccmds.conf
bash> mcedit config/kernel.conf
bash> mcedit examples/accounts.conf

Wer möchte ersetzt einiege Files:

bash> cp ../../channels.conf config
bash> cp ../../remote.conf config

Damit Einstellungen bei "updates" nicht verloren gehen, sichern Sie das ganze:

bash> ./setup.sh

Über folgenden Menüpunkt:

<-> - Configuration
    | - Load an Alternate Configuration File --->
    | - Save Configuration to an Alternate File --->
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Im folge Dialog /media/floppy/.config (ca 150Kb), einspielen über:

<-> - Configuration
    | - Load an Alternate Configuration File --->
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Andere Möglichkeit, packen der kompletten Scripts:

bash> ./setup.sh --buildrunpackage
      Label (default "vdr-install-script-<VERSION>.run"):

to be continued...

Datei:Installscript-2.png
Download Manager
Datei:Installscript-3.png
DL Manager Sub 1
Datei:Installscript-4.png
DL Manager Sub 2
Datei:Installscript-7.png
Software Manager

Links

[1] ftp://ftp.cadsoft.de/vdr/Tools Cadsoft Ftp
[2] http://linvdr.org/download/vdr/Tools Download Spiegel
[3] http://savannah.gnu.org/projects/stow GNU Stow Projekt Homepage
[4] http://linuxwiki.de/Stow Stow Wiki