How to Install Quru Image Server on Ubuntu Server (latest)

Quru Image Server is a powerful platform that allows users to upload, organize, and distribute images at scale. In this tutorial, we will guide you through the process of installing Quru Image Server on Ubuntu Server.

Prerequisites

To install Quru Image Server on Ubuntu Server, there are a few things you will need:

Step 1 - Update the System

Before starting with the installation of Quru Image Server, it is essential to update your system to the latest packages. To do so, run the following command in the terminal:

sudo apt-get update && sudo apt-get upgrade

Step 2 - Install Required Packages

Next, we need to install some required packages that are necessary for the proper functioning of Quru Image Server. Run the following command to install the necessary packages:

sudo apt-get install -y git build-essential libpq-dev libjpeg-dev libpng-dev libtiff-dev libgif-dev libwebp-dev liblcms2-dev libxml2-dev libxslt1-dev libsqlite3-dev libldap2-dev libffi-dev libssl-dev zlib1g-dev libfreetype6-dev libopenjp2-7-dev

Step 3 - Install Quru Image Server

We will install Quru Image Server from the official GitHub repository. To do so, follow the below steps:

  1. Clone the Quru Image Server repository by running the following command:

    git clone https://github.com/quru-image-server/quru-image-server.git
    
  2. Next, navigate to the cloned repository directory:

    cd quru-image-server
    
  3. After that, create a virtual environment for installing Quru Image Server dependencies:

    python3 -m venv venv
    
  4. Activate the virtual environment:

    source venv/bin/activate
    
  5. Finally, install Quru Image Server dependencies with the following command:

    pip3 install -r requirements.txt
    

Step 4 - Configure Quru Image Server

Now that we have successfully installed Quru Image Server, we need to configure it.

  1. Create a configuration file for Quru Image Server using the following command:

    cp config.sample.py config.py
    
  2. Open the config.py file in your preferred text editor and modify the following settings:

    • SECRET_KEY - Replace with a secret key generated using a secure key generator tool.
    • DATABASE - Change the database settings according to your requirements.
    • MEDIA_URL and MEDIA_ROOT - Change the settings to specify the media URL and media folder path.
  3. Next, create the database schema by running the following command:

    python3 manage.py migrate
    

Step 5 - Start Quru Image Server

We have successfully installed and configured Quru Image Server. Now it's time to start the server by running the following command:

python3 manage.py runserver

Once you run the above command, Quru Image Server will start running at http://127.0.0.1:8000/.

Conclusion

We have successfully installed Quru Image Server on Ubuntu Server. You can now start using Quru Image Server to upload, organize and distribute your images.

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!