Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


lxd_smokeping

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
lxd_smokeping [2019/02/17 18:18] – [Configure] adminlxd_smokeping [2019/02/17 18:25] – [Install] admin
Line 16: Line 16:
 ===Lighttpd / fcgi=== ===Lighttpd / fcgi===
   * Install required packages:<code>apt install lighttpd</code>   * Install required packages:<code>apt install lighttpd</code>
 +===fping== 
 +  * Download fping: <code>curl -OL http://www.fping.org/dist/fping-4.1.tar.gz</code> 
 +  * Extract:<code>tar zxvf fping-4.1.tar.gz</code> 
 +  * Compile:<code>cd fping-4.1 
 +./configure 
 +make -j4 
 +make install 
 +</code>
 ====Configure==== ====Configure====
   * Configure lighttpd:<code>cd /etc/lighttpd/conf-enabled   * Configure lighttpd:<code>cd /etc/lighttpd/conf-enabled
Line 38: Line 45:
  
 index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" ) index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
-url.access-deny             = ( "~", ".inc" )+#url.access-deny             = ( "~", ".inc" )
 static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  
Line 63: Line 70:
   * Enable and start lighttpd:<code>systemctl start lighttpd   * Enable and start lighttpd:<code>systemctl start lighttpd
 systemctl enable lighttpd</code> systemctl enable lighttpd</code>
-  * Add systemd service in: ''/etc/systemd/system/smokeping.service: +  * Add systemd service in: ''/etc/systemd/system/smokeping.service'':<code>[Unit]
-<code> +
-[Unit]+
 Description=Latency Logging and Graphing System Description=Latency Logging and Graphing System
 After=syslog.target network.target After=syslog.target network.target
Line 78: Line 83:
 [Install] [Install]
 WantedBy=multi-user.target WantedBy=multi-user.target
-</code> +</code><code>
- +
-<code>+
 systemctl enable smokeping systemctl enable smokeping
 systemctl start smokeping systemctl start smokeping
lxd_smokeping.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1