LINUX: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
 
(32 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 8: Linha 8:
*[[Limpeza|Limpeza]]
*[[Limpeza|Limpeza]]
*[[Backup whole partition|Backup whole partition]]
*[[Backup whole partition|Backup whole partition]]
=Boot/Instalation=
=Boot/Instalation=
==Kickstart==
==Kickstart==
Linha 56: Linha 58:
</pre>
</pre>


=Disco=
=CLOUD=
==AZURE==
*[[Azure Key Vault|Key Vault]]
*[[ACR Data|ACR Data]]
 
=Desktop=
*[[Disable Animations|Disable Animations]]
*[[Disable Desktop environment|Disable Desktop environment]]
 
=Disk=
*[[MULTIPATH|MULTIPATH]]
*[[MULTIPATH|MULTIPATH]]
*[[ASM|ASM]]
*[[ASM|ASM]]
*[[SCAN SCSI|SCAN SCSI]]
*[[SCAN SCSI|SCAN SCSI]]
*[[IO Monitor|IO Monitor]]
*[[IO Monitor|IO Monitor]]
*[[BURN OPTICAL MEDIA|BURN OPTICAL MEDIA]]
=Excel=
*[[Expand sheet row|Expand sheet row]]
=FileSystem / Diretório=
=FileSystem / Diretório=
*[[Dir Stat to CSV|Dir Stat to CSV(Windows)]]
*[[Get Deleted File | Get Deleted File in Use]]
*[[Tamanho de arquivo|Tamanho de arquivo]]
*[[Tamanho de arquivo|Tamanho de arquivo]]
*[[Tamanho dos diretórios|Tamanho dos diretórios]]
*[[Tamanho dos diretórios|Tamanho dos diretórios]]
*[[Root PV resize|Root PV resize]]
=File=
=File=
*[[Troca String|Troca String]]
*[[Troca String|Troca String]]
*[[TrocaID|TrocaID]]
*[[TrocaID|TrocaID]]
*[[Convert File|Convert File]]
*[[vim|vim]]
=GraphViz=
=GraphViz=
*[[CSV to GRAPH|CSV to GRAPH]]
*[[CSV to GRAPH|CSV to GRAPH]]
=HAPROXY=
*[https://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.html True Zero Downtime HAProxy Reloads]
*[[HAproxy softreload|HAproxy softreload]]
*[[HAPROXY CFG TO CSV|HAPROXY CFG TO CSV]]
=Inventory=
=Inventory=
*[[Sockets vs Process|Sockets vs Process]]
*[[Sockets vs Process|Sockets vs Process]]
 
=JSON=
*[[JQ|JQ]]


=Kernel=
=Kernel=
Linha 81: Linha 110:
=Links=
=Links=
*https://funcoeszz.net/
*https://funcoeszz.net/
*https://tldp.org/


=Memory=
=Memory=
Linha 105: Linha 135:
*[[PROC_TCP|PROC_TCP]]
*[[PROC_TCP|PROC_TCP]]
*[[TC|TC]]
*[[TC|TC]]
*[[ufw|ufw]]
*[[nmap|nmap]]
*[[nmap|nmap]]
==VRRP==
*[[KeepAlive|KeepAlive]]
=[[Package Manager|Package Manager]]=
=Processos=
=Processos=
[[Monitor de Threads|Monitor de Threads]]
[[Monitor de Threads|Monitor de Threads]]
=Security=
=Security=
*[[OpenSSL|OpenSSL]]
*[[OpenSSL|OpenSSL]]
Linha 113: Linha 149:
*[[KEEPASS|KEEPASS]]
*[[KEEPASS|KEEPASS]]
*[[Password Enforcing|Password Enforcing]]
*[[Password Enforcing|Password Enforcing]]
*[[Password Generator|Password Generator]]
*[[InSecurity|InSecurity]]
*[[InSecurity|InSecurity]]
*[[Stunnel|Stunnel]]
*[[Encrypt OS Disk|Encrypt OS Disk]]
*[[Encrypt File|Encrypt File]]


=Systemctl=
=Systemctl=
*[[Disable Desktop environment|Disable Desktop environment]]
*[[Auto restart by log event|Auto restart by log event]]
 
=Storage=
=Storage=
*[[Get WWN|Get WWN]]
*[[Get WWN|Get WWN]]
=SHELL=
=SHELL=
==[https://linux.die.net/man/1/bash BASH]==
==[https://linux.die.net/man/1/bash BASH]==
*[https://tldp.org/ TLDP Advanced Bash-Scripting Guide]
*[[My .bashrc|My .bashrc]]
===Internal===
===Internal===
*[[COPROC|COPROC]]
*[[COPROC|COPROC]]
Linha 127: Linha 170:
*[https://catonmat.net/bash-one-liners-explained-part-two Bash One-Liners Explained, Part II: Working with strings]
*[https://catonmat.net/bash-one-liners-explained-part-two Bash One-Liners Explained, Part II: Working with strings]
*[https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html  Shell Parameter Expansion]
*[https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html  Shell Parameter Expansion]
==Remote Shell==
*[[Multithread Remote SSH with Python|Multithread Remote SSH with Python]]


=Time=
=Time=
*[[TZDATA|TZDATA]]
*[[TZDATA|TZDATA]]
*[[DATE Linux|DATE]]
=[[Linux Tools|Tools]]=
=[[Linux Tools|Tools]]=
*[[CURL|CURL]]


=Version Control=
=Version Control=

Edição atual tal como às 20h26min de 16 de janeiro de 2025


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

CLOUD

AZURE

Desktop

Disk

Excel

FileSystem / Diretório

File

GraphViz

HAPROXY

Inventory

JSON

Kernel

LOG

Links

Memory

Monitor

ZABBIX

Network

VRRP

Package Manager

Processos

Monitor de Threads

Security

Systemctl

Storage

SHELL

BASH

Internal

External

Remote Shell

Time

Tools

Version Control

Web Server