Short version: See docs.microsoft.com link below.
sudo apt-get update
sudo apt-get install linux-image-virtual linux-tools-virtual linux-cloud-tools-virtual
#!/bin/sh | |
movefrom='micronssd' | |
moveto='wdredpro' | |
for vm in $(qm list | awk '{print $1}' | grep -Eo '[0-9]{1,3}'); | |
do | |
for storage in $(qm config $vm | grep $movefrom: | awk '{print $1}' | grep -Eo '[a-z0-9]+'); | |
do | |
echo Moving VM$vm Storage $storage |
version: '3' | |
networks: | |
mynetwork: | |
ipam: | |
config: | |
- subnet: 172.20.0.0/24 | |
services: | |
nodered1: | |
image: nodered/node-red-docker | |
ports: |
sudo vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT
video=hyperv_fb:[the resolution you want]
, for example: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
sudo update-grub
sudo reboot
This service will use the same remote name you specified when using rclone config create
. If you haven't done that yet, do so now.
Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote>
by default.
mkdir ~/mnt/dropbox
Using the REST API to upload a file to WordPress is
quite simple. All you need is to send the file in a
POST
-Request to the wp/v2/media
route.
There are two ways of sending a file. The first method simply sends the file in the body of the request. The following PHP script shows the basic principle:
In this I will shortly describe how to setup
I used a docker-compose.yml
file although I only created one container with no other dependencies.
This works with a regular Dockerfile
as well.
# | |
# Sources: | |
# http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites | |
# http://codex.wordpress.org/Output_Compression | |
# http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086 | |
# http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/ | |
# http://gtmetrix.com/configure-entity-tags-etags.html | |
# http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014 | |
# http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress | |
# https://andreashecht-blog.de/4183/ |
(Assuming a Debian 8-like system)
Install prometheus-node-exporter
$ sudo apt update && sudo apt install prometheus-node-exporter
Configure prometheus-node-exporter
to expose metrics only to localhost
, not on to all networks. Modify file /etc/default/prometheus-node-exporter
:
# Set the command-line arguments to pass to the server.
http://timestamp.globalsign.com/scripts/timstamp.dll | |
http://timestamp.globalsign.com/?signature=sha2 | |
http://rfc3161timestamp.globalsign.com/advanced | |
https://timestamp.geotrust.com/tsa | |
http://timestamp.sectigo.com | |
http://timestamp.wosign.com | |
http://tsa.startssl.com/rfc3161 | |
http://time.certum.pl | |
http://timestamp.digicert.com | |
https://freetsa.org |