This file contains hidden or 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 | |
########################### | |
# Information | |
# Host 1 (node1): 172.22.4.101 - admin | |
# host 2 (node2): 172.22.4.102 | |
# host 3 (node3): 172.22.4.103 | |
# host 4 (node4): 172.22.4.104 | |
# host 5 (node5): 172.22.4.105 | |
########################### |
This file contains hidden or 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 | |
########################### | |
# Information | |
# Host 1 (node1): 172.22.4.101 - admin | |
# host 2 (node2): 172.22.4.102 | |
# host 3 (node3): 172.22.4.103 | |
# host 4 (node4): 172.22.4.104 | |
# host 5 (node5): 172.22.4.105 | |
########################### |
This file contains hidden or 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 | |
################# README ################# | |
# Please run this scripts on admin node! # | |
# Please set whether all SSH keys are removed from all HOSTs | |
ssh_remove=false | |
########################################## | |
# https://www.flamingbytes.com/posts/uninstall-ceph/ | |
################################################# | |
# Variable targetDisk should be configured. # |
This file contains hidden or 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 | |
# Host: CentOS 8 (192.168.8.119) | |
# Client: Windows 10 Powershell (192.168.8.120) | |
# ssh -Y [email protected] | |
# Before Begin in Client(Windows) | |
# 1. Install VcXsrv (https://sourceforge.net/projects/vcxsrv/) | |
# 2. Execute Xlaunch.exe | |
# Check {Multiple Windows and Display number = -1, Start no client, {Clipboard, Primary Selection, Native opengl, Additional parameter: "-ac"} -> Save Configuration} |
This file contains hidden or 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 | |
dnf update -y &&\ | |
dnf install -y kernel-devel kernel-header* make gcc elfutils-libelf-devel | |
echo "Installing Docker" | |
yum install -y yum-utils telnet &&\ | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo &&\ | |
yum install -y --allowerasing docker-ce docker-ce-cli containerd.io docker-compose-plugin &&\ | |
systemctl enable docker.service &&\ | |
systemctl start docker.service |
This file contains hidden or 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 | |
NC='\033[0m' # No Color | |
YELLOW='\033[1;33m' | |
cephfs_ip="10.0.2.15" # ceph mon dump | |
clusterID="e952c52a-f18f-11ec-bb41-08002716126b" # ceph mon dump | |
cephfs_user_key="AQAfDrJibQtyARAAp3DxKWUP2LBCPbJUe9BUDg==" # ceph auth get-or-create client.cephfs mon 'allow r' osd 'allow rwx pool=kubernetes' | |
cephfs_admin_key="AQDzDbJiuBawARAA2NBP5/wgoaadOYGWIrUFFA==" # ceph auth get client.admin | |
sudo dnf update -y &&\ |
This file contains hidden or 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 | |
NC='\033[0m' # No Color | |
YELLOW='\033[1;33m' | |
sudo dnf update -y &&\ | |
sudo dnf install -y kernel-devel kernel-header* make gcc elfutils-libelf-devel | |
printf "${YELLOW}Installing Docker${NC}\n" | |
sudo yum install -y yum-utils telnet &&\ | |
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo &&\ |
This file contains hidden or 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 | |
dnf update -y &&\ | |
dnf install -y kernel-devel kernel-header* make gcc elfutils-libelf-devel | |
echo "Installing Docker" | |
yum install -y yum-utils telnet &&\ | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo &&\ | |
yum install -y --allowerasing docker-ce docker-ce-cli containerd.io docker-compose-plugin &&\ | |
systemctl enable docker.service &&\ |
This file contains hidden or 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
dnf update -y &&\ | |
dnf install -y kernel-devel kernel-header* make gcc elfutils-libelf-devel | |
echo "Installing Docker" | |
yum install -y yum-utils telnet &&\ | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo &&\ | |
yum install -y --allowerasing docker-ce docker-ce-cli containerd.io docker-compose-plugin &&\ | |
systemctl enable docker.service &&\ | |
systemctl start docker.service | |
echo "Docker install complete" |
This file contains hidden or 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 | |
dnf update -y &&\ | |
dnf install -y kernel-devel kernel-header* make gcc elfutils-libelf-devel | |
echo "Installing Docker" | |
yum install -y yum-utils telnet &&\ | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo &&\ | |
yum install -y --allowerasing docker-ce docker-ce-cli containerd.io docker-compose-plugin &&\ | |
systemctl start docker |