We will enter the super user mode, command to turn off the swap memory, and exit the super user mode. Finally we launch htop command to confirm that that the swap memory is already turned off.
sudo su -
swapoff -a
exit
htop
Control-c to go back to terminal
Step 3: Docker-CE Installation
If you already have docker engine installed, you can skip this step.
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
You can run the following command to check if the docker is successfully installed.
sudo docker run hello-world
Step 4: Docker-Compose Installation
If you already have docker compose installed, you can skip this step.
Press CTRL+x to exit editor, and then y to save the file.
Then run the following line.
sudo systemctl restart docker
docker run --rm nvidia/cuda:9.0-base nvidia-smi
In the printed out table there must be the name of the graphic card installed in the server
Step 8: Deploy Thai National ID Card OCR Docker image
You can purchase our on-premise license by contacting us at info@iapp.co.th or call +6686-322-5858.
Once you purchase our On-Premise license, You will received the Thai National ID Card Docker image from us in the zip file. It contains two files.