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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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={ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
OlderNewer