Neuen Server aufsetzen
(Unterschied zwischen Versionen)
				
																
				
				
								
				| Mkurz  (Diskussion | Beiträge) | Mkurz  (Diskussion | Beiträge)   (→Tomcat) | ||
| Zeile 16: | Zeile 16: | ||
| <pre> | <pre> | ||
| ln -s /var/lib/tomcat8/webapps/apemap/ /var/apemap | ln -s /var/lib/tomcat8/webapps/apemap/ /var/apemap | ||
| + | </pre> | ||
| + | Sync the apemap webapp from the old server to the new one: | ||
| + | <pre> | ||
| + | rsync -avz -e "ssh -p SSHPORT" root@lic.apemap.at:/var/lib/tomcat7/webapps/apemap /var/lib/tomcat8/webapps | ||
| </pre> | </pre> | ||
Version vom 3. Oktober 2018, 10:29 Uhr
Tools
Copy the server-tools from our repository to the server e.g. to 'root/tools'
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" root@lic.apemap.at:/var/lib/tomcat7/webapps/apemap /var/lib/tomcat8/webapps
