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

Você achou esse artigo útil?



  • Instaladndo o PGP

    Instalar no Ubuntu, Debian, Mint e Kalisudo apt install gnupgInstalar no CentOS, Fedora, RHELsudo yum install gnupg==Criar Private e Public Keysgpg --...

  • 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 ": " $...

  • Desabilitar mensagens de snmpd ia_addr

    sed -i "s|-Lsd|-LS6d|" /lib/systemd/system/snmpd.servicesystemctl daemon-reloadservice snmpd restart  ...

  • 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 ot...

  • 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 se...