Spring Boot – Jetty as embedded server
By default, Spring Boot use Tomcat as the default embedded server, to change it to Jetty, just exclude Tomcat and include Jetty in pom.xml . From the dependency: spring-boot-starter-web, we…
Spring Boot – How to change Context Path
In Spring Boot, by default, the context path is “/”. To change the context path, we need to update server.contextPath properties. The following examples update the context path from /…
Spring Boot – How to change Tomcat port
In Spring Boot, to change the embedded Tomcat initialized port (8080), update server.port properties. Tested with Spring Boot 1.4.2.RELEASE
How to change Tomcat default port ?
Tomcat by default runs on port number 8080, However there is high chance get a port conflict with others program. Sometime we just need to change the Tomcat port number.
How to delete a user account on Ubuntu Linux
It is always a good idea to delete unwanted or unused user accounts on Ubuntu Linux or any other operating system for security reasons. This page shows how to remove…
List all ports opened in windows (netstat -nb)
Maybe you’re troubleshooting a network connectivity issue for a specific program, and you need to check whether its port access is open. What if you need to confirm that your…
Where does Homebrew install packages on Mac?
By default, Homebrew will install all packages in the directory /usr/local/Cellar/, and also creates symbolic links at /usr/local/opt/ and /usr/local/bin/ (for executable files). Tested with Homebrew 2.7.2 and macOS Big…
How to set JAVA_HOME on Windows 10?
This tutorial shows you how to set a JAVA_HOME system variable on Windows 10. Tested with :Windows 10JDK 1.8
How to install Maven on macOS
This article shows how to install Maven (3.6.3) on macOS Big Sur (version 11.1). We can use Homebrew to install Maven on macOS . If Homebrew failed you or you…
How to install Maven on Windows
To install Apache Maven on Windows, you just need to download the Maven’s zip file, unzip it to a folder, and configure the Windows environment variables. Tested with :JDK 10,…