Docker tutorials sinhala
DevOps Red hat linux

Deploy a Docker registry server with Authentication

Before you can deploy a registry, you need to install Docker on the host. A registry is an instance of the registry image, and runs within Docker. Install docker service with bellow commands. dnf config-manager –add-repo= dnf install -y docker-ce –nobest systemctl enable –now docker dockerstatus=`systemctl status docker | grep “active (running)”` echo “Docker Service […]

 18,791 total views,  18 views today

Red hat linux

Setup SCTP In Red Hat / CentOS Linux 8

1. Install kernel-modules-extra and SCTP for the currently installed kernel; yum install kernel-modules-extra-`uname -r` yum install -y lksctp-tools lksctp-tools-devel lksctp-tools-doc 2. Add sctp to /etc/modules-load.d/* to load sctp before systemd-sysctl.service during boot. Loading sctp before systemd-sysctl.service allows the sctp sysctl.conf settings to be effective; # cat /etc/modules-load.d/sctp.conf sctp 3. sctp is blacklisted by default on […]

MySQL Red hat linux

Setting up Galera Arbitrator

Galera Arbitrator <> is a member of Percona XtraDB Cluster that is used for voting in case you have a small number of servers (usually two) and don’t want to add any more resources. Galera Arbitrator does not need a dedicated server. It can be installed on a machine running some other application. Just make sure it has […]

nagios Red hat linux

Standard Macros in Nagios

Standard macros that are available in Nagios are listed here. On-demand macros and macros for custom variables are described here. Macro Validity Although macros can be used in all commands you define, not all macros may be “valid” in a particular type of command. For example, some macros may only be valid during service notification commands, […]

Red hat linux

Firewalld Cheat Sheet

Notes and Tips To list all services firewalld is aware in an easy to read format use command firewall-cmd –get-services | tr ” ” “\n” Default firewalld service .xml files can be found under /usr/lib/firewalld/services For all commands that support the –zone= option if no zone is provided it will use the default zone. To make changes persistent add […]