-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathc8_0.sh
More file actions
20 lines (18 loc) · 814 Bytes
/
c8_0.sh
File metadata and controls
20 lines (18 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
# (C) 2020 RMB Informatica - www.rmbinformatica.com
# Engenheiro responsavel: RENATO MONTEIRO BATISTA
#
# Este script prepara uma instalação do Centos8 Minimal com as ferramentas básicas
# e chaves SSH da empresa, além de desativar o SeLinux. Voltado para servidores de
# uso interno.
#
# Para maiores informações acesse https://github.com/rmbinformatica/bash-scripts
#
sed -i -e 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
sed -i -e 's/mirrorlist.centos.org/vault.centos.org/g' /etc/yum.repos.d/*
sed -i -e 's/mirror.centos.org/vault.centos.org/g' /etc/yum.repos.d/*
dnf -y install nano wget git screen epel-release unzip net-tools curl curl-devel
curl https://raw.githubusercontent.com/rmbinformatica/rmbkey/master/rmbkey.sh > rmbkey.sh
chmod +x rmbkey.sh
./rmbkey.sh
reboot