Arch Linux (rc.conf)
rc.conf para Arch Linux
Categoria: Miscelânea
Software: Arch Linux
[ Hits: 8.724 ]
Por: edps
Aqui compartilho meu rc.conf devidamente comentado e com links diretos para a fantástica Arch Wiki (em inglês), devido a isso [ http://www.archlinux-br.org/wiki/ ].
Com o kernel 3.0 algumas coisas mudaram no rc.conf do Arch como as antigas função agora 'deprecated' das blacklists dos módulos e do hal.
A questão dos DAEMONS é um caso a parte, já que varia de caso a caso, o que está ali e que é essencial para mim são (e na ordem):
syslog-ng
dbus
crond
# # /etc/rc.conf - Main Configuration for Arch Linux # INFO: # https://wiki.archlinux.org/index.php/Rc.conf # ----------------------------------------------------------------------- # LOCALIZATION # ----------------------------------------------------------------------- # # LOCALE: available languages can be listed with the 'locale -a' command # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon # startup and during the boot process. If set to 'no', the C locale is used. # HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result # in the hardware clock being left untouched (useful for virtualization) # Note: Using "localtime" is discouraged, using "" makes hwclock fall back # to the value in /var/lib/hwclock/adjfile # TIMEZONE: timezones are found in /usr/share/zoneinfo # Note: if unset, the value in /etc/localtime is used unchanged # KEYMAP: keymaps are found in /usr/share/kbd/keymaps # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US) # CONSOLEMAP: found in /usr/share/kbd/consoletrans # USECOLOR: use ANSI color sequences in startup messages # INFO: # https://wiki.archlinux.org/index.php/LOCALE # https://wiki.archlinux.org/index.php/KEYMAP # https://wiki.archlinux.org/index.php/Fonts#Console_fonts LOCALE="pt_BR.UTF-8" DAEMON_LOCALE="no" HARDWARECLOCK="localtime" TIMEZONE="America/Sao_Paulo" KEYMAP="br-abnt2" CONSOLEFONT= CONSOLEMAP="8859-1" USECOLOR="yes" # ----------------------------------------------------------------------- # HARDWARE # ----------------------------------------------------------------------- # # MODULES: Modules to load at boot-up. Blacklisting is no longer supported. # Replace every !module by an entry as on the following line in a file in # /etc/modprobe.d: # blacklist module # See "man modprobe.conf" for details. # INFO: # http://www.archlinux.org/news/changes-to-module-blacklisting/ # https://wiki.archlinux.org/index.php/Kernel_modules # https://wiki.archlinux.org/index.php/Disabling_IPv6 # https://wiki.archlinux.org/index.php/Disable_PC_Speaker_Beep # https://wiki.archlinux.org/index.php/Udev # https://wiki.archlinux.org/index.php/LVM MODULES=() # Udev settle timeout (default to 30) UDEV_TIMEOUT=30 # Scan for FakeRAID (dmraid) Volumes at startup USEDMRAID="no" # Scan for BTRFS volumes at startup USEBTRFS="no" # Scan for LVM volume groups at startup, required if you use LVM USELVM="no" # ----------------------------------------------------------------------- # NETWORKING # ----------------------------------------------------------------------- # INFO: # https://wiki.archlinux.org/index.php/HOSTNAME#Set_the_hostname # https://wiki.archlinux.org/index.php/Netcfg # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts # HOSTNAME="archlinux" # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces. # # Wired network setup # - interface: name of device (required) # - address: IP address (leave blank for DHCP) # - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0) # - broadcast: broadcast address (ignored for DHCP) (optional) # - gateway: default route (ignored for DHCP) # # Static IP example # interface=eth0 # address=192.168.0.2 # netmask=255.255.255.0 # broadcast=192.168.0.255 # gateway=192.168.0.1 # # DHCP example # interface=(!eth0) # address= # netmask= # gateway= interface= address= netmask= broadcast= gateway= # Setting this to "yes" will skip network shutdown. # This is required if your root device is on NFS. NETWORK_PERSIST="no" # Enable these netcfg profiles at boot-up. These are useful if you happen to # need more advanced network features than the simple network service # supports, such as multiple network configurations (ie, laptop users) # - set to 'menu' to present a menu during boot-up (dialog package required) # - prefix an entry with a ! to disable it # # Network profiles are found in /etc/network.d # # This requires the netcfg package # #NETWORKS=(main) # ----------------------------------------------------------------------- # DAEMONS # ----------------------------------------------------------------------- # # Daemons to start at boot-up (in this order) # - prefix a daemon with a ! to disable it # - prefix a daemon with a @ to start it up in the background # # If something other takes care of your hardware clock (ntpd, dual-boot...) # you should disable 'hwclock' here. # INFO: # https://wiki.archlinux.org/index.php/DAEMONS # https://wiki.archlinux.org/index.php/Writing_rc.d_scripts DAEMONS=(syslog-ng dbus @arno-iptables-firewall @squid @cupsd @alsa @lxdm @ntpdate @crond)
Como gerar qualquer emoji ou símbolo unicode a partir do seu teclado
Instalar e Configurar o Slackware Linux em 2025
Como configurar os repositórios do apt no Debian 12 em 2025
Passkeys: A Evolução da Autenticação Digital
Instalação de distro Linux em computadores, netbooks, etc, em rede com o Clonezilla
Muitas dificuldades ao instalar distro Linux em Notebook Sony Vaio PCG-6131L (VPCEA24FM)
Slackpkg+ (Slackpkg Plus) está de volta!
Como dividir duas janelas igualmente e lado-a-lado na sua tela
Configurando o Conky para iniciar corretamente no sistema
3 configurações básicas que podem melhorar muito a sua edição pelo editor nano
Minha rede tem um espaço invisível que não dá pra digitar o nome da re... (1)
Pedagogia no brasil não passa de alfabetização por m4sturbação mental ... (2)
compilação samba 4.22 rock linux 9.5 (3)
Erro de segmentação «Segmentation fault (core dumped)» ao retornar obj... (7)