Red Hat Install - Docker and Core Installation
From VersaVision Support
OVERVIEW
- The VersaVision software runs inside of a Docker environment.
- Each Application runs inside of a specific Container on Docker.
- In order to get the system running, we will need to install Docker and the Core Package on the Red Hat Computer/Server/VM
- The user will need the IP Address of the Computer/Server/VM.
- Verify with your IT Department that the IP Address assigned is either a Static IP or DHCP Reserved Address.
- The guide below will explain how to install Docker and the Core Software Package.
REQUIREMENTS
- Computer/Server/VM must be loaded with Red Hat 8 or 9.
- IT must assign an Administrator level user name and password for VersaCall Installation/User.
- Internet Access Required for the Installation process. Access can be removed after installation.
- SSH Client is required if the User/Installer does not have physical access to the server.
- Server/Computer/VM must have a Static IP Address or a DHCP Reserved IP Address.
- The Core and Docker files must already be downloaded and uploaded to the Red Hat Computer/Server/VM.
TOOL TIP
- There is specific Code that needs to be entered in on the steps below. The Paste function in Terminal works differently from Windows.
- To Copy - select the Code/Text in the cell so that it is highlighted. Press the Control Key & C Key on your keyboard at the same time. Alternatively, you can right click on the highlighted text and select Copy from the pop-up menu.
- To Paste - Right Click on the Cursor next to the User Prompt. The copied text will fill in automatically.
- There is specific Code that needs to be entered in on the steps below. The Paste function in Terminal works differently from Windows.
INSTRUCTIONS
- Copy the Code/Text from the cell below.
- cat /proc/sys/fs/inotify/max_user_instances
- Copy the Code/Text from the cell below.
- sudo sysctl fs.inotify.max_user_instances=524288
- You maybe asked for your Red Hat password.
- Type in the password on your keyboard, nothing will show on the Terminal.
- Copy the Code/Text from the cell below.
- sudo sysctl -p
- Copy the Code/Text from the cell below.
- echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf
- Copy the Code/Text from the cell below.
- sudo sysctl -p
- Copy the Code/Text from the cell below.
- sudo yum update
- Copy the Code/Text from the cell below.
- sudo yum install yum-utils -y
- Copy the Code/Text from the cell below.
- sudo yum-config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
- Copy the Code/Text from the cell below.
- sudo yum install containerd.io -y
- Copy the Code/Text from the cell below.
- sudo yum install --allowerasing docker-ce
- Copy the Code/Text from the cell below.
- sudo systemctl start docker
- Copy the Code/Text from the cell below.
- sudo systemctl enable docker
- Copy the Code/Text from the cell below.
- sudo docker swarm init
- Copy the Code/Text from the cell below.
- sudo docker image load -i 'packages-api!1.1.2.tar'
- Copy the Code/Text from the cell below.
- sudo docker run -d --name initial-packages-api -p 9998:80 --mount type=bind,source=/var/run/docker.sock,destination=/var/run/docker.sock --mount type=volume,source=packages-api,destination=/var/lib/packages-api -e INITIAL_DEPLOYMENT_MODE=true packages-api:1.1.2
- Copy the Code/Text from the cell below.
- sudo curl -F 'file=@core-package!1.1.2.1.package' http://localhost:9998/api/packages/upload
- Copy the Code/Text from the cell below.
- sudo docker container rm -f initial-packages-api
- Return to the Software Install Main page and continue with the next Guide/Step.