Difference between revisions of "Install/Configuration Files/es"

From Funtoo
Jump to navigation Jump to search
(Created page with "==== Archivos de Configuración ====")
(Created page with "Aquí hay una lista completa de los archivos que puede querer editar, según sus necesidades: {{TableStart}} {{3ColHead|Archivo|¿Tengo que editarlo?|Descripción}} <tr class...")
Line 19: Line 19:
==== Archivos de Configuración ====  
==== Archivos de Configuración ====  


Here are a full list of files that you may want to edit, depending on your needs:
Aquí hay una lista completa de los archivos que puede querer editar, según sus necesidades:
{{TableStart}}
{{TableStart}}
{{3ColHead|File|Do I need to change it?|Description}}
{{3ColHead|Archivo|¿Tengo que editarlo?|Descripción}}
<tr  class="danger">
<tr  class="danger">
<td>{{c|/etc/fstab}}</td>
<td>{{c|/etc/fstab}}</td>
<td>'''YES - required'''</td>
<td>'''YES - requerido'''</td>
<td>Mount points for all filesystems to be used at boot time. This file must reflect your disk partition setup. We'll guide you through modifying this file below.</td>
<td>Indica los puntos de montaje para todos los sistemas de archivos que se utilizarán en el momento del arranque. Este archivo debe reflejar la configuración de la partición de tu disco. Le guiaremos a través de la modificación de este archivo a continuación.</td>
</tr><tr>
</tr><tr>
<td>{{c|/etc/localtime}}</td>
<td>{{c|/etc/localtime}}</td>
<td>''Maybe - recommended''</td>
<td>''Tal vez - recomendado''</td>
<td>Your timezone, which will default to UTC if not set. This should be a symbolic link to something located under /usr/share/zoneinfo (e.g. /usr/share/zoneinfo/America/Montreal) </td>
<td>Su zona horaria, que por defecto será UTC si no se establece. Este debe ser un enlace simbólico a algo ubicado en /usr/share/zoneinfo (e.g. /usr/share/zoneinfo/America/Buenos_Aires) </td>
</tr><tr>
</tr><tr>
<td>{{c|/etc/portage/make.conf}}</td>
<td>{{c|/etc/portage/make.conf}}</td>
<td>''Maybe - recommended''</td>
<td>''Tal vez - recomendado''</td>
<td>Parameters used by gcc (compiler), portage, and make. ''Note that it is normal for this file to be empty in Funtoo Linux, as many settings have been migrated to our enhanced profile system.''</td>
<td>Parámetros utilizados por gcc (compilador), portage y make. ''Tenga en cuenta que es normal que este archivo esté vacío en Funtoo Linux, ya que muchas configuraciones se han migrado a nuestro sistema de perfil mejorado.''</td>
</tr><tr>
</tr><tr>
<td>{{c|/etc/conf.d/hostname}}</td>
<td>{{c|/etc/conf.d/hostname}}</td>
<td>''Maybe - recommended''</td>
<td>''Tal vez - recomendado''</td>
<td>Used to set system hostname. Set the {{c|hostname}} variable to the fully-qualified (with dots, ie. {{c|foo.funtoo.org}}) name if you have one. Otherwise, set to the local system hostname (without dots, ie. {{c|foo}}). Defaults to {{c|localhost}} if not set.</td>
<td>Utilizado para establecer el hostname del sistema. Establezca la variable {{c|hostname}} en el nombre completamente calificado (con puntos, es decir, {{c|foo.funtoo.org}}) si tiene uno. De lo contrario, establezca el nombre de host del sistema local (sin puntos, es decir, {{c|foo}}). Si no se establece el valor predeterminado es {{c|localhost}}.</td>
</tr><tr>
</tr><tr>
<td>{{c|/etc/hosts}}</td>
<td>{{c|/etc/hosts}}</td>
<td>''No''</td>
<td>''No''</td>
<td> You no longer need to manually set the hostname in this file. This file is automatically generated by {{c|/etc/init.d/hostname}}.</td>
<td> Ya no es necesario configurar manualmente el nombre de host en este archivo. Este archivo es generado automáticamente por {{c|/etc/init.d/hostname}}.</td>
</tr><tr>
</tr><tr>
<td>{{c|/etc/conf.d/keymaps}}</td>
<td>{{c|/etc/conf.d/keymaps}}</td>
<td>Optional</td>
<td>Opcional</td>
<td>Keyboard mapping configuration file (for console pseudo-terminals). Set if you have a non-US keyboard. See [[Funtoo Linux Localization]].</td>
<td>Archivo de configuración de mapeo de teclado (para pseudo-terminales de consola). Configúrelo si tienes un teclado que no es estadounidense. Ver [[Funtoo Linux Localization]].</td>
</tr><tr>
</tr><tr>
<td>{{c|/etc/conf.d/hwclock}}</td>
<td>{{c|/etc/conf.d/hwclock}}</td>
<td>Optional</td>
<td>Opcional</td>
<td>How the time of the battery-backed hardware clock of the system is interpreted (UTC or local time). Linux uses the battery-backed hardware clock to initialize the system clock when the system is booted.</td>
<td>Cómo se interpreta la hora del reloj de hardware respaldado por batería del sistema (UTC o hora local). Linux usa el reloj de hardware con respaldo de batería para inicializar el reloj del sistema cuando se inicia el sistema.</td>
</tr><tr>
</tr><tr>
<td>{{c|/etc/conf.d/modules}}</td>
<td>{{c|/etc/conf.d/modules}}</td>
<td>Optional</td>
<td>Opcional</td>
<td>Kernel modules to load automatically at system startup. Typically not required. See [[Additional Kernel Resources]] for more info.</td>
<td>Los módulos del kernel que se cargan automáticamente al inicio del sistema. Normalmente no es necesario. Ver [[Additional Kernel Resources]] para mas informacion.</td>
</tr><tr>
</tr><tr>
<td>{{c|/etc/conf.d/consolefont}}</td>
<td>{{c|/etc/conf.d/consolefont}}</td>
<td>Optional</td>
<td>Opcional</td>
<td>Allows you to specify the default console font. To apply this font, enable the consolefont service by running rc-update add consolefont.</td>
<td>Le permite especificar la fuente de consola predeterminada. Para aplicar esta fuente, habilite el servicio consolefont ejecutando rc-update add consolefont.</td>
</tr><tr>
</tr><tr>
<td>{{c|profiles}}</td>
<td>{{c|profiles}}</td>
<td>Optional</td>
<td>Opcional</td>
<td>Some useful portage settings that may help speed up intial configuration.</td>
<td>Contien algunos ajustes útiles de portage que pueden ayudar a acelerar la configuración inicial.</td>
</tr>
</tr>
{{TableEnd}}
{{TableEnd}}

