Hey Ganja,
Kann ich bei der instalation vielleicht das lxoffice.conf benutzen, so das kivitendo.conf als default
Prinzipiell schon. Ich rate jedoch davon ab. Da kommt man sehr schnell mal durcheinander.
Es folgt ein Auszug meiner Wissen-DB:
Schnellanleitung Installation Kivitendo ERP
Kivitendo holen:
cd
git clone https://github.com/kivitendo/kivitendo-erp.git
ODER
wget ... && tar xzvf kivitendo.tar
Pakete installieren:
apt-get install apache2 libarchive-zip-perl libclone-perl libconfig-std-perl libdatetime-perl libdbd-pg-perl libdbi-perl libemail-address-perl libemail-mime-perl libfcgi-perl libjson-perl liblist-moreutils-perl libnet-smtp-ssl-perl libnet-sslglue-perl libparams-validate-perl libpdf-api2-perl librose-db-object-perl librose-db-perl librose-object-perl libsort-naturally-perl libstring-shellquote-perl libtemplate-perl libtext-csv-xs-perl libtext-iconv-perl liburi-perl libxml-writer-perl libyaml-perl postgresql libapache2-mod-fcgid
cpan
install FCGI
exit
Latex installieren:
apt-get install texlive-base-bin texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra texlive-lang-german texlive-generic-extra texlive-latex-extra texlive-generic-extra texlive-lang-german
Kivitendo Config:
cp config/kivitendo.conf.default config/kivitendo.conf && emacs config/kivitendo.conf
admin_password (Zeile 5) und
DB password (Zeile 35) eingeben.
Besitzer setzen:
Wechsele ins Installationsverzeichnis (in diesem Beispiel /root)
cd /root
chown -R www-data: kivitendo*
Apache2 anpassen:
Datei erzeugen.
emacs /etc/apache2/conf.d/kivitendo.apache2.conf
Inhalt:
AddHandler fcgid-script .fpl
AliasMatch ^/kivi/[^/]+\.pl /root/kivitendo-erp/dispatcher.fpl
Alias /kivi /root/kivitendo-erp/
<Directory /root/kivitendo-erp>
AllowOverride All
Options ExecCGI Includes FollowSymlinks
DirectoryIndex login.pl
AddDefaultCharset UTF-8
Order Allow,Deny
Allow from All
</Directory>
<Directory /root/kivitendo-erp/users>
Order Deny,Allow
Deny from All
</Directory>
Kivitendo wurde in diesem Beispiel unter root gespeichert und ist unter
http://localhost/kivi
erreichbar.
Postgresql einrichten: (Postgresql-Version beachten)
emacs /etc/postgresql/8.4/main/pg_hba.conf
Folgenden Inhalt unten einfügen
local all kivitendo password
host all kivitendo 127.0.0.1 255.255.255.255 password
Pgsql installieren und PostgresPassword ändern:
su postgres
createuser -d -P kivitendo
psql template1
create language 'plpgsql';
alter role postgres with password 'kivitendopasswd';
\q
Fast fertig...
Unter
http://localhost/kivi/admin.pl
auth_db anlegen
FirmenDB anlegen -> Benutzer anlegen -> Gruppe zuordnen
Fertig.
Installationsdauer: 2min
VG Ronny