Skip to content

Instantly share code, notes, and snippets.

View riodevelop's full-sized avatar

Alexander Volodyaev riodevelop

  • Russian Association of Motor Insurers
  • Moscow
View GitHub Profile
@ryesalvador
ryesalvador / website-dl
Created October 29, 2020 06:33
A Bash script to download a full website using the wget command-line utility on Linux: https://youtu.be/pxdIjhTXqok
# A simple Bash script to download a full website using wget
#! /usr/bin/env bash
website=$1
echo $website
nohup wget --limit-rate=200k --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla $website &
@sau-lanvy
sau-lanvy / kubernetes-cluster-using-kubespray.md
Last active March 21, 2025 14:12
Deploy a Production Ready Kubernetes Cluster using Kubespray with Ansible

Deployment Architecture

deployment architecture

System Configuration

  1. All kubernetes nodes: set SELINUX to permissive mode
$ vi /etc/selinux/config
SELINUX=permissive

$ setenforce 0
I did the following to install devtoolset-7:
yum install centos-release-scl
yum install devtoolset-7-gcc-c++
Every time I want gcc to default to using GCC 7, I run the following:
scl enable devtoolset-7 bash