Revision as of 21:58, October 11, 2018

Other languages:
English • ‎español • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎

Guia de instalación: Archivos de configuración

Install Guide, Chapter 11 < Prev Next >

Como es de esperar de una distribución Linux, Funtoo Linux tiene su parte de archivos de configuración. El único archivo que es absolutamente necesario editar para asegurarse de que Funtoo Linux arranca correctamente es /etc/fstab. Los otros son opcionales.

Usando Nano

El editor por omisión incluido en el entorno chroot se llama nano. Para editar uno de los siguientes archivos, ejecute nano como sigue:

(chroot) # nano /etc/fstab

Cuando esté en el editor, puede usar las teclas de dirección para mover el cursor. Y las teclas comunes como el retroceso y borrado trabajarán como se espera. Para guardar el archivo, presiona Control-X y responde y cuando se le pida que guarde el archivo modificado si desea guardar los cambios.

Archivos de Configuración

Aquí hay una lista completa de los archivos que puede querer editar, según sus necesidades:

Archivo¿Tengo que editarlo?Descripción
/etc/fstab YES - requerido Indica los puntos de montaje para todos los sistemas de archivos que se utilizarán en el momento del arranque. Este archivo debe reflejar la configuración de la partición de tu disco. Le guiaremos a través de la modificación de este archivo a continuación.
/etc/localtime Tal vez - recomendado Su zona horaria, que por defecto será UTC si no se establece. Este debe ser un enlace simbólico a algo ubicado en /usr/share/zoneinfo (e.g. /usr/share/zoneinfo/America/Buenos_Aires)
/etc/portage/make.conf Tal vez - recomendado Parámetros utilizados por gcc (compilador), portage y make. Tenga en cuenta que es normal que este archivo esté vacío en Funtoo Linux, ya que muchas configuraciones se han migrado a nuestro sistema de perfil mejorado.
/etc/conf.d/hostname Tal vez - recomendado Utilizado para establecer el hostname del sistema. Establezca la variable hostname en el nombre completamente calificado (con puntos, es decir, foo.funtoo.org) si tiene uno. De lo contrario, establezca el nombre de host del sistema local (sin puntos, es decir, foo). Si no se establece el valor predeterminado es localhost.
/etc/hosts No Ya no es necesario configurar manualmente el nombre de host en este archivo. Este archivo es generado automáticamente por /etc/init.d/hostname.
/etc/conf.d/keymaps Opcional Archivo de configuración de mapeo de teclado (para pseudo-terminales de consola). Configúrelo si tienes un teclado que no es estadounidense. Ver Funtoo Linux Localization.
/etc/conf.d/hwclock Opcional Cómo se interpreta la hora del reloj de hardware respaldado por batería del sistema (UTC o hora local). Linux usa el reloj de hardware con respaldo de batería para inicializar el reloj del sistema cuando se inicia el sistema.
/etc/conf.d/modules Opcional Los módulos del kernel que se cargan automáticamente al inicio del sistema. Normalmente no es necesario. Ver Additional Kernel Resources para mas informacion.
/etc/conf.d/consolefont Opcional Le permite especificar la fuente de consola predeterminada. Para aplicar esta fuente, habilite el servicio consolefont ejecutando rc-update add consolefont.
profiles Opcional Contien algunos ajustes útiles de portage que pueden ayudar a acelerar la configuración inicial.

