Sistemas Linux

  • Instaladndo o PGP

    Instalar no Ubuntu, Debian, Mint e Kalisudo apt install gnupgInstalar no CentOS, Fedora, RHELsudo yum install gnupg==Criar Private e Public Keys...
  • identificando arquivos pelo tamanho

    Neste comando poderemos identificar os arquivos maiores que 20M:find / -type f -size +20M -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -nk 2,2...
  • Desabilitar mensagens de snmpd ia_addr

    sed -i "s|-Lsd|-LS6d|" /lib/systemd/system/snmpd.servicesystemctl daemon-reloadservice snmpd restart  ...
  • Firewall - Habilitando o acesso ao servidor web

    setsebool httpd_can_network_connect on -P firewall-cmd --zone=public --add-service=http --permanent firewall-cmd --zone=public --add-service=https --permanent firewall-cmd --reload...
  • Instalar MySQL Debian Buster

    Step 1 – Prerequisites Login to your Debian 10 system using shell access. For remote systems connect with SSH. Windows users can use Putty or other alternatives applications for SSH connection. ssh root@debian10 R...
  • Instalar e assegurar o phpmyadmin no Debian9

    Step 1 — Installing phpMyAdmin To get started, we will install phpMyAdmin from the default Debian repositories. This is done by updating your server’s package index and then using the apt packagin...
  • Instalando o netdata no CentOS

    Netdata is a rising star in the field of real-time system metrics monitoring. Compared with other tools of the same kind, Netdata: Monitors and renders various system metrics in real time, such as CPU, memory, disk I/O, network traffi...
  • Instalando o Polr no CentOS8

    Introduction Polr is a free and open-source link shortener written in PHP and Lumen. It allows you to quickly host your own URL shortener. It's significant features include a management dashboard, detailed link analytics, and an API. This...
  • Instalando o ERPNext no Centos7

    ERP or Enterprise Resource Planning is an enterprise application suite used to manage core business processes. ERPNext is free and open source self-hosted ERP application written in Python. It uses Node.js for the front end and MariaDB to store it...
  • Openfire no Centos7

    Download and install the latest Openfire x86_64 RPM package On the official Openfire download page, find the ...
  • Ansible no Centos7

    Ansible is an open source tool for automating tasks. It manages the configuration of your Linux and Windows servers. It works without an agent which means that Ansible uses SSH and current user SSH authorization. You can use Ansible to auto...
  • DB_RUNRECOVERY: Fatal error, run database recovery

    mkdir /root/backups.rpm.mm_dd_yyyy/ cp -avr /var/lib/rpm/ /root/backups.rpm.mm_dd_yyyy/ Para resolver # rm -f /var/lib/rpm/__db* # db_verify /var/lib/rpm/Packages # rpm --rebuilddb # yum clean ...
  • Script para ping de range

    for ip in 192.168.0.{1..254}; do ping -c 1 -w 1 $ip > /dev/null && echo $ip "$(nslookup $ip | grep 'name = ' | awk -F ' = ' '{print $2}')"; done...
  • Instalação do Anydesk no Fedora33

    Requires: libpangox-1.0.so.0 You could try using –skip-broken to work around the problem Instale utilizando um reposit&#...
  • Partição e formatação em discos maiores que 2TB

    Este artigo explica como formatar discos maiores que 2TiB.Ferramentas recomendadas: Sistema Operacional ...
  • Tela branca ao conectar no NoMachine (nxserver)

    É necessário desabilitar o Wayland.No caso do GNOME Desktop, adicione a seguinte linha em /etc/gdm/custom.conf: WaylandEnable=false reinicie o gdm: systemctl restart gdm Reinicie o servidor nxserver:su...