Skip to content

Instantly share code, notes, and snippets.

@kedarvj
kedarvj / build upgrade install openssl 1.1.1 on CentOS7
Created May 16, 2023 10:02
Build / upgrade / Install OpenSSL 1.1.1 on CentOS 7
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
@kedarvj
kedarvj / alert.sh
Created March 6, 2020 13:11 — forked from cherti/alert.sh
send a dummy alert to prometheus-alertmanager
#!/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\",