| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Gentoo Linux

Page history last edited by Marcelo Luís Baum 13 years, 10 months ago

 

 

 

 

1. Requisitos e Configurações Iniciais

 

 Requisitos de hardware

 

CPU i486 ou mais novo
Memória 64 MB
Espaço em disco 1.5 GB (menos o espaço de swap)
Espaço de swap No mínimo 256 MB

 

Baixando a imagem do CD mínimo

 

A instalação será baseada no CD mínimo para garantir que serão instaladas as ultimas versões estáveis do Portage, Tarball stage 3 com o ambiente mínimo e o Kernel.

Você pode baixar a imagem de instalação de um dos servidores listados, os CDs de instalação estão localizados no diretório /releases/x86/. 

O CD de Instalação mínimo é chamado de install-x86-minimal-20100216.iso e ocupa somente 104 MB de espaço em disco.

 

Servidores na América latina para download :

 

C3SL, Federal University of Paraná (http) 
C3SL, Federal University of Paraná (ftp) 
C3SL, Federal University of Paraná (rsync) 
Laboratory of System Administration (http) 
Laboratory of System Administration (ftp) 
Laboratório de Computação Científica - UFMG (http) 
Laboratório de Computação Científica - UFMG (rsync) 

 

Carregando o CD de instalação

 

 Após gravar a imagem de instalação em um CD, de boot no sistema com o mesmo, há opções diferenciadas de inicialização listadas abaixo:

 

Kernel Descrição
gentoo kernel 2.6 padrão com suporte para CPUs múltiplas
gentoo-nofb Igual ao gentoo, mas sem framebuffer
memtest86 Teste erros na sua memória RAM local

 

Abaixo uma lista com mais comandos opcionais para o kernel.

 

Opções disponíveis para passar ao kernel de sua escolha

Hardware options:

acpi=on

This loads support for ACPI and also causes the acpid daemon to be started by the CD on boot. This is only needed if your system requires ACPI to function properly. This is not required for Hyperthreading support.

acpi=off

Completely disables ACPI. This is useful on some older systems and is also a requirement for using APM. This will disable any Hyperthreading support of your processor.

console=X

This sets up serial console access for the CD. The first option is the device, usually ttyS0 on x86, followed by any connection options, which are comma separated. The default options are 9600,8,n,1.

dmraid=X

This allows for passing options to the device-mapper RAID subsystem. Options should be encapsulated in quotes.

doapm

This loads APM driver support. This requires you to also use acpi=off.

dopcmcia

This loads support for PCMCIA and Cardbus hardware and also causes the pcmcia cardmgr to be started by the CD on boot. This is only required when booting from PCMCIA/Cardbus devices.

doscsi

This loads support for most SCSI controllers. This is also a requirement for booting most USB devices, as they use the SCSI subsystem of the kernel.

sda=stroke

This allows you to partition the whole hard disk even when your BIOS is unable to handle large disks. This option is only used on machines with an older BIOS. Replace sda with the device that requires this option.

ide=nodma

This forces the disabling of DMA in the kernel and is required by some IDE chipsets and also by some CDROM drives. If your system is having trouble reading from your IDE CDROM, try this option. This also disables the default hdparm settings from being executed.

noapic

This disables the Advanced Programmable Interrupt Controller that is present on newer motherboards. It has been known to cause some problems on older hardware.

nodetect

This disables all of the autodetection done by the CD, including device autodetection and DHCP probing. This is useful for doing debugging of a failing CD or driver.

nodhcp

This disables DHCP probing on detected network cards. This is useful on networks with only static addresses.

nodmraid

Disables support for device-mapper RAID, such as that used for on-board IDE/SATA RAID controllers.

nofirewire

This disables the loading of Firewire modules. This should only be necessary if your Firewire hardware is causing a problem with booting the CD.

nogpm

This diables gpm console mouse support.

nohotplug

This disables the loading of the hotplug and coldplug init scripts at boot. This is useful for doing debugging of a failing CD or driver.

nokeymap

This disables the keymap selection used to select non-US keyboard layouts.

nolapic

This disables the local APIC on Uniprocessor kernels.

