→Apache
(→Apache) |
|||
$ chkconfig --level 2345 httpd on
Firewall configuratie met system-config-firewall-tui ( sudo yum -y install system-config-firewall-tui)</br>
$ system-config-firewall-tui
$ CUSTOMIZE
$ [*] Secure WWW (HTTPS) --> aanzetten door op spatiebalk te drukken
$ [*] WWW (HTTP)
of manueel toevoegen van</br>
$ vi /etc/sysconfig/iptables
of
$ nano /etc/sysconfig/iptables
Hier voegen we de volgende lijn aan toe om poort 80 open te zetten:(toevoegen in de file na INPUT en voor FORWARD)
|