Install Centos
Mirror repository
https://mirror.yandex.ru/centos/
Repository
yum/dnf install epel-release
Packet
yum/dnf wget vim htop tmux
No root ssh
echo "PermitRootLogin no" >> /etc/ssh/sshd_config
Change host name
hostnamectl set-hostname
Set default zone
firewall-cmd --set-default=internal
Disable selinux /etc/sysconfig/selinux
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
systemctl reboot
Disable IPV6
echo net.ipv6.conf.all.disable_ipv6 = 1 >> /etc/sysctl.conf
echo net.ipv6.conf.default.disable_ipv6 = 1 >> /etc/sysctl.conf
Activation the web console
systemctl enable --now cockpit.socket
https://downloads.mariadb.org/MariaDB/repositories/#mirror=netinch
yum/dnf install MariaDB-backup MariaDB-server MariaDB-client
/etc/sysctl.conf
Maximum of objects inotify per user
fs.inotify.max_user_instances=
Maximum of watch files and directories per object inotify
fs.inotify.max_user_watches=
Maximum of events in queued
fs.inotify.max_queued_events=
Maximum of open descriptors
fs.file-max=
/etc/security/limits.conf /etc/security/
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
Exclude packages /etc/yum.repos.d/
Exclude=