Debian 11 默认配置

未改动,随时复制。

/etc/apt/apt.conf.d/docker-clean
APT Debian 11 (Bullseye)

APT - /etc/apt/apt.conf.d/docker-clean

📍 Debian 11 (Bullseye)

# Since for most Docker users, package installs happen in "docker build" steps,
# they essentially become individual layers due to the way Docker handles
# layering, especially using CoW filesystems.…
19 行 • MD5: aafe213f... 查看 →
/etc/apt/apt.conf.d/docker-autoremove-suggests
APT Debian 11 (Bullseye)

APT - /etc/apt/apt.conf.d/docker-autoremove-suggests

📍 Debian 11 (Bullseye)

# Since Docker users are looking for the smallest possible final images, the
# following emerges as a very common pattern:

#   RUN apt-get update \
#       && apt-get install -y <packages> \
#      …
16 行 • MD5: e99ea2a4... 查看 →
/etc/apt/apt.conf.d/70debconf
APT Debian 11 (Bullseye)

APT - /etc/apt/apt.conf.d/70debconf

📍 Debian 11 (Bullseye)

// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
3 行 • MD5: 7e9d09d5... 查看 →
/etc/apt/apt.conf.d/01autoremove
APT Debian 11 (Bullseye)

APT - /etc/apt/apt.conf.d/01autoremove

📍 Debian 11 (Bullseye)

