LINUX

De Wiki Clusterlab.com.br
Revisão de 02h07min de 3 de dezembro de 2020 por Damato (discussão | contribs) (→‎Disco)
Ir para navegação Ir para pesquisar


Automation

Backup

Boot/Instalation

Kickstart

Docs

Example

  • Password generation
# mkpasswd -m sha-512 -S saltsalt -s <<< changeme
$6$saltsalt$XfDjcODbNwh18F961gnY3h57N.LVD8n2SQ1Me6kjP7kHT6Gw.3k62XiIDH0H5JIpBtLyKwQqeisy0oi3As7q3.
  • Kickstart routine
lang en_US
keyboard br-abnt2
timezone America/Sao_Paulo --isUtc
rootpw $6$saltsalt$XfDjcODbNwh18F961gnY3h57N.LVD8n2SQ1Me6kjP7kHT6Gw.3k62XiIDH0H5JIpBtLyKwQqeisy0oi3As7q3. --iscrypted
#platform x86, AMD64, or Intel EM64T
reboot
text
cdrom
bootloader --location=partition --append="rhgb quiet crashkernel=auto"
zerombr
clearpart --all --initlabel
volgroup linux --pesize=4096 pv.0 
part pv.0 --fstype=lvmpv --ondisk=sda --size=35840
logvol /boot --vgname=linux --name=boot --fstype=vfat --size=1024
logvol / --vgname=linux --name=root --fstype=ext4 --size=12228
logvol /home --vgname=linux --name=home --fstype=ext4 --size=2048
logvol swap --vgname=linux --name=swap --fstype=swap --size=8192
logvol /var --vgname=linux --name=var --fstype=ext4 --size=5120
logvol /tmp --vgname=linux --name=tmp --fstype=ext4 --size=5120
network --device=enps162 --bootproto=static --ip=10.0.0.10 --netmask=255.255.248.0 --gateway=10.0.0.1 --nameserver=10.0.0.5
auth --passalgo=sha512 --useshadow
selinux --permissive
firewall --enabled --ssh
firstboot --disable
%post
echo End of installation
echo End of installation
%end
%packages
@base
%end

Disco

FileSystem / Diretório

File

GraphViz

HAPROXY

Inventory


Kernel

LOG

Links

Memory

Monitor

ZABBIX

Network

Processos

Monitor de Threads

Security

Systemctl

Storage

SHELL

BASH

Internal

External

Time

Tools

Version Control

Web Server