diff options
| author | Christian Rößler | 2013-05-10 16:45:08 +0200 |
|---|---|---|
| committer | Christian Rößler | 2013-05-10 16:45:08 +0200 |
| commit | 779a067ffb1751f733d4172b1015247392a8fca7 (patch) | |
| tree | d05be494b1f2a0d16fbb8a75bcdf4c3e638c1ad5 /data | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| parent | Add Server install script (diff) | |
| download | tm-scripts-779a067ffb1751f733d4172b1015247392a8fca7.tar.gz tm-scripts-779a067ffb1751f733d4172b1015247392a8fca7.tar.xz tm-scripts-779a067ffb1751f733d4172b1015247392a8fca7.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'data')
| -rwxr-xr-x | data/install_server.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/data/install_server.sh b/data/install_server.sh new file mode 100755 index 00000000..947f1688 --- /dev/null +++ b/data/install_server.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +TOOLS="git squashfs-tools rsync" # TODO: lighttpd tftpd(?) + +for tool in $TOOLS; do + echo " ###### Installiere $tool ##########" + apt-get install -y $tool +done + +# lighttpd konfigurieren +# konfig: www-root = /srv/openslx/www + +# tftpd konfigurieren +# tftp root = /srv/openslx/tftp + + +echo " ##### Klone das mltk repository ########" + +git clone git://git.openslx.org/openslx-ng/tm-scripts + +echo "....Fertig" +echo "mltk liegt nun im Verzeichnis $(pwd)/tm-scripts" +echo "Extrahieren und Erstellen der Basissystemdaten:" +echo "./mltk remote stage31 -b" +echo "./mltk remote stage32 -b" +echo "Verpacken der Daten als initramfs:" +echo "./mltk server local stage31 -e stage31" +echo "./mltk server local stage32 -e stage32" +echo "." + |
