Install Nginx on CentOS

Nginx is a web server used to run web pages, similar to the Apache HTTP server with high performance. In this tutorial, I will show you how to install Nginx on CentOS! First, because the CentOS default Repository does not contain Nginx’s installation package, you… Read More

Install Elasticsearch on CentOS

Elasticsearch, from its name, can you also guess that it is related to search? It is a search engine built from Apache Lucene that helps us to search quickly using RESTful Web Service. It was developed using Java language and is a distributed system, easily… Read More

Configure Web Origin in Keycloak

When using Keycloak for the authentication of web applications, we will often encounter Web Origin-related errors such as “Access to XMLHttpRequest at ‘http://localhost:8080/realms/huongdanjava/protocol/openid-connect/token’ from origin ‘http://localhost:4200’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.” The reason is that… Read More