summaryrefslogtreecommitdiffstats
path: root/data/install_server.sh
blob: 947f1688d7b73ffbccb3a419f2298a2f5ce335e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 "."