Ubuntu 24.04 默认配置
未改动,随时复制。
Apache HTTP Server - /etc/apache2/mods-available/alias.load
📍 Ubuntu 24.04 LTS (Noble Numbat)
LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
Apache HTTP Server - /etc/apache2/mods-available/alias.conf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # Note that if you include a trailing / on fakename then the server will # require it to be …
Apache HTTP Server - /etc/apache2/mods-available/actions.load
📍 Ubuntu 24.04 LTS (Noble Numbat)
LoadModule actions_module /usr/lib/apache2/modules/mod_actions.so
Apache HTTP Server - /etc/apache2/mods-available/actions.conf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# a2enmod-note: needs-configuration # # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for …
Apache HTTP Server - /etc/apache2/mods-available/access_compat.load
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Depends: authn_core LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so
Apache HTTP Server - /etc/apache2/conf-available/serve-cgi-bin.conf
📍 Ubuntu 24.04 LTS (Noble Numbat)
<IfModule mod_alias.c> <IfModule mod_cgi.c> Define ENABLE_USR_LIB_CGI_BIN </IfModule> <IfModule mod_cgid.c> Define ENABLE_USR_LIB_CGI_BIN </IfModule> <IfDefine ENABLE_USR_LIB_CGI_BIN> Sc…
Apache HTTP Server - /etc/apache2/conf-available/security.conf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Changing the following options will not really affect the security of the # server, but might make attacks slightly more difficult in some cases. # # ServerTokens # This directive configures what …
Apache HTTP Server - /etc/apache2/conf-available/other-vhosts-access-log.conf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Define an access log for VirtualHosts that don't define their own logfile
CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
Apache HTTP Server - /etc/apache2/conf-available/localized-error-pages.conf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Customizable error responses come in three flavors: # 1) plain text # 2) local redirects # 3) external redirects # # Some examples: #ErrorDocument 500 "The server made a boo boo." #ErrorDocument 40…
Apache HTTP Server - /etc/apache2/conf-available/charset.conf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Read the documentation before enabling AddDefaultCharset. # In general, it is only a good idea if you know that all your files # have this encoding. It will override any encoding given in the files…
MySQL - /etc/mysql/mysql.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Copyright (c) 2015, 2025, 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,…
MySQL - /etc/mysql/my.cnf.fallback
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Copyright (c) 2015, 2025, 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,…
MySQL - /etc/mysql/mysql.conf.d/mysqld.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Copyright (c) 2014, 2025, 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,…
MySQL - /etc/mysql/conf.d/mysql.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Copyright (c) 2015, 2025, 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/debian.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE. # This file exists only for backwards compatibility for # tools that run '--defaults-file=/etc/mysql/debian.cnf' # and have root level access to th…
MariaDB - /etc/mysql/debian-start
📍 Ubuntu 24.04 LTS (Noble Numbat)
#!/bin/bash # # This script is executed by both SysV init /etc/init.d/mariadb and # systemd mariadb.service on every (re)start. # # Changes to this file will be preserved when updating the Debian pac…
MariaDB - /etc/mysql/mariadb.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
# The MariaDB configuration file # # The MariaDB/MySQL tools read configuration files in the following order: # 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read. # 1. "/e…
MariaDB - /etc/mysql/my.cnf.fallback
📍 Ubuntu 24.04 LTS (Noble Numbat)
# Copyright (c) 2015, 2025, 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/provider_snappy.cnf
📍 Ubuntu 24.04 LTS (Noble Numbat)
[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
浏览全部
所有配置,所有发行版。