In this tutorial, we will guide you through the process of installing Miniflux on Debian latest.
Before we start, make sure you have the following:
Before installing anything, let's make sure the system is up-to-date. Run the following command:
sudo apt update && sudo apt upgrade
We need to install some dependencies before installing Miniflux. Run the following command:
sudo apt install -y git make gcc g++ pkg-config tzdata
Miniflux requires a PostgreSQL database, so let's install it. Run the following command:
sudo apt install -y postgresql postgresql-client
After the installation is complete, start the PostgreSQL service and enable it to start automatically on boot:
sudo systemctl start postgresql
sudo systemctl enable postgresql
Now we need to create a PostgreSQL database for Miniflux. Connect to the postgres user account for PostgreSQL by running the following command:
sudo su postgres
Then, create a new database with the name "minifluxdb" and a new user named "minifluxuser" with a password of your choice (e.g. "mypassword"):
psql
CREATE DATABASE minifluxdb;
CREATE USER minifluxuser WITH PASSWORD 'mypassword';
GRANT ALL PRIVILEGES ON DATABASE minifluxdb TO minifluxuser;
\q
exit
Clone the Miniflux Git repository to your server with the following command:
git clone https://github.com/miniflux/miniflux.git
Navigate to the miniflux
folder and run the installation script:
cd miniflux
make setup
During the installation, you will be prompted to provide the database information. Enter the following information when prompted:
After the installation is complete, we need to configure Miniflux. Open the config.yml
file:
nano config.yml
Change the following configuration items:
base_url
: The URL of your Miniflux installation, e.g. https://miniflux.mydomain.com
.database_url
: The database URL in the following format: postgresql://minifluxuser:mypassword@localhost:5432/minifluxdb?sslmode=require
.Save the changes and exit the editor.
We're almost done! Start the Miniflux service:
make run
The service should start running in the terminal. Go to your browser and navigate to http://localhost:8080
to see the Miniflux login page.
Congratulations! You have successfully installed Miniflux on Debian latest. You can now use Miniflux to read your RSS feeds. Happy reading!
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!