Install QGIS Web Client 2 on Ubuntu 16.04
cd /opt
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
chmod +x nodesource_setup.sh
bash nodesource_setup.sh
apt install nodejs
nodejs -v
npm -v
[2020-04-22 09:30:31.592174] E [MSGID: 100009] [glusterfsd.c:800:get_volfp] 0-glusterfsd: loading volume file /var/lib/glusterd/thin-arbiter/thin-arbiter.vol failed [No such file or directory] | |
[2020-04-22 09:30:31.592380] E [MSGID: 100028] [glusterfsd.c:2746:glusterfs_volumes_init] 0-glusterfsd: Cannot reach volume specification file | |
[2020-04-22 09:30:31.841355] I [MSGID: 100030] [glusterfsd.c:2867:main] 0-/usr/sbin/glusterfsd: Started running /usr/sbin/glusterfsd version 7.5 (args: /usr/sbin/glusterfsd -N --volfile-id ta -f /var/lib/glusterd/thin-arbiter/thin-arbiter.vol --brick-port 24007 --xlator-option ta-server.transport.socket.listen-port=24007) | |
[2020-04-22 09:30:31.841457] I [glusterfsd.c:2594:daemonize] 0-glusterfs: Pid of current running process is 25897 | |
[2020-04-22 09:30:31.842262] E [MSGID: 100009] [glusterfsd.c:800:get_volfp] 0-glusterfsd: loading volume file /var/lib/glusterd/thin-arbiter/thin-arbiter.vol failed [No such file or directory] | |
[2020-04-22 09:30:31.842494] E [MSGID: 100028] [glusterfs |
# pip3 install requests | |
import base64 | |
import json | |
import requests | |
some_text = 'blah blub blah dings abc abc abc usw hehe hehe hehe hehe hehe hehe' | |
response = requests.post("https://textvis-word-cloud-v1.p.rapidapi.com/v1/textToCloud?max_words=1000", | |
headers={ |
#!/bin/bash | |
fdisk -lu | |
pvscan | |
vgscan | |
vgchange -a y | |
lvscan | |
mount /dev/template99-vg/root /mnt | |
mount --bind /dev /mnt/dev | |
mount --bind /proc /mnt/proc |
cd /opt
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
chmod +x nodesource_setup.sh
bash nodesource_setup.sh
apt install nodejs
nodejs -v
npm -v
Via https://github.com/CollaboraOnline/Docker-CODE/blob/master/scripts/install-libreoffice.sh
Einzel ausfuehren, um sicher zu gehen, dass Alles klappt:
apt update
apt dist-upgrade
apt install apt-transport-https locales-all hyphen-*
http://www.geoportal.de/gds/xml.php?uuid=7ce3e1a5-181c-4d7a-8964-bf27326458ae https://registry.gdi-de.org/id/de.bund.uba.wa.feg | |
http://www.geoportal.de/gds/xml.php?uuid=10615085-e2f0-4ee6-bb27-083353a30783 https://registry.gdi-de.org/id/de.bund.uba.bo.clc | |
http://www.geoportal.de/gds/xml.php?uuid=e082d2d5-903e-45de-8731-a6c5cead74da https://registry.gdi-de.org/id/de.bund.uba.lu.aqd | |
http://www.geoportal.de/gds/xml.php?uuid=d97e5439-df03-463f-ae6a-302299874b04 https://registry.gdi-de.org/id/de.bund.uba.pk.prtr | |
http://www.geoportal.de/gds/xml.php?uuid=357abb58-45eb-4726-951a-370cba3b3095 https://registry.gdi-de.org/id/de.bund.uba.lu.aqd | |
http://www.geoportal.de/gds/xml.php?uuid=7e18eac9-8438-4e33-98c3-fc8cf10ce3dd https://registry.gdi-de.org/id/de.bund.uba.bo.clc | |
http://www.geoportal.de/gds/xml.php?uuid=ea12ec1d-c6d2-4c14-b16e-70448821a2a6 https://registry.gdi-de.org/id/de.bund.uba.wa.stp | |
http://www.geoportal.de/gds/xml.php?uuid=52a813d2-71e7-4d1e-832b-b910a1548596 https://registry.gdi-de.org/id/de.bund.uba.bo.clc |
code_1 | 138970 | |
code_1 | [] | |
code_1 | ['https://produktcenter.bgr.de/terraCatalog/DetailResult.do?fileIdentifier=FC134123-E18F-4BCA-B455-64AEE16A3185'] | |
code_1 | ['information'] | |
code_1 | ['https://www.bgr.bund.de/DE/Themen/Sammlungen-Grundlagen/GG_geol_Info/Karten/Deutschland/GUEK200/Blatt%C3%BCbersicht_G%C3%9CK200.html'] | |
code_1 | | |
code_1 | [] | |
code_1 | ['https://produktcenter.bgr.de/terraCatalog/DetailResult.do?fileIdentifier=E05242F4-1ED7-4ABF-B7A9-682934C459FD'] | |
code_1 | ['information'] | |
code_1 | ['https://www.bgr.bund.de/DE/Themen/Sammlungen-Grundlagen/GG_geol_Info/Karten/Deutschland/GUEK200/Blatt%C3%BCbersicht_G%C3%9CK200.html'] |
# http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jdk-8u73-linux-x64.tar.gz | |
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/Oracle_Java/jdk1.8.0_73/bin/java" 1 | |
sudo update-alternatives --install "/usr/bin/javac" "javac" "/opt/Oracle_Java/jdk1.8.0_73/bin/javac" 1 | |
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/opt/Oracle_Java/jdk1.8.0_73/bin/javaws" 1 | |
sudo update-alternatives --install "/usr/bin/jar" "jar" "/opt/Oracle_Java/jdk1.8.0_73/bin/jar" 1 | |
# Alternativen-System konfigurieren: | |
sudo update-alternatives --set "java" "/opt/Oracle_Java/jdk1.8.0_73/bin/java" |
schema_root = etree.XML('''\ | |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<xsd:element name="a" type="xsd:integer"/> | |
</xsd:schema> | |
''') | |
schema = etree.XMLSchema(schema_root) | |
parser = etree.XMLParser(schema = schema) | |
root = etree.fromstring("<a>5</a>", parser) |
apt update
apt install git python python-iconvcodec lighttpd
cd /var/www
git clone https://github.com/rubys/feedvalidator.git
chown -R www-data:www-data /var/www/feedvalidator/
service lighttpd start
lighty-enable-mod cgi