LINUX: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
Linha 12: Linha 12:
*[https://access.redhat.com/labs/kickstartconfig/ Kickstart Generator]
*[https://access.redhat.com/labs/kickstartconfig/ Kickstart Generator]
==Example==
==Example==
*Password generation
<syntaxhighlight lang=bash>
mkpasswd -m sha-512 -S saltsalt -s <<< changeme
</syntaxhighlight>
*Kickstart routine
<pre>
<pre>
lang en_US
lang en_US

Edição das 17h04min de 15 de janeiro de 2020


Automation

Backup

Boot/Instalation

Example

  • Password generation
 mkpasswd -m sha-512 -S saltsalt -s <<< changeme
  • 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

Network

Kernel

File

Storage

SHELL

BASH

Internal

External


LOG

Monitor

ZABBIX

Memory

Processos

Monitor de Threads

Security

Tools

Version Control

Web Server

Systemctl

GraphViz

Inventory

Links

Time