Uncategorized
-
How to Add HDD Passthrough to a Proxmox VM Adding physical disk passthrough to a Proxmox VM can significantly improve performance by granting direct access to the disk, bypassing virtual layers. Here, we’ll walk through setting up a hard disk (HDD) passthrough, gathering the disk’s serial information, and configuring the passthrough with Proxmox commands. Requirements:…
-
Step 1: Create a Spring Boot Application Create a new file src/main/java/com/example/demo/HelloController.java and add the following content: Build the project: Open a terminal in the project directory and run: Run the application: Run the application using the command: You should be able to access http://localhost:8080/hello and see “Hello, World!”. Step 2: Save the Project to…
-
Introduction In this tutorial, we will refactor a simple Spring Boot application into two files for better code organization. By separating the controller and application startup logic, we adhere to best practices and improve maintainability. Prerequisites Before we begin, ensure you have: Step 1: Initial Setup Start with the following code in DemoApplication.java: Step 2:…
-
Install Oracle Java oracle Java 21 isn’t available in the default Ubuntu 24.04 repository, so it can’t be installed with a single command. You’ll need to manually download the installation package using the wget command and then install it. To download Oracle Java 21, use the following command : Once you’ve downloaded the Oracle Java…