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 | |
name=$RANDOM | |
url='http://localhost:9093/api/v1/alerts' | |
echo "firing up alert $name" | |
# change url o | |
curl -XPOST $url -d "[{ | |
\"status\": \"firing\", |
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
Install OpenSSL 1.1.1 on CentOS 7 | |
# Current version | |
[root@ip-172-31-63-168 ~]# openssl version | |
OpenSSL 1.0.2k-fips 26 Jan 2017 | |
Upgrade this to 1.1.1 on CentOS 7, follow the steps to build it from source: | |
yum install -y make gcc perl-core pcre-devel wget zlib-devel |