Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
centos:apc [08.01.2017 22:51. ] – [Konfiguration] djangocentos:apc [09.01.2017 10:13. ] – [Konfiguration] django
Zeile 1079: Zeile 1079:
     Header always set Public-Key-Pins "pin-sha256=\"nMiOpb6vUnjCoWCkPkDaG4ND8SNWzFTsQf2ZfruLno0=\"; pin-sha256=\"INhxSQ38nCS6ijaAAyo4xAhAZj9xeL3Xaak+GGiM2fo=\"; max-age=2592000; report-uri=\"https://nausch.report-uri.io/r/default/hpkp/enforce\""     Header always set Public-Key-Pins "pin-sha256=\"nMiOpb6vUnjCoWCkPkDaG4ND8SNWzFTsQf2ZfruLno0=\"; pin-sha256=\"INhxSQ38nCS6ijaAAyo4xAhAZj9xeL3Xaak+GGiM2fo=\"; max-age=2592000; report-uri=\"https://nausch.report-uri.io/r/default/hpkp/enforce\""
 </VirtualHost></file> </VirtualHost></file>
-===== old stuff ===== 
-   # vim /etc/httpd/conf.d/vhosts.conf 
  
-<file apache /etc/httpd/conf.d/vhosts.conf>...+Bevor wir zur Aktivierung unserer Konfigurationsänderungen den bzwdie HTTP-Daemon einmal durchstarten überprüfen wir unsere Apache-Konfigurationsdateien auf syntaktische Fehler. 
 +   # apachectl -t
  
-+  Syntax OK
-# power.nausch.org +
-+
-<VirtualHost *:80> +
-        ServerAdmin webmaster@nausch.org +
-        ServerName power.nausch.org +
-        ServerAlias www.power.nausch.org +
-        ServerPath / +
-        DocumentRoot "/var/www/apcupsd" +
-        AddHandler cgi-script .cgi +
-        <Directory "/var/www/apcupsd"> +
-                Options FollowSymLinks +
-                AllowOverride all +
-                Order Allow,Deny +
-                Allow from all +
-                Options ExecCGI +
-        </Directory> +
-        AddType application/x-httpd-php .php +
-        DirectoryIndex multimon.cgi +
-        ErrorLog logs/power_error.log +
-        CustomLog logs/power_access.log combined +
-</VirtualHost>+
  
-... +Ist alles O.Kstarten wir den/die Daemon nun einmal neu
-</file>+   # systemctl restart httpd.service
  
-{{ :centos:apcupsd.png?direct&500 |BildschirmhardcopyAPC UPS Daemon}}+<html><pre class="code"> 
 +<font style="colorrgb(0, 255, 0)"><b>● </b></font><font style="colorrgb(0, 0, 0)">httpd.service - The Apache HTTP Server 
 +   Loadedloaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) 
 +   Active: <font style="color: rgb(0, 255, 0)"><b>active (running) </b></font><font style="color: rgb(0, 0, 0)"> since Mon 2017-01-09 11:03:23 CET; 48s ago 
 +     Docs: man:httpd(8) 
 +           man:apachectl(8) 
 +  Process: 11642 ExecStop=/bin/kill -WINCH ${MAINPID(code=exited, status=0/SUCCESS) 
 + Main PID: 11647 (httpd) 
 +   Status: "Total requests: 2; Current requests/sec: 0.1; Current traffic: 307 B/sec" 
 +   CGroup: /system.slice/httpd.service 
 +           ├─11647 /usr/sbin/httpd -DFOREGROUND 
 +           ├─11648 /usr/sbin/httpd -DFOREGROUND 
 +           ├─11649 /usr/sbin/httpd -DFOREGROUND 
 +           ├─11650 /usr/sbin/httpd -DFOREGROUND 
 +           ├─11651 /usr/sbin/httpd -DFOREGROUND 
 +           ├─11652 /usr/sbin/httpd -DFOREGROUND 
 +           └─11699 /usr/sbin/httpd -DFOREGROUND
  
 +Jan 09 11:03:23 vml000127.dmz.nausch.org systemd[1]: Starting The Apache HTTP Server...
 +Jan 09 11:03:23 vml000127.dmz.nausch.org systemd[1]: Started The Apache HTTP Server.</font>
 +</pre></html>
  
 +Nun starten wir einen Browser und öffnen die zugehörige URL.
 +   $ konqueror http://power.nausch.org
 +
 +Im ersten Bild sehen wir die Startseite der WEB-GUI.
 +{{ :centos:apcupsd-cgi-01.png?direct&800 |BILD: WEB GUI des APCUPS-Daemon}}
 +
 +Das zweite Bild zeigt die Übersicht zu den aktuellen Stati unserer USV.
 +
 +{{ :centos:apcupsd-cgi-02.png?direct&800 |BILD: WEB GUI des APCUPS-Daemon}}
 +
 +Eine Ansicht aller Detailangaben zeigt das dritte Bild.
 +
 +{{ :centos:apcupsd-cgi-03.png?direct&800 |BILD: WEB GUI des APCUPS-Daemon}}
  
  
  
  • centos/apc.txt
  • Zuletzt geändert: 22.07.2019 14:52.
  • von 127.0.0.1