Thumbor is an open-source image manipulation service that can be used to resize, crop, or filter images on the fly. If you are looking to install Thumbor on your Manjaro system, this tutorial will guide you through the installation process.
The first step is to install the system dependencies required by Thumbor. Open the terminal and run the following command:
sudo pacman -S libffi libjpeg-turbo libwebp openjpeg zlib
Thumbor is written in Python, so we need to install Python on the system. Most systems come with Python installed by default, but if you are not sure, you can check by running the following command:
python --version
If Python is not installed, run the following command to install Python:
sudo pacman -S python
To install Thumbor on Manjaro, we can use the pip package manager. Run the following command to install Thumbor:
sudo pip install thumbor
The next step is to configure Thumbor. The configuration file for Thumbor is located in the /etc/thumbor.conf
directory. Open the configuration file using your favorite text editor and configure Thumbor according to your needs.
sudo nano /etc/thumbor.conf
In the configuration file, you can customize the port, image quality, cache settings, and other parameters.
Now that Thumbor is installed and configured, we can start the Thumbor service. Run the following command to start the Thumbor service:
sudo systemctl start thumbor
If you want to start the Thumbor service automatically at boot time, you can run the following command:
sudo systemctl enable thumbor
To verify that Thumbor is running properly, open your web browser and navigate to http://localhost:8888/unsafe/300x300/https://thumbor.readthedocs.io/en/latest/_static/thumbor-logo-big.png.
If you see the Thumbor logo image with a size of 300x300, Thumbor is installed and working correctly.
That’s it! You have successfully installed and configured Thumbor on your Manjaro system. With Thumbor, you can easily resize, crop, or filter images on the fly.
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!