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

Alexandre Minette, Full-Stack Software Engineer @ Pennylane

Job Concurrency in Kubernetes: LXD and CPU-pinning to the rescue

How to Create a Github Repository

Chapter 5. Using Centum Amici System To Remember The Periodic Table

Manipulating Multidimensional Numpy Points

There is no such thing as technical debt

Ethical Hacking (Part 11): Squid Transparent Proxy with ARP Spoofing

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

Install Cloudwatch Agent install in the Elasticbeanstalk Environment

Planning — Release 0.4 — OSD600

Open Source — As a Rookie

How baller is Mahler?