it is very simple
install hwe kernel
For Ubuntu 20.04 LTS use following command
apt install linux-generic-hwe-20.04
For Ubuntu 22.04 LTS use following command
apt install linux-generic-hwe-22.04
Attention HWE kernel only 6 months of support, after this you get a new one. Look at this page
it works fine when you have the correct configuration , watch the screenshot
Jenkins sometimes a little bit strange but it works at is.
you have addes a new ssh key and you got following error “you have requested strict checking”
Under configuration “Global Security” scroll down and choose what you need
look a the screen snipet, this config works well.
zypper remove package
will not work you got an error like this
In case ‘exmaple’ is not a typo it’s probably not a built-in command, but provided as a subcommand or plug-in (see ‘zypper help subcommand’).
In this case a specific package providing the subcommand needs to be installed first. Those packages are often named ‘zypper-exmaple’ or ‘zypper-exmaple’.
zypper remove -u package
In the good old days you are used ifdown and ifup and so you can bring up a network interface. Now you have systemd and you should use
list => show all interfaces
networkctl shutdown interface
networkctl bring up interface
the last day I have this error very often on my old 6.7 VMware environment.
shutdown your vm, remove all network cards / nic => save
edit settins add new network cards /nic
dmidecode | grep--color -i serial
how to install manually
but we want to compile itself and build a deb package
we need java and ant
apt-get install ant
Choose your version as source code
https://github.com/apache/tomcat/tags in our example we use 9.0.64
extract the folder and you can run /usr/bin/ant in the extraced tomcat folder after a frew seconds you can find your compiled tomcat under the folder /output/build
apt build-dep tomcat9
dpkg-buildpackage -rfakeroot -b -uc -u
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MariaDB and MySQL sometimes realy strange. The last time I had offen dumps between sql server versions. you must not use my pipe for compression this is optional.
mysqldump –events –routines –triggers –single-transaction –default-character-set=utf8mb4 –opt database.dump | gzip > database.sql.gz
If you are need some stresstest for your MySQL server you can use mysqslap. I offen use this command
mysqlslap --auto-generate-sql --concurrency=100 --iterations=200