In the modern age, safeguarding our precious memories in the form of photos and videos has become incredibly vital. Immich, a self-hosted backup solution for photos and videos, provides a secure and efficient method for storing and accessing your media files. This article will guide you through the process of installing Immich on Manjaro, a popular Arch-based Linux distribution.
Prerequisites
Before you start with the installation, make sure you have:
- A server or desktop running Manjaro or any other Arch-based distribution. It’s recommended to use a fresh OS install to prevent any potential issues.
- SSH access to the server (or simply open Terminal if you’re on a desktop).
- A stable internet connection. This is essential for downloading and installing packages. Verify your connection before proceeding.
- Access to a Manjaro Linux system with a non-root sudo user or root user.
Steps to Install Immich on Manjaro
Step 1: Prepare Your System
To prepare your Manjaro system for the Immich installation, start by updating all the installed packages to their latest versions. Open a terminal and run the following command:
sudo pacman -Syu
This command will synchronize the package databases and upgrade any outdated packages to their latest versions, ensuring that your system is up-to-date and ready for the Immich installation.
Step 2: Install Docker on Manjaro
Immich relies on Docker, a widely used containerization platform, to run its various components in isolated environments. To install Immich on Manjaro, you’ll first need to install Docker on your system.
Use the following command to install Docker:
sudo pacman -S docker
After the installation, start the Docker service and enable it to run at system startup:
sudo systemctl start docker sudo systemctl enable docker
To verify that Docker is running correctly, execute the following command:
sudo docker run hello-world
If Docker is set up properly, you should see a message confirming that the installation is working as expected.
Step 3: Install Immich on Manjaro
To set up Immich on your Manjaro system, you’ll use Docker to run the Immich server and its associated components. Follow these steps to configure and start the Immich Docker container:
mkdir immich && cd immich
Download the Immich Docker Compose file using the following command:
wget https://raw.githubusercontent.com/immich-app/immich/main/docker/docker-compose.yml
This file contains the necessary configuration to run Immich and its related services.
Open the docker-compose.yml
file in a text editor and customize the following settings according to your preferences:
IMMICH_WEB_URL
: Set the URL where you’ll access the Immich web interface.IMMICH_MACHINE_LEARNING_URL
: Set the URL for the machine learning service.IMMICH_SERVER_URL
: Set the URL for the Immich server.IMMICH_WEB_UPLOAD_LIMIT
: Specify the maximum file size allowed for uploads.
Save the file, then start the Immich Docker container using Docker Compose:
sudo docker-compose up -d
Wait for a few moments while Docker sets up the Immich environment. You can monitor the progress by running:
sudo docker-compose logs -f
Once you see log messages indicating that the services are running, Immich is ready to use.
Step 4: Access the Immich Web Interface
With the Immich server up and running, you can now access the web interface to start managing your photos and video backups. Enter the URL you specified for IMMICH_WEB_URL
in the docker-compose.yml
file. For example, if you set it to http://immich.local
, enter that URL in your browser’s address bar.
Congratulations! You have successfully installed Immich on your Manjaro system.
In addition, if you are looking for a reliable and efficient Cloud VPS, Shape.host, offers a wide range of services to suit your needs. With excellent customer service and a variety of packages to choose from, Shape.host can help you get your project up and running in no time.