PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [Kolab]Installationsort



Potato
28.06.05, 10:17
Moin moin,

ich habe eine kleine Frage zwischendurch.

Ich möchte einen KolabServer (Groupware Server) installieren.
Auf einem Testsystem lief alles einwandfrei (installation, konfiguration, Clients usw.) und nun soll Kolab auf einem Produktiv-Server in Betrieb genommen werden.

Nun die Frage:
Kolab soll nicht in /kolab, sondern in /home/kolab installiert
werden, da /home auf einem Raid1 liegt. Jedoch ist das Installationsscript der Meinung es nur unter /kolab installieren zu wollen.

Hier mal das Script:


##
%common
@hasfeature TAGFMT || exit # require obmtool to support TAGFMT
TMPDIR=/var/tmp # large tmp with 300MB space
URL="" # used for non-ftp://ftp.openpkg.org/ packages

%kolab
echo "---- boot/build ${NODE} %${CMD} ----"
kolab_version="2.0";
PREFIX=/${CMD};
loc='./' # '' (empty) for ftp.openpkg.org, '=' for URL, './' for CWD or absolute path
plusloc='./'
altloc='./'
with_genuine=no

# Check for presence of libgcrypt in the host system
libgcrypt_pfx=`eval libgcrypt-config --prefix 2>/dev/null`;
if test -n "$libgcrypt_pfx" ; then
echo "libgcrypt installation in $libgcrypt_pfx detected";
echo "Please deinstall it or move libgcrypt-config away";
echo "while building Kolab"
exit -1;
fi

# start from scratch or upgrade within 2.0.x
@install ${loc}openpkg-2.2.3-2.2.3 \
--tag="kolab" \
--prefix="${PREFIX}" \
--user="${CMD}" --group="${CMD}" \
--muid="19414" --ruid="19415" --nuid="19416" \
--mgid="19414" --rgid="19415" --ngid="19416"
@install ${loc}make-3.80-2.2.0
@install ${loc}binutils-2.14-2.2.0
@install ${loc}gcc-3.4.2-2.2.0
@install ${loc}fsl-1.5.0-2.2.0
[...gekürzt...]
%dump
echo "PRG = \"$PRG\""
echo "CMD = \"$CMD\""
echo "URL = \"$URL\""
echo "TRACK = \"$TRACK\""
echo "EGREP = \"$EGREP\""
echo "CHECKONLY = \"$CHECKONLY\""
echo "ERASESURPLUS = \"$ERASESURPLUS\""
echo "HASX11 = \"$HASX11\""
echo "PREFIX = \"${PREFIX}\""
echo "ARCH = \"${ARCH}\""
echo "OS = \"${OS}\""
echo "TAG = \"${TAG}\""
echo "TMPDIR=\"${TMPDIR}\""


Meiner Meinung holt er sich den Pfad aus:

PREFIX=/${CMD};
aber was will er mit:

--prefix="${PREFIX}" \
--user="${CMD}" --group="${CMD}" \
--muid="19414" --ruid="19415" --nuid="19416"???

Wo holt er sich die Variable kolab her, um es nach /kolab zu installieren?
Was macht er mit der Variable ${cmd} für den User wo bei Proefix die gleiche steht?

Mag jemand helfen?

Liebe Grüße
Potato

Terran Marine
28.06.05, 19:14
Mag jemand helfen?


Nicht schön aber einfach :

Nenn Softlink von /kolab auf /home/kolab setzen.

Grüße
Terran