Installation
Table of Contents
1. Installation aus den Quellen
mkdir -p ~/projects
cd ~/projects
git clone git@bitbucket.org:locr/locrmapdistributionserver.git LocrMapDistributionServer
cd LocrMapDistributionServer
Die Datei /etc/locr/lmds.conf
hat folgendes Grundgerüst und Standardwerte:
allow_insecure_ssl_connections=false
allowed_referrers=127.0.0.1,localhost,maps1.locr.com
allowed_remote_addresses=123.111.222.123
configuration_file=/var/lib/locr/lmds/configuration.xml
lmds_host_name=127.0.0.1
mail_recipient=entwicklung@locr.com
max_concurrent_user_tasks=50
port=2048
smtp_host=
smtp_password=
smtp_username=
update_to_remotes=
virtual_websocket_port=8080
virtual_websocket_secure_port=8000
websocket_handler=websocket_sharp
websocket_location=localhost
websocket_port=8080
server_check_time=
time_to_kill=
3. Update script im home-Verzeichnis erstellen
cat <<EOF >~/update_lmds.sh
#!/usr/bin/env bash
cd ${PWD}/scripts
./update_service.sh
EOF
chmod +x ~/update_lmds.sh
The Service should be available at http://localhost:2048/