How to disable password based login in Linux

It’s quite easy to disable the password based login in the SSH. Before you proceed check if you have prepared the system to logon without password. You have a user other than root, who can enter the remote server. If not, take a look into my article How to disable root login Please check if […]

Configure SSH login without password

Secure Shell (SSH) is a very popular cryptographic network protocol to connect securely to your remote server. One reason why it’s so popular is that it’s so easy to use. E.g. you need to execute three commands, only and you don’t need to enter a password to connect to your remote machine. The first step […]

Disable root login

It’s a bad idea to login with your superuser. There are too many bots running and trying to hijack your server. You don’t need to make it easier for them to take over your server. Therefore you should disable the root login via SSH. The first step is to create a user and a password […]

Upgrade Debian 8 (Jessie) to 9 (Stretch)

Debian 8 LTS ends in mid 2020 and Debian 9 is the latetest production release and Debian 10 is knocking on the door. This is a good time to upgrade the Debian 8 to 9. Important: Do an upgrade locally or via SSH, only. Other services like telnet can be terminated during the upgrade process […]

Automated upgrades with Unattend Upgrades

The Unattended Upgrade package is helpful for upgrading your server automatically and keeping your computer secure. In this tutorial, I show you the necessary setup to do it. To check if the package is already installed you can run the following command: Either it is already installed or it will be installed. After this step, […]

Install 3rd party library to Maven

Installing a third party library to Maven is an easy task. The maven-install-plugin provides a goal to accomplish it easily. You put the library into your local repository by using the following command: If the library was built with Maven you need the file location argument, only. See the following example:

Jersey Injection Facade

In version 2.26 Jersey started to make their codebase independent of any injection framework. This means that the user has to provide the injection framework, which should be used. The h2k injection framework is completely supported, other frameworks as CDI or guice will follow. Therefore it could be that you run into the following issue […]

Add web.xml in war by using Gradle

The web.xml file is not needed anymore to define deployment properties. It becomes optional with the opportunity to create the definitions inside the classes using the annotations introduced in Java EE 6. If you want to have it anyways in your web application and build your application with Gradle you can customize the build.gradle file. […]

How to increase the memory of a Tomcat Server

In Windows, it’s quite easy to increase the memory by using the Tomcat Monitoring Application tomcat9w. You find the application in the following directory: A small dialog will open and you need to select the Java tab in the top. To increase the memory you need to change the value in the Maximum memory pool […]

How to remove a service from Windows

A service is a handy tool to run background processes, but how to delete them if you don’t need it anymore? In Windows, you have different ways to remove it. I will show you how you can do it by using the command line tool. You need to run the command line tool as administrator […]

« Previous PageNext Page »