Ngocbd

Mysql remote connection ubuntu

For a remote database setup since MySQL must be able to listen for an external IP address where the server can be reached. To enable this, open up your mysqld.cnf file: sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf It will look like this: . . . lc-messages-dir = /usr/share/mysql skip-external-locking # # Instead of skip-networking the default is now to listen only on…

Read More

Detect text on image using tess4j library on linux

Tesseract OCR library is the best way to detect text on image. Let’s start with Java spring boot project. – Step 1: Download template spring boot project on: https://github.com/habogay/spring-boot-gcp – Step 2: Install tesseract otc: sudo apt-get install tesseract-ocr – Step 3: create environment in tool (I use eclipse): TESSDATA_PREFIX=/usr/share/tesseract-ocr/tessdata/ – Step 4: Use Tesseract: String…

Read More

Running on Docker-Compose

Today, i will share you how to create and run Docker-Compose. First, do you know about Docker-Compose :D. Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your…

Read More

Install, Use and Demo the project for Spring Boot Docker using Google Cloud Build service

* Introduction Docker Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. By taking advantage of Docker’s methodologies for shipping, testing, and…

Read More

How to build – develop odoo/odoo addons , modules from source

Build (or install) Odoo (OpenERP) from the source are needed when a developer wants to deep look in how Odoo work. 1.Install postgresql sudo apt-get install postgresql postgresql-contrib cd odoo/ 2.Clone odoo source code git clone https://github.com/odoo/odoo.git 3.install setup tools and lib sudo apt-get install python3-setuptools python3-setuptools sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev 4.create odoo postgres user login…

Read More