Anleitung für Debian 10 (Buster)
Download Link https://checkmk.com/download?edition=cr ... &os=buster
Alle Schritte als root ausführen!
Code: Select all
su -
Code: Select all
cd /tmp;
wget https://download.checkmk.com/checkmk/1.6.0p20/check-mk-raw-1.6.0p20_0.buster_amd64.deb;
apt install /tmp/check-mk-raw-1.6.0p20_0.buster_amd64.deb
Code: Select all
sed -i 's/Listen 80/Listen 8080/g' /etc/apache2/ports.conf;
sed -i 's/Listen 443/Listen 8443/g' /etc/apache2/ports.conf;
systemctl restart apache2.service;
Nginx installieren und konfigurieren
Code: Select all
apt install nginx openssl apache2-utils nginx software-properties-common certbot python-certbot-nginx
Code: Select all
server {
server_name monitoring.4noobs.de;
listen 80;
client_max_body_size 50m;
location / {
# auth_basic "Restricted Content";
# auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:5000;
}
}
Code: Select all
ln -s /etc/nginx/sites-available/monitoring.conf /etc/nginx/sites-enabled/;
systemctl restart nginx.service
Code: Select all
certbot
Quelle: https://checkmk.de/cms_introduction_packages.html
Code: Select all
omd create ###mysite###
Code: Select all
omd create checkmk
Code: Select all
Adding /opt/omd/sites/###mysite###/tmp to /etc/fstab.
Creating temporary filesystem /omd/sites/mysite/tmp...OK
Restarting Apache...OK
Created new site slave1 with version ...
The site can be started with omd start mysite.
The default web UI is available at http://###sub.domain.tld###/###mysite###/
The admin user for the web applications is cmkadmin with password ###password###
(It can be changed with 'htpasswd -m ~/etc/htpasswd cmkadmin' as site user.)
Please do a su - mysite for administration of this site.
Code: Select all
omd start ###mysite###
Code: Select all
omd start checkmk
Ab hier ist der Check_MK Server lauffähig, jedoch nicht sicher für die Nutzung über das Internet!