nosata

This disables the loading of Serial ATA modules. This is used if your system is having problems with the SATA subsystem.

nosmp

This disables SMP, or Symmetric Multiprocessing, on SMP-enabled kernels. This is useful for debugging SMP-related issues with certain drivers and motherboards.

nosound

This disables sound support and volume setting. This is useful for systems where sound support causes problems.

nousb

This disables the autoloading of USB modules. This is useful for debugging USB issues.

slowusb

This adds some extra pauses into the boot process for slow USB CDROMs, like in the IBM BladeCenter.

Volume/Device Management:

doevms

This enables support for IBM's pluggable EVMS, or Enterprise Volume Management System. This is not safe to use with lvm.

dolvm

This enables support for Linux's Logical Volume Management. This is not safe to use with evms.

Other options:

debug

Enables debugging code. This might get messy, as it displays a lot of data to the screen.

docache

This caches the entire runtime portion of the CD into RAM, which allows you to umount /mnt/cdrom and mount another CDROM. This option requires that you have at least twice as much available RAM as the size of the CD.

doload=X

This causes the initial ramdisk to load any module listed, as well as dependencies. Replace X with the module name. Multiple modules can be specified by a comma-separated list.

dosshd

Starts sshd on boot, which is useful for unattended installs.

passwd=foo

Sets whatever follows the equals as the root password, which is required for dosshd since we scramble the root password.

noload=X

This causes the initial ramdisk to skip the loading of a specific module that may be causing a problem. Syntax matches that of doload.

nonfs

Disables the starting of portmap/nfsmount on boot.

nox

This causes an X-enabled LiveCD to not automatically start X, but rather, to drop to the command line instead.

scandelay

This causes the CD to pause for 10 seconds during certain portions the boot process to allow for devices that are slow to initialize to be ready for use.

scandelay=X

This allows you to specify a given delay, in seconds, to be added to certain portions of the boot process to allow for devices that are slow to initialize to be ready for use. Replace X with the number of seconds to pause.

 

Segue abaixo um exemplo:

 

Opção de boot do Kernel

boot: gentoo dopcmcia

 

Logo será solicitado o padrão do teclado a ser utilizado e após será detectado o hardware do computador, caso não for detectada sua placa de rede, há uma opção extra citada abaixo:

 

Carregando módulos de kernel

# modprobe 8139too

 

Se você precisa de suporte a PCMCIA, você deve rodar o script de init pcmcia:

 

Rodando o script de init de PCMCIA

# /etc/init.d/pcmcia start

 

Ajustando performance de disco rígido

 

Antes de efetuar os ajustes você pode testar o desempenho do disco  com o comando abaixo:

 

Testando performance de disco

# hdparm -tT /dev/sda

 

Para ajustar a performance do(s) disco(s) seguem alguns comandos: 

 

Ajustando performance de disco rígido

Ativando DMA:                             # hdparm -d 1 /dev/sda
Ativando opções de performance seguras:  # hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/sda

 

Mais opções de ajuste de performance: http://www.vivaolinux.com.br/artigo/hdparm-Tire-o-maximo-do-seu-HD

 

Opcional: Contas de usuário

 

Adicionando usuários para auxilio na instalação:

 

Criando uma conta de usuário

# useradd -m -G users joao
# passwd joao
New password: (Entre a senha do joao)
Re-enter password: (Entre a senha do joao novamente)

 

Alternando entre usuários com o comando su:

 

Mudando id de usuário

# su - joao

 

Opcional: Vendo documentação durante a instalação

 

Para facilitar, abra um segundo terminal com o comando  Alt-F2.

 

Vendo a documentação online

# links http://http://guiatche.pbworks.com/Instalação-do-Gentoo-Linux

 

Você pode voltar a seu terminal original apertando Alt-F1.

 

Opcional: Iniciando o Daemon do SSH

 

Para auxilio na instalação ou instalação comandada através de outra maquina, inicie o serviço de SSH:

 

Iniciando o daemon do SSH

# /etc/init.d/sshd start

 

Continue com o capítulo Instalação

 

 

 

 

Comments (0)

You don't have permission to comment on this page.