Skip to content

Instantly share code, notes, and snippets.

View kaitoan2000's full-sized avatar
🏠
Working from home

Alder Gnu not nGu kaitoan2000

🏠
Working from home
  • Vietnam
View GitHub Profile
@kaitoan2000
kaitoan2000 / Installing Rancher and RKE
Last active March 28, 2023 15:55 — forked from kiranchavala/Installing Rancher and RKE
Installing Rancher and RKE
Installing RKE and Rancher
Ubuntu 22.04
1 vim /etc/ssh/sshd_config
2 systemctl restart sshd
3 sudo apt-get update
4 sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
5 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
6 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
@kaitoan2000
kaitoan2000 / mfschunkserver_status.sh
Created February 21, 2019 08:43 — forked from syndicut/mfschunkserver_status.sh
lizardfs monitoring scripts
#!/bin/sh
#
processName="mfschunkserver";
processCount=`pgrep -x -c ${processName}`;
if [ ${processCount} -eq 2 ]; then
echo "PASSIVE-CHECK:${processName};0;Ok";
exit 0;
else
echo "PASSIVE-CHECK:${processName};2;${processName} is NOT RUNNING";
@kaitoan2000
kaitoan2000 / install_wekan_manually.md
Created April 5, 2017 07:39 — forked from BackIsBachus/install_wekan_manually.md
A little guide on how to install Wekan manually if you don't use Docker
@kaitoan2000
kaitoan2000 / install_wekan_manually.md
Created April 5, 2017 07:39 — forked from BackIsBachus/install_wekan_manually.md
A little guide on how to install Wekan manually if you don't use Docker