Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


smokeping_centos6

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
smokeping_centos6 [2016/11/18 08:06] – created adminsmokeping_centos6 [2016/11/18 08:24] admin
Line 2: Line 2:
  
 =====CentOS 6 - Smokeping===== =====CentOS 6 - Smokeping=====
-Had to install SmokePing in a RHEL 6 environment for a customer. This is how i managed to install it.+Had to install SmokePing in a RHEL 6 environment. This is how i managed to install it.
  
 === - Stop, start, status=== === - Stop, start, status===
Line 115: Line 115:
 </code> </code>
   * Generate private key:<code>openssl genrsa -out /etc/pki/tls/private/<hostname>.key 2048</code>   * Generate private key:<code>openssl genrsa -out /etc/pki/tls/private/<hostname>.key 2048</code>
-  * Genereer CSR:<code>openssl req -new \+  * Generate CSR:<code>openssl req -new \
   -out /etc/pki/tls/certs/<hostname>.csr \   -out /etc/pki/tls/certs/<hostname>.csr \
   -key /etc/pki/tls/private/<hostname>.key \   -key /etc/pki/tls/private/<hostname>.key \
   -config /etc/pki/tls/openssl.cnf</code>   -config /etc/pki/tls/openssl.cnf</code>
   * Check:<code>openssl req -text -noout -in /etc/pki/tls/certs/<hostname>.csr</code>   * Check:<code>openssl req -text -noout -in /etc/pki/tls/certs/<hostname>.csr</code>
-  * Signeer:<code>openssl x509 -req -days 3650 \+  * Sign:<code>openssl x509 -req -days 3650 \
  -in /etc/pki/tls/certs/<hostname>.csr \  -in /etc/pki/tls/certs/<hostname>.csr \
  -signkey /etc/pki/tls/private/<hostname>.key \  -signkey /etc/pki/tls/private/<hostname>.key \
Line 198: Line 198:
 <meta http-equiv="refresh" content="1;url=https://<fqdn>/cgi-bin/smokeping.fcgi"> <meta http-equiv="refresh" content="1;url=https://<fqdn>/cgi-bin/smokeping.fcgi">
 </code> </code>
-  * Kopieer ''smokeping.fcgi'' (ivm suexec):<code>cp /opt/smokeping/htdocs/smokeping.fcgi /var/www/cgi-bin/+  * Copy ''smokeping.fcgi'' (for suexec):<code>cp /opt/smokeping/htdocs/smokeping.fcgi /var/www/cgi-bin/
 </code> </code>
   * Modify suexec rights:<code>chown -R smokeping. /var/www/cgi-bin/</code>   * Modify suexec rights:<code>chown -R smokeping. /var/www/cgi-bin/</code>
smokeping_centos6.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1