If you're installing an English version of Funtoo Linux, you're in luck, as most of the configuration files can be used as-is. If you're installing for another locale, don't worry. We will walk you through the necessary configuration steps on the Funtoo Linux Localization page, and if needed, there's always plenty of friendly, helpful support available. (See Getting Help)

Let's go ahead and see what we have to do. Use nano -w <name_of_file> to edit files -- the "-w" argument disables word-wrapping, which is handy when editing configuration files. You can copy and paste from the examples.

   Warning

It's important to edit your /etc/fstab file before you reboot! You will need to modify both the "fs" and "type" columns to match the settings for your partitions and filesystems that you created with gdisk or fdisk. Skipping this step may prevent Funtoo Linux from booting successfully.

/etc/fstab

/etc/fstab is used by the mount command which is run when your system boots. Lines in this file inform mount about filesystems to be mounted and how they should be mounted. In order for the system to boot properly, you must edit /etc/fstab and ensure that it reflects the partition configuration you used earlier in the install process. If you can't remember the partition configuration that you used earlier, the lsblk command may be of help to you:

(chroot) # nano -w /etc/fstab
   /etc/fstab - An example fstab file
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# See the manpage fstab(5) for more information.
#
# <fs>	     <mountpoint>  <type>  <opts>         <dump/pass>

/dev/sda1    /boot         ext2    noauto,noatime 1 2
/dev/sda2    none          swap    sw             0 0
/dev/sda3    /             ext4    noatime        0 1
#/dev/cdrom  /mnt/cdrom    auto    noauto,ro      0 0
   Note

If you're using UEFI to boot, change the /dev/sda1 line so that it says vfat instead of ext2. Similarly, make sure that the /dev/sda3 line specifies either xfs or ext4, depending on which filesystem you chose earlier on in the installation process when you created filesystems.

/etc/localtime

/etc/localtime is used to specify the timezone that your machine is in, and defaults to UTC. If you would like your Funtoo Linux system to use local time, you should replace /etc/localtime with a symbolic link to the timezone that you wish to use.

(chroot) # ln -sf /usr/share/zoneinfo/MST7MDT /etc/localtime

The above sets the timezone to Mountain Standard Time (with daylight savings). Type ls /usr/share/zoneinfo to list available timezones. There are also sub-directories containing timezones described by location.

/etc/portage/make.conf

USE flags define what functionality is enabled when packages are built. It is not recommended to add a lot of USE flags during installation; you should wait until you have a working, bootable system before changing your USE flags. A USE flag prefixed with a minus ("-") sign tells Portage not to use the flag when compiling. A Funtoo guide to USE flags will be available in the future. For now, you can find out more information about USE flags in the Gentoo Handbook.

/etc/conf.d/hwclock

If you dual-boot with Windows, you'll need to edit this file and change the value of clock from UTC to local, because Windows will set your hardware clock to local time every time you boot Windows. Otherwise you normally wouldn't need to edit this file.

(chroot) # nano -w /etc/conf.d/hwclock

Localization

By default, Funtoo Linux is configured with Unicode (UTF-8) enabled, and for the US English locale and keyboard. If you would like to configure your system to use a non-English locale or keyboard, see Funtoo Linux Localization.