Arch Linux (rc.conf)
rc.conf para Arch Linux
Categoria: Miscelânea
Software: Arch Linux
[ Hits: 8.639 ]
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)
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Como renomear arquivos de letras maiúsculas para minúsculas
Imprimindo no formato livreto no Linux
Vim - incrementando números em substituição
Efeito "livro" em arquivos PDF
Como resolver o erro no CUPS: Unable to get list of printer drivers
Melhorando a precisão de valores flutuantes em python[AJUDA] (5)
Instalação Uefi com o instalador clássico do Mageia (1)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta