Arreglar Puerto De Http Flashcards

1
Q

Como se
Corrige el
Problema de http

A

systemctl start httpd

sealert -a /var/log/audit.log

Configurar selinux puerto

semanage port -l|grep http

semanage port -a -t http_port_t -p tcp 1001

systemctl enable —now httpd

systemctl is-active
systemctl is-enabled

firewall-cmd —get-default-zone

firewall-cmd —set-default-zone public

firewall-cmd —permanent —zone=public —list-all

firewall-cmd —permanent —zone=public —add-port=1001/tcp

firewall-cmd —reload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly