Instalace na virtuálním serveru sol
do virtuálního stroje kol2
. Jako firemní doména je v ukázce example.cz
.
sol:~#
rebuild-vserver kol2 10.16.66.140
Europe/Prague
Yes
******
No
locales
— nakonfigurováno en-us cs-cz, nastaveno noneStáhl jsem obsah adresáře http://ftp.belnet.be/packages/kolab/server/release/kolab-server-2.0.3/ix86-debian3.1/
do pracovního adresáře. V tomto adresáři jsem spustil příkaz:
#
./obmtool kolab 2>&1 | tee kolab-build.log
MISSPKG: none
MISSING: none
SURPLUS: none
SUMMARY: NODE=kol2; CMD=kolab; DATE=2006-03-01/05:41:33; HASX11=; DONE
Adding symbolic link to /kolab/bin/kolab as /usr/bin/kolab
kol2:/#
/etc/init.d/kolab stop OpenPKG: stop: spamassassin, amavisd, apache, clamav, imapd, postfix, proftpd OpenPKG: stop: kolabd, sasl, openldap.kol2:/#
/kolab/etc/kolab/kolab_bootstrap -b … Please enter Hostname including Domain Name (e.g. thishost.domain.tld) [kol2]:kol2.example.cz
Proceeding with Hostname kol2.example.cz Do you want to set up (1) a master Kolab server or (2) a slave [1] (1/2):1
Please enter your Maildomain - if you do not know your mail domain use the fqdn from above [example.cz]: proceeding with Maildomain example.cz Kolab primary email addresses will be of the type user@example.cz Generating default configuration: Top level DN for Kolab [dc=example,dc=cz]:dc=kol2,dc=example,dc=cz
base_dn : dc=kol2,dc=example,dc=cz bind_dn : cn=manager,cn=internal,dc=kol2,dc=example,dc=cz Please choose a manager password [E+8Vrz98AsD1pwHN]:********
… Do you want to create CA and certificates [y] (y/n):y
Now we need to create a cerificate authority (CA) for Kolab and a server certificate. You will be prompted for a passphrase for the CA. ################################################################################ /kolab/etc/kolab/kolab_ca.sh -newca kol2.example.cz Enter organization name [Kolab]: :FIRMA example.cz
Enter organizational unit [Test-CA]:Kolab
Using subject O=FIRMA ,OU=Kolab,CN=kol2.example.cz Using dn CA certificate filename (or enter to create) Making CA certificate ... Generating a 1024 bit RSA private key .....................++++++ ..................................................++++++ writing new private key to '/kolab/etc/kolab/ca/private/cakey.pem' Enter PEM pass phrase: Verifying - Enter PEM pass phrase: phrase is too short, needs to be at least 4 chars Enter PEM pass phrase:********
CA and certificate creation complete. You can install /kolab/etc/kolab/ca/cacert.pem on your clients to allow them to verify the validity of your server certificates. kolab is now ready to run! please run '/kolab/bin/openpkg rc all start' Use login=manager and passwd=******** when you log into the webinterface https://kol2.example.cz/admin ! kol2:/#
#
/etc/init.d/kolab stop OpenPKG: stop: spamassassin, amavisd, apache, clamav, imapd, postfix, proftpd OpenPKG: stop: kolabd, sasl, openldap.#
/etc/init.d/kolab start OpenPKG: start: openpkg, openldap, sasl, spamassassin, amavisd:FAILED openpkg:rc:WARNING: /kolab:amavisd:%start: failed with return code 25 openpkg:rc:NOTICE: output from stdout/stderr is following: +---------------------------------------------------------------------- | The value of variable $myhostname is "kol2", but should have been | a fully qualified domain name; perhaps uname(3) did not provide such. | You must explicitly assign a FQDN of this host to variable $myhostname | in amavisd.conf, or fix what uname(3) provides as a host's network name! +---------------------------------------------------------------------- OpenPKG: start: apache, clamav, imapd, postfix, proftpd, kolabd.