How to Install Bluecherry on Manjaro

Bluecherry is a video surveillance software that can be used for monitoring security cameras, recording events, and more. This tutorial will guide you through the steps for installing Bluecherry on your Manjaro system.

Prerequisites

Before starting the installation process, make sure you have the following prerequisites:

Step 1: Update Manjaro

It is always a good practice to update your system before installing any new software. Open a terminal window and run the following command:

sudo pacman -Syu

This command will update all the packages on your system and also upgrade them to the latest version.

Step 2: Install Required Dependencies

Bluecherry requires several dependencies that need to be installed before the software can be installed. Run the following command to install these dependencies:

sudo pacman -S apache php mariadb mariadb-clients mariadb-libs libv4l libjpeg-turbo libx264 opencv ffmpeg vlc

Apache and PHP are required for the Bluecherry web interface, while Mariadb is required for the database. Libv4l, libjpeg-turbo, libx264, Opencv, and FFmpeg are required for the video processing, and VLC is required for video playback.

Step 3: Install Bluecherry

To install Bluecherry, open a terminal window and type the following command:

yaourt -S bluecherry

This command will start the installation process and take some time depending on your internet speed.

Step 4: Configure the Database

After the installation is complete, you will need to configure the database. Follow the below-given steps:

  1. Open a terminal window and run the following command:

    sudo mysql_secure_installation
    

    This command will start the Mariadb installation wizard.

  2. Follow the wizard steps and create a root password for the database.

  3. Once the wizard is complete, log in to the database using the following command:

    mysql -u root -p
    

    Enter the root password created in the previous step.

  4. Create a new database for Bluecherry using the following command:

    create database bluecherry_db;
    
  5. Create a new Bluecherry user with the following command:

    create user 'bluecherry'@'localhost' identified by 'new_password';
    

    Make sure to replace the 'new_password' with a secure password.

  6. Grant privileges to the user using the following command:

    grant all privileges on bluecherry_db.* to 'bluecherry'@'localhost';
    

    This will give the Bluecherry user full access to the database.

Step 5: Configure Bluecherry

Now that the database is configured, you need to configure Bluecherry. Follow the given steps:

  1. Open a browser and go to http://localhost/bluecherry/install.

  2. Follow the installation wizard steps, and enter the database details you created in the previous step.

  3. Finish the wizard, and log in to the Bluecherry interface using the username and password you created during the installation.

Conclusion

Congratulations, you have successfully installed Bluecherry on your Manjaro system. Enjoy monitoring your security cameras and recording events on this user-friendly software.

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!