Giter Site home page Giter Site logo

guide-to-install-uptime-kuma-into-oracle-linux's Introduction

Guide to Install Uptime Kuma into Oracle Linux

MIT License Donation

This guide also works for other CentOS~

โš“ Requirements

  • Oracle Cloud Infrastructure (OCI) account
  • Basic knowledge of OCI
  • Tool to connect to OCI instance (e.g. PuTTY)

๐Ÿš€ Get started

  1. Create a new OCI instance

    Basic Setup

    image

    Please feel free to adjust the setup to your needs.

    Network Configuration

    The instance needs to be reachable from the internet.

    You have to create a new virtual cloud network (VCN) with a public subnet and a public IP address if you don't have one yet. Just like the following: image

    SSH Key

    You need to create a new SSH key pair or use an existing one. You can find a guide here.

    In this guide I will use the key OCI created. image Please don't forget to download the private key and save it in a safe place. You will need it later.

    Create Instance

    After checking everything, click the "Create" button and wait for the instance to be created.

    Here is my setup (Reference Only)

    image

  2. Setup Virtual Cloud Network(VCN) Security List

    Add Ingress Rules

    You need to add the following ingress rules to the security list of the VCN you created.

    Stateless Source Type Source CIDR IP Protocol Source Port Range Destination Port Range Description
    No CIDR 0.0.0.0/0 TCP All 22 Allow SSH Connections
    No CIDR 0.0.0.0/0 TCP All 3001 Uptime Kuma Default Port

    Result: image

  3. Connect to the instance

    Connect to the instance via SSH

    You can use any SSH client you like. I will use CMD in this guide.

    ssh -i <path-to-private-key> opc@<public-ip-address>

    Install Docker

    Update the instance and install Docker.

    $ sudo yum update -y

    Install Docker

    $ sudo yum install -y yum-utils
    
    $ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
    
    $ sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

    Start Docker

    $ sudo systemctl start docker

    Install Uptime Kuma

    Create a new directory for Uptime Kuma

    $ mkdir uptime-kuma

    Cd into the directory

    $ cd uptime-kuma

    Setup docker-compose.yml

    $ nano docker-compose.yml

    Copy and paste the https://github.com/louislam/uptime-kuma/blob/master/docker/docker-compose.yml into the file.

    Exit and save the file by pressing Ctrl + X and then Y.

    Start Uptime Kuma

    $ docker compose up -d

    The first time you start Uptime Kuma, it will take a while to download the images. After that, you can access Uptime Kuma via http://<public-ip-address>:3001.

๐Ÿ‘พ Helpful Commands

  1. Reset Uptime Kmuma Password
    $ docker exec -it uptime-kuma npm run reset-password

๐Ÿ“š References

  1. Install Docker Engine on CentOS
  2. docker/docker-compose.yml
  3. Reset Uptime Kuma admin Password in Linux

guide-to-install-uptime-kuma-into-oracle-linux's People

Contributors

soranoo avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

randrini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.