How to Install Isso on Fedora Server Latest

Isso is an open-source alternative to Disqus which is a self-hosted commenting system for static sites that helps to keep your visitor's data on their servers. In this tutorial, we will learn how to install Isso on Fedora Server Latest.

Prerequisites

Before we start going through the installation process, you need to have the following:

Step 1: Install Required Dependencies

We need to install some dependencies in order to run Isso. Run the following command to install the required dependencies:

sudo dnf update && sudo dnf install python3 python3-pip nginx

Step 2: Install Isso

After installing the required dependencies, we can install Isso. Run the following command to install Isso:

sudo pip install isso

Step 3: Configure Isso

After installation, we need to configure Isso. Create a new configuration file in the Isso installation directory as follows:

sudo nano /etc/isso.conf

Then add the following content inside the newly created file:

[general]
dbpath = /var/lib/isso/comments.db
host = http://localhost:8080/
[server]
listen = http://localhost:8080/
reload = off
max-age = 15m

Save and close the file after adding the above configuration.

Step 4: Run Isso

To run Isso, we can use systemd. Run the following command to create a new systemd service file:

sudo nano /etc/systemd/system/isso.service

Then add the following content inside the newly created file:

[Unit]
Description=Isso commenting system

[Service]
User=nobody
Group=nobody
ExecStart=/usr/bin/isso run /etc/isso.conf

[Install]
WantedBy=multi-user.target

Save this file and reload the systemd daemon as follows:

sudo systemctl daemon-reload

Then start and enable the Isso service as follows:

sudo systemctl start isso
sudo systemctl enable isso

Step 5: Configure NGINX

Finally, we need to configure the Nginx server to work with Isso. Run the following command to create a new Nginx configuration file:

sudo nano /etc/nginx/conf.d/isso.conf

Then add the following content inside the newly created file:

server {
listen 80;
server_name example.com;
location /comments {
proxy_pass http://127.0.0.1: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;
}
}

Save the file and restart the Nginx server as follows:

sudo systemctl restart nginx

Conclusion

In this tutorial, we learned how to install Isso on Fedora Server Latest. Now you can integrate Isso into your static site to add comments functionality.

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!