Install Kibana on CentOS

Kibana is an GUI tool for searching and displaying logs provided by Elasticsearch. In this tutorial, I will guide you to install this tool on CentOS! First, just like when installing Elasticsearch, because by default CentOS does not contain Kibana’s installation package, you need to… Read More

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 Spring Security using WebSecurityConfigurerAdapter and AbstractSecurityWebApplicationInitializer

In the introduction to Spring Security, we used a configuration file and declared it with the DelegatingFilterProxy filter class to enable Spring Security for any web application. We can also do this using Java code with the WebSecurityConfigurerAdapter and AbstractSecurityWebApplicationInitializer classes, powered by Spring Security.… 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/auth/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