[{ALLOW view All}]
[{ALLOW edit Markus}]
27.12.2020 Maintenance
[{TableOfContents }]
!! Linux
%%collapsebox-closed
!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
%%collapsebox-closed
! Get version => 10.3.27-MariaDB-0+deb10u1
{{{
mysql -u <user> -p
select version();
}}}
/%
! Upgrade / Storage
%%collapsebox-closed
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
}}}
/%