How to Install IBM Maximo Visual Inspection Edge with RHEL OS on Server x86 ?

Ilustration-1:IBM Maximo Visual Inspection Edge 1.3 Welcome Page
  1. Enable common, optional, and extra repo channels.
sudo subscription-manager repos --enable=rhel-7-server-optional-rpmssudo subscription-manager repos --enable=rhel-7-server-extras-rpmssudo subscription-manager repos --enable=rhel-7-server-rpms
sudo yum -y install wget nano bzip2
wget rpm -ihv epel-release-latest-7.noarch.rpm
  • Load the latest kernel:
sudo yum install kernel-develsudo yum update kernel kernel-devel kernel-tools kernel-tools-libsreboot
  • Do a full update:
sudo yum install kernel-devel sudo yum update sudo reboot
  • Copy the /lib/udev/rules.d/40-redhat.rules file to the directory for user overridden rules:
sudo cp /lib/udev/rules.d/40-redhat.rules /etc/udev/rules.d/
  • Edit the /etc/udev/rules.d/40-redhat.rules file:
sudo nano /etc/udev/rules.d/40-redhat.rules
  • Comment out the entire “Memory hotadd request” section and save the change:
# Memory hotadd request #SUBSYSTEM!="memory", ACTION!="add", GOTO="memory_hotplug_end" #PROGRAM="/bin/uname -p", RESULT=="s390*", GOTO="memory_hotplug_end"  #ENV{.state}="online" #PROGRAM="/bin/systemd-detect-virt", RESULT=="none", ENV{.state}="online_movable" #ATTR{state}=="offline", ATTR{state}="$env{.state}"  #LABEL="memory_hotplug_end"
  • Optionally, delete the first line of the file, since the file was copied to a directory where it cannot be overwritten:
# do not edit this file, it will be overwritten on update
  • Restart the system for the changes to take effect:
sudo reboot
sudo yum-config-manager --add-repo yum clean allsudo yum -y install nvidia-driver-latest-dkms cudasudo yum -y install cuda-drivers
sudo systemctl enable nvidia-persistenced
sudo reboot
Ilustration-2: nvidia-smi test (NVIDIA Cuda 11.4)
  • Install Docker:
sudo yum install docker
  • Reboot the system.
  • Ensure the Docker service is running with the following command:
sudo systemctl --now enable docker
  • And finally, test your Docker installation. We can query the version info:
sudo docker -v
  • Add the package repositories and install Nvidia-Docker2
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) 
curl -s -L$distribution/nvidia-docker.repo | sudo tee /etc/yum.repos.d/nvidia-docker.repo
sudo yum install -y nvidia-container-toolkit sudo systemctl restart docker
  • At this point, a working setup can be tested by running a base CUDA container:
sudo docker run --rm -e NVIDIA_VISIBLE_DEVICES=all nvidia/cuda:11.0-base nvidia-smi
Ilustration-3: Nvidia-Docker2 Test

Before you begin

Installing Maximo Visual Inspection Edge

  1. On your file system, identify where you want to install Maximo Visual Inspection Edge, for example /apps.
  2. In the identified location, create a directory. The final directory in the installation path is the installation root directory and must be called vision-edge, for example, /apps/vision-edge. The following instructions use <installation root directory> for this directory.
  3. Log in to the repository where you want to download images from, which can be a custom repository or the IBM® Cloud repository. For example, to log into the IBM® Cloud repository, run the sudo docker login command and provide your username and API key. In the following instructions, <docker image repository> refers to the location of the repository that you download Docker® images from.
  4. Create the required directories and files by running the following command:
sudo docker run --rm -v <installation root directory>:/opt/ibm/vision-edge -e hostname=$(hostname -f) --privileged -u root <docker image repository>/vision-edge-inception:<release version>
sudo docker run --rm -v /apps/vision-edge:/opt/ibm/vision-edge -e hostname=$(hostname -f) --privileged -u root
sudo <installation root directory>/
Ilustration-4: Finish to install




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

SaaS Cloud Migration: Governance

CS 371p Fall 2020: Michael Lee

Sensitivity Randomization

ASP.NET MVC 5 CRUD Tutorial With Example For Beginners


Benchmarking low-level I/O: C, C++, Rust, Golang, Java, Python

Creating Collectable Coins in Unity

CS371g Summer 2021: Sang Pham

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
cahyati sangaji (cahya)

cahyati sangaji (cahya)

More from Medium

January 2022 Patch Tuesday BLUF

Monitoring Chrony with Grafana and Telegraf

SkyGrid Launches All-in-One Flight Control Drone App for iOS Globally

DigitalOcean SSH Connection Refused: Causes and Solutions