Neuen Server aufsetzen: Unterschied zwischen den Versionen

Aus apemap Wiki
Zur Navigation springen Zur Suche springen
imported>Mkurz
imported>Mkurz
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
== Tools ==
== Tools ==
Copy the server-tools from our repository to the server e.g. to 'root/tools'
Copy the server-tools from our repository to the server e.g. to 'root/tools'
== DB Setup ==
Create apemap DB user:
<pre>
tools/createdbuser.sh
</pre>


== Apache2 ==
== Apache2 ==

Version vom 3. Oktober 2018, 09:30 Uhr

Tools

Copy the server-tools from our repository to the server e.g. to 'root/tools'

DB Setup

Create apemap DB user:

tools/createdbuser.sh

Apache2

apt-get install apache2

Tomcat

apt-get install tomcat8
apt-get install openjdk-8-jdk
  • Create a folder 'apemap' within '/var/lib/tomcat8/webapps'
  • Create a link to this folder from /var/apemap
ln -s /var/lib/tomcat8/webapps/apemap/ /var/apemap

Sync the apemap webapp from the old server to the new one:

rsync -avz -e "ssh -p SSHPORT" USER@lic.apemap.at:/var/lib/tomcat7/webapps/apemap /var/lib/tomcat8/webapps