UnoPim Installation on Ubuntu 24.04

Updated 26 November 2024

UnoPim is a free, open-source PIM system built on Laravel, simplifying product data management for companies.

In the previous blog, we discussed why it is critical to have robust hosting for PIM.

Benefits of UnoPIM

Centralizes data

UnoPim centralizes product data across various industries, including Fashion, Retail, Food & Beverage, Energy, Utilities, and CPG.

Improves customer experience

By keeping information updated and consistent, UnoPim helps businesses provide better customer experiences.

Customizable

UnoPim is customizable, allowing businesses to set it up to meet their unique requirements. 

This document provides step-by-step instructions for installing UnoPim on Ubuntu.

Prerequisites:

Before proceeding with the installation, ensure your system meets the following requirements:

  • Ubuntu Version: 24.04
  • Minimum System Requirements:
    • RAM: 8 GB or higher
    • CPU: 4 Cores
    • Disk Space: 25 GB
  • Required Software:
    • Web-server: Apache 2 or NGINX
    • Database: MySQL 5.7 or higher, MariaDB 10.10 or higher, 
    • PHP: 8.2 or higher 
    • Composer: 2.2.0 or higher 

UnoPim Installation Steps

Step 1: Install Apache2 Web Server

Start by updating your local package repository and installing Apache2:

Verify that Apache is running:

Step 2: Install MySQL and Create Database

For Local Database Server:

1. Install MySQL:

2. Configure the MySQL root user and create the UnoPim database:

For AWS RDS (if using a remote database):

When considering Amazon RDS for your database needs, it’s important to understand the key benefits and when to leverage them:

1. Scalable Resources: Automatically scale your database up or down based on workload demand, ensuring optimal performance.

2. Automated Backups: Benefit from regular automated backups and manual snapshots, providing data protection and fast restores.

3. Managed Security: RDS automatically applies security patches and updates, reducing the need for manual intervention and enhancing security.

4. High Availability: Enable Multi-AZ deployments for automatic failover, ensuring minimal downtime and increased reliability.

5. Read Replicas: Improve read performance by distributing the read load across multiple replicas, enhancing application scalability.

6. AWS Integration: Seamlessly integrate with other AWS services like AWS CloudWatch for monitoring and AWS IAM for access management.

7. Infrastructure as Code: Automate database provisioning and management using tools like AWS CloudFormation, enabling consistency and faster deployments.

Now connect to RDS and configure the database:

Step 3: Install PHP and Required Extensions

1. Install PHP 8.2 and the necessary extensions

php8.2-cli, php8.2-apcu, php8.2-bcmath, php8.2-curl, php8.2-opcache, php8.2-fpm, php8.2-gd, php8.2-intl, php8.2-mysql,php8.2-xml, php8.2-zip, php8.2-mbstring, php8.2-imagick, libapache2-mod-php8.2.

2. Adjust PHP settings in php.ini for PHP CLI and FPM:

The memory_limit is set to 1024M (1GB) to allow more memory usage for PHP scripts run via the terminal, useful for resource-intensive tasks.

The date.timezone is set to UTC to standardize the time zone globally, avoiding local time zone issues.

The memory_limit is set to 512M to limit memory usage for PHP scripts executed by the web server, balancing performance and resource usage.

The date.timezone is also set to UTC to ensure consistency across applications and servers.

3. Enable Apache modules and restart Apache:

Step 4: Install Composer


1. Install curl, wget, and other required utilities:

2. Install Composer:

Step 5: Download and Configure UnoPim

1. Create a new user for UnoPim:

2. Download the UnoPim code:

3. Install the required PHP dependencies:

4. Copy the .env file:

5. Edit .env and update the necessary values based on your database setup:

Save and exit the file.

Step 6: Set Up Apache Virtual Hosts

1.
Create a virtual host configuration for UnoPim:

Add the following configuration (adjust paths and domain/IP as needed):

2. Make changes in the Apache envvars file as per your user

3. Enable the site and restart Apache:

Step 7: Complete UnoPim Installation

1. Run the UnoPim installation:

Note: log_bin_trust_function_creators should only be enabled in development environments.

For production systems, avoid using this setting unless absolutely necessary. You can set the log_bin_trust_function_creators value to be 0 after installation.

Follow the prompts to configure UnoPim, including setting up the application name, URL, currency, and admin credentials.

Set your admin Name, email, and password, and finish the installation.
For Example:

Below i setup the admin credentials as:

ADMINISTRATOR_NAME=admin
[email protected]
ADMINISTRATOR_PASSWORD=admin@123

Step 8: Access UnoPim

Open a browser and navigate to the following URL:

Log in with the email and password you set up.


The UnoPim has been successfully installed on your server.

Need Support?

Thank You for reading this Blog!

For further more interesting blogs, keep in touch with us. If you need any kind of support, simply raise a ticket at https://webkul.uvdesk.com/en/.

You may also visit our Odoo development services and quality Odoo Extensions.

For further help or query, please contact us or raise a ticket.

Category(s) AWS cloud ecommerce
author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home