Please refer to previous revisions if you know what to do.
The patch proposed was merged into kernel in 5.8 release, but no longer working as of linux 5.11
| Using a workaround method, | |
| Run: curl -X PUT localhost:9200/_cluster/settings -H "Content-Type: application/json" -d '{ "persistent": { "cluster.max_shards_per_node": "3000" } }' | |
| This will increase the shards limit to 3k. | |
| #cloud-config | |
| packages: | |
| - apt-transport-https | |
| - ca-certificates | |
| - curl | |
| - gnupg-agent | |
| - software-properties-common | |
| # Enable ipv4 forwarding, required on CIS hardened machines |
sudo apt-get update
sudo apt-get full upgrade
sudo apt install wx-common wx3.0-doc wx3.0-examples wx3.0-headers wx3.0-i18n \
cmake libwxbase3.0-dev libwxbase3.0-dev libwxgtk-media3.0-dev \
libwxgtk-media3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libwxgtk3.0-dev \
libwxgtk3.0-gtk3-dev libwxsqlite3-3.0-dev libcanberra-gtk-dev \| #!/bin/bash | |
| infile=$1 | |
| password=$2 | |
| outfile=$3 | |
| if [ -z "$infile" ] | |
| then | |
| echo "Argument not present" | |
| echo "Usage $0 [input_certificate.pfx] [passphrase] [output_certificate.pfx]" |
| # Set the command-line arguments to pass to the server. | |
| ARGS='-web.listen-address=:9100 -collector.diskstats.ignored-devices="^(ram|loop|fd)\\d+$"' | |
| # Prometheus-node-exporter supports the following options: | |
| # -collector.diskstats.ignored-devices="^(ram|loop|fd|(h|s|v|xv)d[a-z])\\d+$": Regexp of devices to ignore for diskstats. | |
| # -collector.filesystem.ignored-mount-points="^/(sys|proc|dev)($|/)": Regexp of mount points to ignore for filesystem collector. | |
| # -collector.ipvs.procfs="/proc": procfs mountpoint. | |
| # -collector.megacli.command="megacli": Command to run megacli. | |
| # -collector.ntp.server="": NTP server to use for ntp collector. | |
| # -collector.textfile.directory="": Directory to read text files with metrics from. |
| echo off | |
| :: download OpenSSL if you don't have it for the below | |
| :: Conver the p7b into PEM format | |
| openssl pkcs7 -in mydomain.p7b -print_certs -out mydomain.pem | |
| :: Combine this with the crt server certificate and private key into a PFX | |
| openssl pkcs12 -export -in mydomain.crt -inkey mydomain.key -certfile mydomain.pem -out mydomain.pfx |
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: redis-server | |
| # Required-Start: $syslog | |
| # Required-Stop: $syslog | |
| # Should-Start: $local_fs | |
| # Should-Stop: $local_fs | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: redis-server - Persistent key-value db |