Ubuntu 默认配置
未改动,随时复制。
MariaDB - /etc/mysql/mariadb.conf.d/50-mysql-clients.cnf
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
# # These groups are read by MariaDB command-line tools # Use it for options that affect only one utility # …
# # These groups are read by MariaDB command-line tools # Use it for options that affect only one utility # [mysql] # Default is Latin1, if you need UTF-8 set this (also in server section) default-c…
MariaDB - /etc/mysql/mariadb.conf.d/50-client.cnf
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
# # This group is read by the client library # Use it for options that affect all clients, but not the server…
# # This group is read by the client library # Use it for options that affect all clients, but not the server # [client] # Default is Latin1, if you need UTF-8 set this (also in server section) defa…
MariaDB - /etc/mysql/conf.d/mysql.cnf
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. # # This program is free software; you can redistri…
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0,…
MariaDB - /etc/mysql/mariadb.conf.d/60-galera.cnf
📍 Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
# # * Galera-related settings # # See the examples of server wsrep.cnf files in /usr/share/mysql # and read m…
# # * Galera-related settings # # See the examples of server wsrep.cnf files in /usr/share/mysql # and read more at https://mariadb.com/kb/en/galera-cluster/ [galera] # Mandatory settings #wsrep_on …
MariaDB - /etc/mysql/mariadb.conf.d/provider_snappy.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_snappy provider_snappy=force_plus_permanent
[server] plugin_load_add=provider_snappy provider_snappy=force_plus_permanent
MariaDB - /etc/mysql/mariadb.conf.d/provider_lzo.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_lzo provider_lzo=force_plus_permanent
[server] plugin_load_add=provider_lzo provider_lzo=force_plus_permanent
MariaDB - /etc/mysql/mariadb.conf.d/provider_lzma.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_lzma provider_lzma=force_plus_permanent
[server] plugin_load_add=provider_lzma provider_lzma=force_plus_permanent
MariaDB - /etc/mysql/mariadb.conf.d/provider_lz4.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_lz4 provider_lz4=force_plus_permanent
[server] plugin_load_add=provider_lz4 provider_lz4=force_plus_permanent
MariaDB - /etc/mysql/mariadb.conf.d/provider_bzip2.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
[server] plugin_load_add=provider_bzip2 provider_bzip2=force_plus_permanent
[server] plugin_load_add=provider_bzip2 provider_bzip2=force_plus_permanent
OpenSSL - /etc/ssl/openssl.cnf
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
# # OpenSSL example configuration file. # This is mostly being used for generation of certificate requests. #…
# # OpenSSL example configuration file. # This is mostly being used for generation of certificate requests. # # Note that you can include other files from the main configuration # file using the .in…
OpenSSH - /etc/ssh/ssh_host_ed25519_key.pub
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDIArVBL+yG/pnVZORwtrVDaBK1lkwFmyJoqnU7/4/f root@2549b2029aaf
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDIArVBL+yG/pnVZORwtrVDaBK1lkwFmyJoqnU7/4/f root@2549b2029aaf
OpenSSH - /etc/ssh/ssh_host_ed25519_key
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
-----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW Qy…
-----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW QyNTUxOQAAACCAyAK1QS/shv6Z1WTkcLa1Q2gStZZMBZsiaKp1O/+P3wAAAJgG5uIUBubi FAAAAAtzc2gtZWQyNTUxO…
OpenSSH - /etc/ssh/ssh_host_ecdsa_key.pub
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJj/sX4BrG+8mZ9HoQlcwji3yaazYkS9sacnw…
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJj/sX4BrG+8mZ9HoQlcwji3yaazYkS9sacnwkA7fq2+i47rAtcGrWK4Aco9zScVwbTFRjhrWVwoDS0FcmrnGxM= root@2549b2029aaf
OpenSSH - /etc/ssh/ssh_host_ecdsa_key
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
-----BEGIN EC PRIVATE KEY----- MHcCAQEEIJLk+/vKNS606AqLxU2XLkV/1Rh4znpa0q0vIm72HPyNoAoGCCqGSM49 AwEHoUQDQgAEm…
-----BEGIN EC PRIVATE KEY----- MHcCAQEEIJLk+/vKNS606AqLxU2XLkV/1Rh4znpa0q0vIm72HPyNoAoGCCqGSM49 AwEHoUQDQgAEmP+xfgGsb7yZn0ehCVzCOLfJprNiRL2xpyfCQDt+rb6LjusC1wat YrgByj3NJxXBtMVGOGtZXCgNLQVyaucbEw== -…
OpenSSH - /etc/ssh/ssh_host_rsa_key.pub
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU1bMegie3rW8Avse0VAY73h//C11pl8RVe2zZmtW/vPNUrGx9YmsYcQ/rM5HKA8UktRZNg…
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU1bMegie3rW8Avse0VAY73h//C11pl8RVe2zZmtW/vPNUrGx9YmsYcQ/rM5HKA8UktRZNggoDJqNWfeC1n7QpI0eNEvJo+RbLAwxJ00rDkGpKT/yRTRnrnHZYfCd1z5L+QuyTf9eI2ebKkAxnprtUPKAE04AAzQh…
OpenSSH - /etc/ssh/ssh_host_rsa_key
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
-----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEA1NWzHoInt61vAL7HtFQGO94f/wtdaZfEVXts2ZrVv7zzVKxs fWJrGHEP6zOR…
-----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEA1NWzHoInt61vAL7HtFQGO94f/wtdaZfEVXts2ZrVv7zzVKxs fWJrGHEP6zORygPFJLUWTYIKAyajVn3gtZ+0KSNHjRLyaPkWywMMSdNKw5BqSk/8 kU0Z65x2WHwndc+S/kLsk3/XiNnmypAMZ6a7V…
OpenSSH - /etc/ssh/sshd_config
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ # This is the sshd server system-wide configur…
# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PAT…
OpenSSH - /etc/ssh/ssh_import_id
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
{ "_comment_": "This file is JSON syntax and will be loaded by ssh-import-id to obtain the URL string, which…
{
"_comment_": "This file is JSON syntax and will be loaded by ssh-import-id to obtain the URL string, which defaults to launchpad.net. The following URL *must* be an https address with a valid, si…
OpenSSH - /etc/ssh/ssh_config
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
# This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This fi…
# This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be changed in per-user configuration …
OpenSSH - /etc/ssh/moduli
📍 Ubuntu 18.04 LTS (Bionic Beaver), Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 22.04 LTS (Jammy Jellyfish), Ubuntu 24.04 LTS (Noble Numbat)
# Time Type Tests Tries Size Generator Modulus 20160301052556 2 6 100 2047 5 DA57B18976E9C55CEAC3BFFF70419A15…
# Time Type Tests Tries Size Generator Modulus 20160301052556 2 6 100 2047 5 DA57B18976E9C55CEAC3BFFF70419A1550258EA7359400BD4FAC8F4203B73E0BC54D62C0A2D9AA9B543FACA0290514EA426DE6FEF897CB858243511DCE…