Paperless-ngx is a web-based document management system that helps to organize and streamline your paperwork. In this tutorial, we will guide you on how to install Paperless-ngx on Ubuntu Server Latest.
Before we start with the installation, make sure that you have the following prerequisites:
The first step is to update the system packages to their latest versions.
sudo apt update
sudo apt upgrade
Paperless-ngx requires some dependencies that need to be installed before we proceed with the installation process.
sudo apt install git build-essential gcc python3-dev python3-pip libsm6 libxrender1 libfontconfig1
Next, clone the Paperless-ngx repository from GitHub to your Ubuntu server.
sudo git clone https://github.com/jonaswinkler/paperless-ng.git /opt/paperless-ng
After cloning the Paperless-ngx repository, navigate to the cloned directory and install the requirements.
cd /opt/paperless-ng
sudo pip3 install -r requirements.txt
Before you can run Paperless-ngx, you need to configure some settings first. Begin by creating the configuration file.
sudo cp contrib/env-sample .env
Note that you can also edit the .env
file using your preferred text editor and update the settings based on your requirements.
Paperless-ngx requires a database to store its data. Firstly, update the database settings in the .env
file. Then, run the following commands to create the schema:
sudo python3 manage.py makemigrations
sudo python3 manage.py migrate
To log in to the Paperless-ngx web interface, you need to create an admin user account. Run the following command and enter the credentials as required:
sudo python3 manage.py createadmin
Now that you have installed, configured and created an admin user, it's time to run the server. Use the following command:
sudo python3 manage.py runserver 0.0.0.0:8000
You should see the following output:
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
To access the web interface, navigate to http://<your-server-ip>:8000
in your preferred browser. You should see the login page. Log in with your admin credentials, and you should be able to see the Paperless-ngx dashboard.
Congratulations, you have successfully installed Paperless-ngx on your Ubuntu Server Latest. You can now begin organizing and managing your paperwork efficiently.
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!