Update 2. Installation guide

This commit is contained in:
Rainer Gümpelein 2022-01-29 12:45:50 +00:00
parent 3eedb59f28
commit 2309d43e69

View file

@ -35,7 +35,6 @@ Webserver apache2 needs some modules loaded
``` ```
a2enmod perl a2enmod perl
a2enmod cgi a2enmod cgi
a2enmod rewrite a2enmod rewrite
a2dismod mpm_event a2dismod mpm_event
a2enmod mpm_prefork a2enmod mpm_prefork
@ -66,9 +65,10 @@ cd /exports/gitlab/copri4/shareeconf
gunzip -c examples/sharee_operator.sql.gz | psql -U [your-psql-user] sharee_operator gunzip -c examples/sharee_operator.sql.gz | psql -U [your-psql-user] sharee_operator
``` ```
The installation has some configuration defaults and examples. You have to edit to fit your web-reachable DNS registered shareehost.example.tld. The installation has some configuration defaults and examples. You have to edit to fit your web-reachable DNS registered sharee servers.
Operator-Instance hostnames are indicated by "shareedms-operator.example.tld" and "shareeapp-operator.example.tld". - Operator-Instance DMS hostname is identified by "shareedms-operator.example.tld"
Web-Project hostname is indicated by "shareeweb-operator.example.tld". - Operator-Instance App API hostname is identified by "shareeapp-operator.example.tld".
- Web-Project hostname is identified by "shareeweb-operator.example.tld".
``` ```
cd /exports/gitlab/copri4 cd /exports/gitlab/copri4
edit shareeapp-operator/apache/shareeapp-operator.conf edit shareeapp-operator/apache/shareeapp-operator.conf
@ -77,9 +77,9 @@ eidt shareeweb-project/apache/shareeweb-operator.conf
``` ```
The global.cfg configuration is divided into sharp-cliped values. The global.cfg configuration is divided into sharp-cliped values.
The `<operator>` block describes your operator-instance by operator-dbname `<sharee_operator>`. - The `<operator>` block describes your operator-instance by operator-dbname `<sharee_operator>`.
The `<project>` block describes your optional web-project by `<shareeweb-project>`. - The `<project>` block describes your optional web-project by `<shareeweb-project>`.
The `<merchant_ids>` block will indicate your block configuration on client request. - The `<merchant_ids>` block will indicate your block configuration on client request.
``` ```
cd /exports/gitlab/copri4/shareeconf cd /exports/gitlab/copri4/shareeconf
cp examples/apikeys.cfg . cp examples/apikeys.cfg .
@ -87,7 +87,7 @@ cp examples/mailx.cfg .
cp examples/global.cfg . cp examples/global.cfg .
``` ```
After configure your sharee apache confs, DNS, got SSLCertificate and set also the values in global.cfg you have to softlink the sharee apache conf with After configure your sharee apache confs, DNS, got SSLCertificate and set also the values in global.cfg. At last you have to softlink the sharee apache conf with:
``` ```
cd /etc/apache2/sites-enabled cd /etc/apache2/sites-enabled
ln -s /var/www/copri4/shareeapp-operator/apache/shareeapp-operator.conf ln -s /var/www/copri4/shareeapp-operator/apache/shareeapp-operator.conf