Arch Linux (rc.conf)
rc.conf para Arch Linux
Categoria: Miscelânea
Software: Arch Linux
[ Hits: 9.216 ]
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)
Faça suas próprias atualizações de pacotes/programas no Void Linux e torne-se um Contribuidor
Como rodar o Folding@home no Linux
Criando um painel de controle (Dashboard) para seu servidor com o Homepage
O Abismo entre o Código e o Chão: Saltos Tecnológicos e a Exclusão Estrutural no Brasil
Instalar e Configurar a santíssima trindade (PAP) no Void Linux
Pisando no acelerador do Linux Mint: Kernel XanMod, zRAM e Ajustes de Swap
Como compilar kernel no Linux Mint
Lançamento do Brutal DOOM test 6
Consertando o erro no Brave de webgl
Solução para ter de volta as bordas e barra de títulos das janelas em zenity no Debian 13.x
Seno, Coseno, Tangente em CLIPPER (0)
Inserir uma URL num arquvo pelo Ubuntu (CLIPPER) (0)
VMWare Player não conecta na rede nem consigo intercambiar arquivos (1)









