Save PM2 in Linux Step 4: Configure Apache as a Reverse Proxy for Uptime-Kuma Next, save the application state as shown. Next, enable the Node.js application to start after a reboot. The command generates the following output. # pm2 start npm -name uptime-kuma - run start-server -port=3001 -hostname=127.0.0.1 To install the PM2 daemon, run the following command while still in the uptime-kuma directory. PM2 is a production process manager for NodeJS applications that provide a load balancer and helps keeps applications alive indefinitely and reload them without any interruption or service downtime. Install Uptime Kuma in Linux Step 3: Run Uptime Kuma with pm2 Then, set up the monitoring tool using the following command: # npm run setup Next, navigate to the Uptime Kuma directory. First, clone the Uptime Kuma repository from GitHub. Once Node.JS is installed, you can now proceed to install the Uptime Kuma monitoring tool. V16.17.0 Step 2: Installing Uptime Kuma in Linux Once installed, confirm the version of NodeJS installed as shown. Once the Nodesource repository has been added, install Node.JS using the package manager as shown. The command downloads the installation script which updates the package lists adds the Nodesource signing key and creates an apt and dnf list file for the Nodesource 16.x repository. Then add the Nodesource 16.x repository to your system using the following curl command as follows. We will install the latest LTS release which, at the time of writing this guide, is Node.JS 16.x.įirst, add the Nodesource repository to your system. Since Uptime Kuma is written in Node.JS, you need to install Node.JS before proceeding any further. To get started, log into your server and update the local package index. The same instructions also work on RHEL-based distributions and Debian derivatives. In this guide, you will learn how to install Uptime Kuma self-hosted monitoring tool and how you can monitor websites using the tool.įor demonstration, we will install the Uptime Kuma Monitoring tool on Ubuntu 20.04. Sends notifications via Email (SMTP), Telegram, Discord, Microsoft Teams, Slack, Promo SMS, Gotify, and 90+ notification services.Monitors uptime for HTTP(s) websites, TCP Ports, and Docker containers and retrieves information such as DNS records.Uptime Kuma is a fancy self-hosted monitoring tool that you can use to monitor websites and applications in real time.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |