Month: October 2021

keytools add new alias to keystor (jceks) and delete old

keytools add new alias to keystor (jceks) and delete old

Java Keytool is a command-line tool that is used for managing cryptographic keys, certificates, and keystores in Java-based applications. In Linux, Java Keytool is often used for managing SSL/TLS certificates and securing web applications that run on Java-based servers like Tomcat, GlassFish, and JBoss. Some of the key features of Java Keytool in Linux include: […]

Read more »

Checking the disk for errors and bad sectors

Checking the disk for errors and bad sectors

This script helps to notify me by e-mail about the condition of the disk. Remember to indicate the disk accordingly – in this case it is “/dev/sda” and change the e-mail address from “soban@soban.pl” to your own. Save the script in “/root/checkbadsector.sh“: You can also download it from https://soban.pl/bash/checkbadsector.sh: Remember to grant permission to perform […]

Read more »

Check DNS and more information about domain

Check DNS and more information about domain

The best way to check information about domain and DNS configuration is “whois” and “dig”. This tools can provide a lot of informations. Lets try use it. First we must check that package is installed.I have already installed “dig”: In debian, you can use “dpkg -S” if you don’t have it then you should install: […]

Read more »

Pointing DNS to a different IP address

Pointing DNS to a different IP address

Sometimes it is necessary to change the DNS name indication to a different IP address. As you can see in the example below, google.com currently points to: To change google.com indication to, for example – 37.187.101.239, edit the file: “/etc/resolv.conf” as root: After making this change, the effect is as follows: Windows as you see […]

Read more »

Automatic update of the Debian Linux test environment

Automatic update of the Debian Linux test environment

A convenient way to maintain the test environment is automatic updating.However, remember to set the backup, e.g. the day before – I always set it like that in proxmoxe.The script that updates the Debian system looks like this: You can download the script from: The script cleans unnecessary deb files after the update.Keep in mind […]

Read more »

E-mail notification about new updates Proxmox

E-mail notification about new updates Proxmox

This script send you e-mail notification about new updates: You can download the script from: You should set the correct e-mail address in the script, for now it is soban@soban.plNotification it’s looks something like that: Should the script be executed: Also added to the crontab, every day to extend a new update: Remember don’t to […]

Read more »

Upgrade Debian GNU/Linux 10 (buster) to 11 (bullseye)

Upgrade Debian GNU/Linux 10 (buster) to 11 (bullseye)

Before we start upgrading the Debian system version, please make a snapshot or a possible backup of the system. Such a change entails significant changes that can damage the system. Of course, before you upgrade the system in production, it is best to upgrade to the testing environment first. The upgrade process affects the entire […]

Read more »