APT
{
  NeverAutoRemove
  {
	"^firmware-linux.*";
	"^linux-firmware$";
	"^linux-image-[a-z0-9]*$";
	"^linux-image-[a-z0-9]*-[a-z0-9]*$";
  };

  VersionedKernelPackages
  {
	# kernels
	"linux-.*";
	"…
41 行 • MD5: ab6540f7... 查看 →
/etc/postgresql/11/main/postgresql.conf
PostgreSQL Debian 10 (Buster)

PostgreSQL - /etc/postgresql/11/main/postgresql.conf

📍 Debian 10 (Buster)

# -----------------------------
# PostgreSQL configuration file
# -----------------------------
#
# This file consists of lines of the form:
#
#   name = value
#
# (The "=" is optional.)  Whitespace …
691 行 • MD5: ec4d26fc... 查看 →
/etc/postgresql/11/main/environment
PostgreSQL Debian 10 (Buster)

PostgreSQL - /etc/postgresql/11/main/environment

📍 Debian 10 (Buster)

# environment variables for postgres processes
# This file has the same syntax as postgresql.conf:
#  VARIABLE = simple_value
#  VARIABLE2 = 'any value!'
# I. e. you need to enclose any value which d…
7 行 • MD5: a567730a... 查看 →
/etc/postgresql/11/main/pg_ident.conf
PostgreSQL Debian 10 (Buster)

PostgreSQL - /etc/postgresql/11/main/pg_ident.conf

📍 Debian 10 (Buster)

# PostgreSQL User Name Maps
# =========================
#
# Refer to the PostgreSQL documentation, chapter "Client
# Authentication" for a complete description.  A short synopsis
# follows.
#
# This …
42 行 • MD5: f11c8332... 查看 →
/etc/postgresql/11/main/pg_hba.conf
PostgreSQL Debian 10 (Buster)

PostgreSQL - /etc/postgresql/11/main/pg_hba.conf

📍 Debian 10 (Buster)

# PostgreSQL Client Authentication Configuration File
# ===================================================
#
# Refer to the "Client Authentication" section in the PostgreSQL
# documentation for a co…
99 行 • MD5: 81569154... 查看 →
/etc/postgresql/11/main/pg_ctl.conf
PostgreSQL Debian 10 (Buster)

PostgreSQL - /etc/postgresql/11/main/pg_ctl.conf

📍 Debian 10 (Buster)

# Automatic pg_ctl configuration
# This configuration file contains cluster specific options to be passed to
# pg_ctl(1).

pg_ctl_options = ''
5 行 • MD5: 242d50c2... 查看 →
/etc/postgresql/11/main/start.conf
PostgreSQL Debian 10 (Buster)

PostgreSQL - /etc/postgresql/11/main/start.conf

📍 Debian 10 (Buster)

# Automatic startup configuration
#   auto: automatically start the cluster
#   manual: manual startup with pg_ctlcluster/postgresql@.service only
#   disabled: refuse to start cluster
# See pg_creat…
8 行 • MD5: 9bb73ac2... 查看 →
/etc/logrotate.d/postgresql-common
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/logrotate.d/postgresql-common

📍 Debian 11 (Bullseye)

/var/log/postgresql/*.log {
       weekly
       rotate 10
       copytruncate
       delaycompress
       compress
       notifempty
       missingok
       su root root
}
10 行 • MD5: 101326ef... 查看 →
/etc/systemd/postgresql@.service
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/systemd/postgresql@.service

📍 Debian 11 (Bullseye)

# systemd service template for PostgreSQL clusters. The actual instances will
# be called "postgresql@version-cluster", e.g. "postgresql@9.3-main". The
# variable %i expands to "version-cluster", %I …
40 行 • MD5: 5b25f284... 查看 →
/etc/systemd/postgresql.service
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/systemd/postgresql.service

📍 Debian 11 (Bullseye)

# postgresql.service is the meta unit for managing all PostgreSQL clusters on
# the system at once. Conceptually, this unit is more like a systemd target,
# but we are using a service since targets c…
18 行 • MD5: cc942563... 查看 →
/etc/postgresql/17/main/postgresql.conf
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/postgresql/17/main/postgresql.conf

📍 Debian 11 (Bullseye)

# -----------------------------
# PostgreSQL configuration file
# -----------------------------
#
# This file consists of lines of the form:
#
#   name = value
#
# (The "=" is optional.)  Whitespace …
844 行 • MD5: 041908e5... 查看 →
/etc/postgresql/17/main/environment
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/postgresql/17/main/environment

📍 Debian 11 (Bullseye)

# environment variables for postgres processes
# This file has the same syntax as postgresql.conf:
#  VARIABLE = simple_value
#  VARIABLE2 = 'any value!'
# I. e. you need to enclose any value which d…
7 行 • MD5: a567730a... 查看 →
/etc/postgresql/17/main/pg_ident.conf
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/postgresql/17/main/pg_ident.conf

📍 Debian 11 (Bullseye)

# PostgreSQL User Name Maps
# =========================
#
# ---------------
# Mapping Records
# ---------------
#
# Refer to the PostgreSQL documentation, chapter "Client
# Authentication" for a comp…
72 行 • MD5: a851d3ee... 查看 →
/etc/postgresql/17/main/pg_hba.conf
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/postgresql/17/main/pg_hba.conf

📍 Debian 11 (Bullseye)

# PostgreSQL Client Authentication Configuration File
# ===================================================
#
# Refer to the "Client Authentication" section in the PostgreSQL
# documentation for a co…
132 行 • MD5: 7f6ef676... 查看 →
/etc/postgresql/17/main/pg_ctl.conf
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/postgresql/17/main/pg_ctl.conf

📍 Debian 11 (Bullseye)

# Automatic pg_ctl configuration
# This configuration file contains cluster specific options to be passed to
# pg_ctl(1).

pg_ctl_options = ''
5 行 • MD5: 242d50c2... 查看 →
/etc/postgresql/17/main/start.conf
PostgreSQL Debian 11 (Bullseye)

PostgreSQL - /etc/postgresql/17/main/start.conf

📍 Debian 11 (Bullseye)

# Automatic startup configuration
#   auto: automatically start the cluster
#   manual: manual startup with pg_ctlcluster/postgresql@.service only
#   disabled: refuse to start cluster
# See pg_creat…
8 行 • MD5: 9bb73ac2... 查看 →
/etc/odoo/odoo.conf
Odoo Debian 11 (Bullseye)

Odoo - /etc/odoo/odoo.conf

📍 Debian 11 (Bullseye)

[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
; admin_passwd = admin
; csv_internal_sep = ,
; db_maxconn = 64
; db_name = False
; db_template = template1
; dbfilter = .*
; debug_…
37 行 • MD5: 525a8655... 查看 →