27.12.2020 Maintenance
Linux#
Get Version => Debian GNU/Linux 10.7 (buster)#
cat /etc/debian_version
10.7
cat /etc/issue
Debian GNU/Linux 10
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
hostnamectl
Static hostname: v22018061954267647
Icon name: computer-vm
Chassis: vm
Machine ID: [..]
Boot ID: [..]
Virtualization: kvm
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-13-amd64
Architecture: x86-64
Note: apt-get install lsb-release
Update / Upgrade#
To update current version see Apt.To upgrade to a new Linux version, you need to change the source for packages and run an update like before.
vi /etc/apt/sources.list
deb http://ftp.debian.org/debian/ buster main
Note: check additional sources specified wihtin folder sources.list.d
MySQL / MariaDB#
Get version => 10.3.27-MariaDB-0+deb10u1#
mysql -u <user> -p select version();
Upgrade / Storage#
After upgrading from Debian 9 to 10, mysql was gone. I installed MariaDB on top:
apt-get install mariadb-server
(mysql_secure_installation)
Start: /etc/init.d/mysql
Config: folder /etc/mysql/...
Log: /var/log/mysql
Bin:
/usr/bin/mysql
/usr/bin/mysqladmin
/usr/sbin/mysqld
Database: folder /var/lib/mysql
Apache Tomee (Tomcat 9.0.39)#
Get Version#
cd <tomee_home>/lib java -cp catalina.jar org.apache.catalina.util.ServerInfo Server version: Apache Tomcat/9.0.39 Server built: Oct 6 2020 14:11:46 UTC Server number: 9.0.39.0 OS Name: Linux OS Version: 4.19.0-13-amd64 Architecture: amd64 JVM Version: 11.0.9.1+1-post-Debian-1deb10u2 JVM Vendor: Debian