Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 203

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 202
Chapter 11. Cloning open source virtual servers 183
You should see the test page shown in Figure 11-1, which verifies that the web server is
working.
Figure 11-1 Apache test page
If you get an error when starting Apache, look in the /var/log/httpd/error-log log file for
clues. If Apache started successfully, but you cannot reach the test page from a browser, try
accessing it using the IP address rather than the DNS name.
11.1.3 Turning on a firewall
RHEL 6 comes with an IP tables firewall. In 8.2.3, “Turning off unneeded services” on
page 150, it was recommended that you turn off the iptables service. If you did this on the
golden image, the firewall is turned off on this clone. This section describes how to quickly
enable an IP tables firewall and configure it to allow web traffic through.
Perform the following steps:
1. Verify that the firewall is off using the chkconfig --list command. The service name is
iptables:
# chkconfig --list iptables
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
2. Turn on the firewall at boot time using the chkconfig command, and for this session with
the service command:
# chkconfig iptables on
# service iptables start
Applying iptables firewall rules: [ OK ]
Loading additional iptables modules: ip_conntrack_netbios_ns [ OK ]
Vedere la pagina 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 295 296

Commenti su questo manuale

Nessun commento