How to install Scrutiny on Fedora CoreOS Latest

Scrutiny is an open source web application that provides a dashboard to monitor and manage the health and performance of your hard drives. This tutorial will guide you on how to install Scrutiny on Fedora CoreOS Latest.

Prerequisites

Before proceeding with the installation, you need to ensure the following:

Installation

Follow the below steps to install Scrutiny on Fedora CoreOS Latest:

Step 1: Install a web server

Scrutiny requires a web server to run. You can install Apache or Nginx on your Fedora CoreOS server. For this tutorial, we will be using Nginx.

To install Nginx, run the following command:

sudo dnf install nginx

Step 2: Install dependencies

Scrutiny requires some dependencies to be installed on the server. You can install them using the following command:

sudo dnf install smartmontools smartmontools-devel gcc g++ make openssl-devel libssl-dev

Step 3: Install Scrutiny

To install Scrutiny, follow the below steps:

  1. Clone the Scrutiny repository using the following command:

    git clone https://github.com/AnalogJ/scrutiny.git
    
  2. Change the current working directory to the cloned repository:

    cd scrutiny
    
  3. Install Scrutiny using the following command:

    npm i --prod
    
  4. After the installation is complete, start the Scrutiny service using the following command:

    npm run start:prod
    

Step 4: Configure Nginx

To configure Nginx for Scrutiny, follow the below steps:

  1. Create a new configuration file for Nginx:

    sudo vim /etc/nginx/conf.d/scrutiny.conf
    
  2. Add the following content to the file:

    server {
        listen 80;
        server_name example.com; # Replace with your domain name or IP address
        location / {
            proxy_pass http://localhost:8080;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_buffering off;
            client_max_body_size 0;
            proxy_read_timeout 36000s;
            proxy_redirect off;
        }
    }
    
  3. Save and close the file.

  4. Restart Nginx service to apply the changes:

    sudo systemctl restart nginx
    

Step 5: Access Scrutiny dashboard

You can now access the Scrutiny dashboard using a web browser. Open your browser and go to http://example.com (Replace example.com with your domain name or IP address).

You should now see the Scrutiny dashboard where you can monitor and manage the health and performance of your hard drives.

Conclusion

Scrutiny is a great tool to monitor and manage the health of your hard drives. With this tutorial, you should be able to easily install and configure Scrutiny on your Fedora CoreOS Latest server.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!