Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
centos:squid:management [19.03.2012 19:37. ] – [vHOST-Definition] django | centos:squid:management [20.04.2018 10:35. ] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Management und Überwachung des Squid-Proxy-Servers ====== | ||
+ | {{: | ||
+ | |||
+ | Im letzten Kapitel befassen wir uns nun mit dem Managemnt und Überwachung unseres [[http:// | ||
+ | |||
+ | ===== Cache Manager Interface ===== | ||
+ | Der [[http:// | ||
+ | Das CMI ist ein CGI (Common Gateway Interface). Dieses **CGI**((**C**ommon **G**ateway **I**nterface)) kann auf einen beliebigen Webserver installiert werden, der natürlich eine Verbindung zu unserem Proxyserver haben, wie auch die CGI-Funktionalität unterstützen muss. | ||
+ | |||
+ | ==== cachemgr.conf ==== | ||
+ | In der **cachemgr.conf** auf welchen Zielhost (Squid_Server zugegriffen werden soll. Mit dem Editor unserer Wahl bearbeiten wir diese Konfigurationsdatei. | ||
+ | # vim / | ||
+ | |||
+ | <file bash / | ||
+ | # This file controls which servers may be managed by | ||
+ | # the cachemgr.cgi script | ||
+ | # | ||
+ | # The file consists of one server per line on the format | ||
+ | # | ||
+ | # | ||
+ | # Specifying :port is optional. If not specified then | ||
+ | # the default proxy port is assumed. :* or :any matches | ||
+ | # any port on the target server. | ||
+ | # | ||
+ | # hostname is matched using shell filename matching, allowing | ||
+ | # * and other shell wildcards. | ||
+ | # | ||
+ | # Django 2011-11-17 Definition des Squid-Proxy-Servers | ||
+ | # default : localhost | ||
+ | proxy.dmz.nausch.org | ||
+ | </ | ||
+ | |||
+ | ==== squid.conf ==== | ||
+ | In der zentralen Konfigurationsdatei unseres Squid-Servers, | ||
+ | Freigabe der **ACL** für unseren **manager** | ||
+ | * **http_access allow manager localnet** | ||
+ | |||
+ | Ferner setzen wir noch ein Passwort für unseren Cache-Manager **cache_mgr**, | ||
+ | * **cachemgr_passwd S0g3ned! all** | ||
+ | |||
+ | Den Zugriff auf die Menüpunkte: | ||
+ | * **shutdown** | ||
+ | * **offline_toggle** | ||
+ | * **reconfigure** | ||
+ | sperren wir. Hierzu tragen wir die folgende Zeile am Ende unserer Konfigurationsdatei ein: | ||
+ | * **cachemgr_passwd disable shutdown offline_toggle reconfigure** | ||
+ | |||
+ | Wollen wir einzelnen Befehle sperren, so Hilft die Dokumentation der [[http:// | ||
+ | |||
+ | All dies erledigen wir mit unserem Lieblingseditor, | ||
+ | # vim / | ||
+ | |||
+ | In Summer ergibt sich somit folgende Gesamtkonfiguration unseres Squid-Servers. | ||
+ | <file bash / | ||
+ | # Django : 2011-11-14 LDAP-Benutzerauthentifizierung | ||
+ | auth_param basic program / | ||
+ | auth_param basic children 4 | ||
+ | auth_param basic utf8 on | ||
+ | #auth_param basic concurrency on | ||
+ | auth_param basic realm Bitte geben Sie Ihren Benutzernamen und Passwort fuer die Internetberechtigung ein! | ||
+ | auth_param basic credentialsttl 60 minutes | ||
+ | auth_param basic casesensitive off | ||
+ | |||
+ | # | ||
+ | # Recommended minimum configuration: | ||
+ | # | ||
+ | # Django : 2011-11-14 NICHT cachen von dynamischen Inhalten (cgi-scripte) | ||
+ | acl QUERY urlpath_regex cgi_bin \? | ||
+ | # | ||
+ | acl manager proto cache_object | ||
+ | acl localhost src 127.0.0.1/ | ||
+ | # Django : 2011-11-14 IPv6 deaktiviert | ||
+ | # acl localhost src ::1/128 | ||
+ | acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 | ||
+ | # Django : 2011-11-14 IPv6 deaktiviert | ||
+ | # acl to_localhost dst ::1/128 | ||
+ | |||
+ | # Example rule allowing access from your local networks. | ||
+ | # Adapt to list your (internal) IP networks from where browsing | ||
+ | # should be allowed | ||
+ | # Django : 2011-11-14 Definition des/der eigenen Netzwerke | ||
+ | # acl localnet src 10.0.0.0/ | ||
+ | # acl localnet src 172.16.0.0/ | ||
+ | # acl localnet src 192.168.0.0/ | ||
+ | # acl localnet src fc00::/ | ||
+ | # acl localnet src fe80::/ | ||
+ | acl localnet src 10.0.0.0/24 | ||
+ | acl localnet src 10.0.10.0/ | ||
+ | |||
+ | # Django : 2011-11-14 LDAP-Benutzerauthentifizierung | ||
+ | acl ldap_auth proxy_auth REQUIRED | ||
+ | |||
+ | acl SSL_ports port 443 | ||
+ | acl Safe_ports port 80 # http | ||
+ | acl Safe_ports port 21 # ftp | ||
+ | acl Safe_ports port 443 # https | ||
+ | acl Safe_ports port 70 # gopher | ||
+ | acl Safe_ports port 210 # wais | ||
+ | acl Safe_ports port 1025-65535 | ||
+ | acl Safe_ports port 280 # http-mgmt | ||
+ | acl Safe_ports port 488 # gss-http | ||
+ | acl Safe_ports port 591 # filemaker | ||
+ | acl Safe_ports port 777 # multiling http | ||
+ | acl CONNECT method CONNECT | ||
+ | |||
+ | # Django : 2011-11-14 Ausnahmeregelung für den Zugriff ohne caching aktiviert | ||
+ | acl noauthsites url_regex repository\.nausch\.org/ | ||
+ | acl noauthsites url_regex static-cdn\.addons\.mozilla\.net: | ||
+ | acl noauthsites url_regex ocsp\.digicert\.com/ | ||
+ | acl noauthsites url_regex ocsp\.verisign\.com/ | ||
+ | acl noauthsites url_regex evsecure-ocsp\.verisign\.com/ | ||
+ | acl noauthsites url_regex releases\.mozilla\.org/ | ||
+ | acl noauthsites url_regex addons\.mozilla\.org: | ||
+ | acl noauthsites url_regex services\.addons\.mozilla\.org: | ||
+ | |||
+ | # Django : 2011-11-14 Anpassen der Request-IP-Adresseder Clients bei Verwendung von Dansguardian | ||
+ | follow_x_forwarded_for allow localhost | ||
+ | follow_x_forwarded_for allow localnet | ||
+ | |||
+ | # | ||
+ | # Recommended minimum Access Permission configuration: | ||
+ | # | ||
+ | # Only allow cachemgr access from localhost | ||
+ | http_access allow manager localhost | ||
+ | # Django 2011-11-16 Zugriff auch aus dem lokalen Netz erlauben | ||
+ | http_access allow manager localnet | ||
+ | http_access deny manager | ||
+ | |||
+ | # Deny requests to certain unsafe ports | ||
+ | http_access deny !Safe_ports | ||
+ | |||
+ | # Deny CONNECT to other than secure SSL ports | ||
+ | http_access deny CONNECT !SSL_ports | ||
+ | |||
+ | # We strongly recommend the following be uncommented to protect innocent | ||
+ | # web applications running on the proxy server who think the only | ||
+ | # one who can access services on " | ||
+ | # | ||
+ | |||
+ | # | ||
+ | # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS | ||
+ | # | ||
+ | |||
+ | # Example rule allowing access from your local networks. | ||
+ | # Adapt localnet in the ACL section to list your (internal) IP networks | ||
+ | # from where browsing should be allowed | ||
+ | # Django : 2011-11-14 Zugriffsregeln für die LDAP-Benutzerauthentifizierung | ||
+ | # default: | ||
+ | # http_access allow localnet | ||
+ | # http_access allow localhost | ||
+ | http_access allow localhost noauthsites | ||
+ | http_access allow localhost ldap_auth | ||
+ | http_access allow localnet noauthsites | ||
+ | http_access allow localnet ldap_auth | ||
+ | |||
+ | # And finally deny all other access to this proxy | ||
+ | http_access deny all | ||
+ | |||
+ | # Squid normally listens to port 3128 | ||
+ | http_port 3128 | ||
+ | |||
+ | # We recommend you to use at least the following line. | ||
+ | hierarchy_stoplist cgi-bin ? | ||
+ | |||
+ | # Uncomment and adjust the following to add a disk cache directory. | ||
+ | #cache_dir ufs / | ||
+ | # Django 2011-11-14 : Squid Cache aktiviert | ||
+ | cache_dir ufs / | ||
+ | |||
+ | # Django : 2011-11-14 Cache-Memory heruntergesetzt, | ||
+ | # | ||
+ | # default cache_mem 256 MB | ||
+ | cache_mem 100 MB | ||
+ | |||
+ | # Leave coredumps in the first cache dir | ||
+ | coredump_dir / | ||
+ | |||
+ | # Django : 2011-11-14 Aktivieren der ACL-Regel zum Unterdrücken des Cachen von dynamischen Inhalten | ||
+ | cache deny QUERY | ||
+ | |||
+ | # Add any of your own refresh_pattern entries above these. | ||
+ | refresh_pattern ^ftp: | ||
+ | refresh_pattern ^gopher: | ||
+ | refresh_pattern -i (/ | ||
+ | refresh_pattern . | ||
+ | |||
+ | # Django : 2011-11-14 Definition des Squid-Logformates | ||
+ | logformat squid %tl.%03tu %6tr %>a %un %Ss/ | ||
+ | |||
+ | # Django : 2011-11-14 deutsche Rückmeldungen bei den Fehlermeldungen aktiviert | ||
+ | error_directory / | ||
+ | error_default_language de | ||
+ | |||
+ | # Django : 2011-11-14 Serveralias statt des Hostnamens ausgeben: | ||
+ | visible_hostname proxy.dmz.nausch.org | ||
+ | |||
+ | # Django : 2011-11-14 Unterdrücken der Squidversion bei der Ausgabe von Fehlerseiten | ||
+ | httpd_suppress_version_string on | ||
+ | |||
+ | # Django : 2011-11-14 Setzen des Cache-Admins und Angabe der eMailadresse | ||
+ | cache_mgr squid-manager@nausch.org | ||
+ | |||
+ | # Django : 2011-11-14 Setzen der eMail-Absendeadresse im Fehlerfall | ||
+ | mail_from squid-proxy@nausch.org | ||
+ | |||
+ | # Django : 2011-11-17 Konfiguration des CMI (Sperren von Menüpunkten uns setzen des Manager-Passwortes) | ||
+ | cachemgr_passwd disable shutdown offline_toggle reconfigure | ||
+ | cachemgr_passwd S0g3ned! all | ||
+ | |||
+ | </ | ||
+ | |||
+ | Zur Aktivierung unserer Konfiguration starten wir nun unseren Squid-Server einmal durch. | ||
+ | |||
+ | # service squid restart | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | ==== Apache Konfiguration ==== | ||
+ | Bei der Installation unseres [[http:// | ||
+ | |||
+ | Diese Datei passen wir nun unseren Bedürfnissen an. Die Konfiguration wird sich dabei im ersten Schritt wohl auf die Definition der erlaubten Zugriffe, also **allow from** beschränken. | ||
+ | |||
+ | # vim / | ||
+ | <file apache / | ||
+ | |||
+ | # | ||
+ | # This is / | ||
+ | # | ||
+ | |||
+ | ScriptAlias / | ||
+ | |||
+ | # Only allow access from localhost by default | ||
+ | < | ||
+ | order allow,deny | ||
+ | allow from 10.0.0.0/24 | ||
+ | allow from 10.0.10.0/ | ||
+ | # allow from localhost.localdomain | ||
+ | # Add additional allowed hosts as needed | ||
+ | # allow from .example.com | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== Zugriffstest auf das CMI ==== | ||
+ | Mit einem Browser greifen wir dann auf die definierte Webseite zu und erreichen die WEB-GUI des **CMI**. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Hier geben wir den Namen des definierten Managers **cache_mgr** sowie das zugehörieg Passwort, welches wir unter **cachemgr_passwd** definiert hatten, ein. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ===== Squid Graph ===== | ||
+ | Zur Darstellung der Squid-Acces Logs gibt es im Netz unzählige Scripte und Programme. Eine einfache Variante zur übersichtlichen graphischen Aufbereitung kann mittels dem Projekt [[http:// | ||
+ | |||
+ | ==== vorbereitende Installation ==== | ||
+ | Die für Squid-Graph notwenigen Programmabhängigkeiten installieren wir vor der eigentlichen Installation von Squid-Graph via **yum**. | ||
+ | # yum install gd perl-GDGraph3d -y | ||
+ | |||
+ | ==== Download === | ||
+ | Von der [[http:// | ||
+ | # wget http:// | ||
+ | |||
+ | ==== Installation === | ||
+ | Die Installation von Squid-Graph selbst ist relativ einfach und schnell erledigt. Als erstes entpacken das heruntergeladene Archiv. | ||
+ | # tar -zxvf squid-graph-3.2.tar.gz | ||
+ | |||
+ | Anschließend verscheiben wir das erhaltene Verzeichnis an den Platz unserer Wahl. | ||
+ | # mv squid-graph /usr/local/ | ||
+ | |||
+ | ==== Konfiguration === | ||
+ | Zur Darstellung der Auswertungsergebnisse werden wir einen internen Webserver verwenden. Wir legen hierzu auf diesem ein Zielverzeichnis an. | ||
+ | # mkdir / | ||
+ | |||
+ | Als nächstes holen wir uns noch die Logo-Graphik auf unseren Server; hierzu wechseln wir einfach in unser zuvor angelegtes Webserver-Verzeichnis. | ||
+ | # cd / | ||
+ | |||
+ | # wget http:// | ||
+ | |||
+ | ==== vHOST-Definition ==== | ||
+ | Da wir für die Präsentation der Ergebnisse einen vHost auf unserem Webserver verwenden wollen, benötigen wir noch eine entsprechende Konfigurationsdatei. Diese legen wir im nächsten Schritt an. | ||
+ | # vim / | ||
+ | |||
+ | <file apache vim / | ||
+ | # | ||
+ | # squid-graph.nausch.org | ||
+ | # | ||
+ | < | ||
+ | ServerAdmin webmaster@nausch.org | ||
+ | ServerName squid-graph.nausch.org: | ||
+ | ServerAlias www.squid-graph.nausch.org squid-graph.nausch.org | ||
+ | ServerPath / | ||
+ | DocumentRoot "/ | ||
+ | < | ||
+ | Options -Indexes FollowSymLinks | ||
+ | Order deny,allow | ||
+ | Deny from all | ||
+ | Allow from 127.0.0.1 | ||
+ | Allow from 10.0.0.0/24 | ||
+ | Allow from 10.0.10.0/ | ||
+ | </ | ||
+ | DirectoryIndex index.html | ||
+ | ErrorLog logs/ | ||
+ | CustomLog logs/ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Bevor wir die Konfiguration neu laden, überprüfen wir noch die Ändewrungen auf Syntaxfehler. | ||
+ | # service httpd configtest | ||
+ | |||
+ | | ||
+ | |||
+ | Zur Aktivierung starten wir nun den Apache-Webserver einmal durch. | ||
+ | # service httpd restart | ||
+ | |||
+ | ==== Programmstart ==== | ||
+ | Der Aufruf von Squid-Graph selbst ist sehr einfach, beschränkt es sich doch beim Programmaufruf auf folgende Parameter: | ||
+ | * **--output-dir=/ | ||
+ | * **</ | ||
+ | |||
+ | # / | ||
+ | |||
+ | <code bash> | ||
+ | [Thu Nov 17 17:16:21 2011] Graph domain is 86400 seconds. | ||
+ | [Thu Nov 17 17:16:21 2011] Setting report title to "Squid Graph Logfile Analysis Report" | ||
+ | [Thu Nov 17 17:16:21 2011] Configured for default histograms. | ||
+ | [Thu Nov 17 17:16:21 2011] Configured have_tcp and have_udp. | ||
+ | [Thu Nov 17 17:16:21 2011] Transfer duration graph(s) enabled. | ||
+ | [Thu Nov 17 17:16:21 2011] Configured start time to 1321460181. | ||
+ | [Thu Nov 17 17:16:21 2011] Reading STDIN for logfile input. | ||
+ | [Thu Nov 17 17:16:21 2011] Calculating averages for TCP/UDP transfer duration. | ||
+ | [Thu Nov 17 17:16:21 2011] Done reading 2188 lines from logfile on STDIN. (0 errors) | ||
+ | [Thu Nov 17 17:16:21 2011] Analysis duration is 1 seconds, 2188 lines/sec. | ||
+ | [Thu Nov 17 17:16:21 2011] Creating TCP image objects. | ||
+ | [Thu Nov 17 17:16:21 2011] Creating UDP image objects. | ||
+ | [Thu Nov 17 17:16:21 2011] Plotting graph of TCP accesses. | ||
+ | [Thu Nov 17 17:16:21 2011] Plotting graph of TCP transfers. | ||
+ | [Thu Nov 17 17:16:21 2011] Plotting graph of TCP transfer duration. | ||
+ | [Thu Nov 17 17:16:21 2011] Plotting graph of UDP accesses. | ||
+ | [Thu Nov 17 17:16:21 2011] Plotting graph of UDP transfers. | ||
+ | [Thu Nov 17 17:16:21 2011] Plotting graph of UDP transfer duration. | ||
+ | [Thu Nov 17 17:16:21 2011] Writing to file / | ||
+ | [Thu Nov 17 17:16:21 2011] Writing to file / | ||
+ | [Thu Nov 17 17:16:21 2011] Writing to file / | ||
+ | [Thu Nov 17 17:16:21 2011] Writing to file / | ||
+ | [Thu Nov 17 17:16:21 2011] Writing to file / | ||
+ | [Thu Nov 17 17:16:21 2011] Writing to file / | ||
+ | [Thu Nov 17 17:16:21 2011] Gathering additional statistics. | ||
+ | [Thu Nov 17 17:16:21 2011] Writing index.html file. | ||
+ | [Thu Nov 17 17:16:21 2011] Done. | ||
+ | [Thu Nov 17 17:16:21 2011] Remember to copy logo.png found in your Squid Graph images/ directory to / | ||
+ | </ | ||
+ | |||
+ | ==== Client-Ansicht ==== | ||
+ | Rufen wir nun in einem Browser unseren vorher definierten vHOST auf, so werden übersichtlich die wichtigsten Werte dargestellt. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== automatische Generierung der Webseite ==== | ||
+ | Damit in regelmäßigen Abständen automatisch die Übersichtsgraphiken erstellt werden, reicht es einfach aus, einen cronjob einzurichten. | ||
+ | # crontab -e | ||
+ | |||
+ | < | ||
+ | # squid-graph Seiten Update alle 5 Minuten | ||
+ | */5 * * * * / | ||
+ | </ | ||
+ | | ||
+ | |||
+ | ===== SARG - Squid Analysis Report Generator ===== | ||
+ | {{: | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | Eine weitere interessante Variante zum Auswerten des Squid-Access-Logfiles ist die Web-Applikation //**S**quid **A**nalysis **R**eport **G**enerator//, | ||
+ | ==== Download === | ||
+ | Von der [[http:// | ||
+ | # cd / | ||
+ | |||
+ | # wget http:// | ||
+ | |||
+ | ==== Installation === | ||
+ | Die Installation von SARG ist Dank des RPMs einfach durchzuführen. | ||
+ | # yum --nogpgcheck localinstall / | ||
+ | |||
+ | Was uns das RPM alles mitgebracht hat, erkunden wir mit Hilfe des Befehls **rpm**. | ||
+ | # rpm -qil sarg | ||
+ | < | ||
+ | Version | ||
+ | Release | ||
+ | Install Date: Mon 19 Mar 2012 06:42:01 PM CET Build Host: lisse.hasselt.wieers.com | ||
+ | Group : Applications/ | ||
+ | Size : 1211395 | ||
+ | Signature | ||
+ | Packager | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | Description : | ||
+ | Squid Analysis Report Generator is a tool that allows you to view " | ||
+ | your users are going to on the Internet. Sarg generate reports in html | ||
+ | showing users, IP addresses, bytes, sites and times. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /etc/sarg | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== vHOST-Definition ==== | ||
+ | Für die Präsentation der Ergebnisse wird im RPM bereits eine Konfigurationsdatei für den Apache-Webserver mitgeliefert. | ||
+ | # less / | ||
+ | |||
+ | <file apache / | ||
+ | Alias /sarg / | ||
+ | |||
+ | < | ||
+ | DirectoryIndex index.html | ||
+ | Order deny,allow | ||
+ | Deny from all | ||
+ | Allow from 127.0.0.1 | ||
+ | Allow from ::1 | ||
+ | # Allow from your-workstation.com | ||
+ | </ | ||
+ | </ | ||
+ | Da unser Webserver aber nur die Inhalte mit Hilfe von vHosts präsentieren soll, werden wir kurzerhand die mitgelieferte Musterkonfigurationsdatei deaktivieren und eine entsprechende vHost-Definition anlegen. Die Definition des vHosts legen wir nun im nächsten Schritt an. | ||
+ | # vim / | ||
+ | |||
+ | <file apache vim / | ||
+ | # | ||
+ | # sarg.nausch.org | ||
+ | # | ||
+ | < | ||
+ | ServerAdmin webmaster@nausch.org | ||
+ | ServerName sarg.nausch.org | ||
+ | ServerAlias www.sarg.nausch.org | ||
+ | ServerPath / | ||
+ | DocumentRoot "/ | ||
+ | < | ||
+ | Options -Indexes FollowSymLinks | ||
+ | Order deny,allow | ||
+ | Deny from all | ||
+ | Allow from 127.0.0.1 | ||
+ | Allow from 10.0.0.0/24 | ||
+ | Allow from 10.0.10.0/ | ||
+ | </ | ||
+ | DirectoryIndex index.html | ||
+ | ErrorLog logs/ | ||
+ | CustomLog logs/ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Die Konfigurationsdatei für das Verzeichnis // | ||
+ | # mv / | ||
+ | |||
+ | Bevor wir die Konfiguration neu laden, überprüfen wir noch die Änderungen auf Syntaxfehler. | ||
+ | # service httpd configtest | ||
+ | |||
+ | | ||
+ | |||
+ | Zur Aktivierung starten wir nun den Apache-Webserver einmal durch. | ||
+ | # service httpd restart | ||
+ | |||
+ | ====== Links ====== | ||
+ | * **[[centos: | ||
+ | * **[[wiki: | ||
+ | * **[[http:// | ||
+ | |||