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.
To install Quru Image Server on Ubuntu Server, there are a few things you will need:
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
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
We will install Quru Image Server from the official GitHub repository. To do so, follow the below steps:
Clone the Quru Image Server repository by running the following command:
git clone https://github.com/quru-image-server/quru-image-server.git
Next, navigate to the cloned repository directory:
cd quru-image-server
After that, create a virtual environment for installing Quru Image Server dependencies:
python3 -m venv venv
Activate the virtual environment:
source venv/bin/activate
Finally, install Quru Image Server dependencies with the following command:
pip3 install -r requirements.txt
Now that we have successfully installed Quru Image Server, we need to configure it.
Create a configuration file for Quru Image Server using the following command:
cp config.sample.py config.py
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.Next, create the database schema by running the following command:
python3 manage.py migrate
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/
.
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!
Alternatively, for the best virtual desktop, try Shells!