Difference between pages "Funtoo 1.0 Profile" and "Install/Stage3/pt-br"

(Difference between pages)
(Origins and Benefits)
 
m (Tocadotux moved page Install/Stage3/es to Install/pt-br/Stage3/: Change of directory)
 
Line 1: Line 1:
== What is a profile? ==
+
=== Instalndo o Stage 3 tarball ===
  
In Gentoo and Funtoo Linux, profiles are used to define base system settings, and have historically had a lot of untapped potential. In Funtoo Linux, I wanted to take advantage of some of this potential to allow Funtoo Linux users to easily tailor their system for various types of roles. Enter the new Funtoo profile system.
+
Depois de criar os  filesystems, o próximo passo é baixar o Stage 3 tarball inicial. O Stage 3 é um sistema pré-compiled utilizado como um ponto inicial para instalar o Funtoo Linux. Carregue um dos seguintes URLs em outra janela do navegador:
  
== What It Is ==
+
{{MirrorList}}
  
Historically, users have had to add a ton of settings to <tt>/etc/make.conf</tt> to customize their Gentoo or Funtoo Linux system, which made setup of the operating system more difficult than it should be.
+
Agora, vamos navegar pelos diretórios nos mirrors para encontrar o build apropriado do  Funtoo Linux para você.
  
In Gentoo Linux, it is possible to only define one ''system profile''. Think of a system profile as the default settings that Portage uses for building everything on your system.
+
==== Qual Build? ====
  
In Funtoo Linux, multiple profiles can be enabled at the same time. These include:
+
'''Se não estiver certo, escolha <code>funtoo-current</code>.'''
  
* '''arch''' - one arch profile is enabled, at build time, and is not changed. This defines CPU architecture-specific settings.
+
Funtoo Linux possui vários 'builds' diferentes, ou variantes. Here is a list of the various builds that are available, and what their distinctive features are:
* '''build''' - one build profile is enabled, at build time, and is generally not changed. It defines the type of build, such as 'current' or 'stable', and associated settings.
+
* '''flavor''' - one flavor is enabled per system, and can be changed by the user. This defines the general use of the system, such as 'minimal', 'core', 'desktop', 'workstation'
+
* '''mix-in''' - zero or more mix-ins can be enabled that enable settings specific to a particular subset of features, such as 'gnome', 'kde', 'media', 'mate', 'X', 'hardened'
+
  
{{Fancynote|1=
+
{{TableStart}}
See [[Flavors and Mix-ins]] for a complete list of all flavors and mix-ins available in Funtoo Linux, along with descriptions of what each one does.}}
+
<tr><th class="info">Build</th><th class="info">Description</th></tr>
 +
<tr><td><code>funtoo-current</code></td><td>The most commonly-selected build of Funtoo Linux. Receives rapid updates and preferred by desktop users.</td></tr>
 +
<tr><td><code>funtoo-current-hardened</code></td><td>Same package set as <code>funtoo-current</code>, but with a hardened, exploit-resistant toolchain.</td></tr>
 +
<tr><td><code>funtoo-stable</code></td><td>Emphasizes less-frequent package updates and trusted, reliable versions of packages over the latest versions.</td></tr>
 +
{{TableEnd}}
  
=== Origins and Benefits ===
+
If you want to read more about this, have a look at [[Funtoo_Linux#What_are_the_differences_between_.27stable.27.2C_.27current.27_and_.27experimental.27_.3F|Differences between stable, current and experimental]].
  
This new system is really a completion of the original cascading profile design that was designed by Daniel Robbins and implemented by Seemant Kulleen as part of Portage. Funtoo Profiles designed to leverage the existing cascading profile system and provide something much more useable and maintainable for users and developers alike. Here are some of its benefits:
+
==== What Architecture?  ====
  
* Fewer settings in /etc/make.conf. <tt>CHOST</tt> and <tt>ARCH</tt> no longer set in <tt>/etc/make.conf</tt>.
+
'''If you're not sure, pick <code>x86-64bit</code>, or possibly <code>pure64</code> for server systems.'''
* Separation of concerns -- arch, build, and flavor-related settings are organized together.
+
* User flexibility - any number of mix-ins can be enabled to tweak masks or USE settings as needed.
+
  
{{fancynote|See [[Custom Profiles]] for information on how to extend the profile system.}}
+
For PC-compatible systems, the following choices are available:
  
== What It Looks Like ==
+
{{TableStart}}
Here's a what a list of profiles looks like:
+
<tr><th class="info">Architecture</th><th class="info">Description</th></tr>
<console>
+
<tr><td><code>x86-64bit</code></td><td>For modern 64-bit processors. Uses new 64-bit instructions and address space. Maintains 32-bit compatibility with multilib.</td></tr>
###i## eselect profile list
+
<tr><td><code>pure64</code></td><td>For modern 64-bit processors but with no support for 32-bit compatibility.</td></tr>
Currently available arch profiles:
+
<tr><td><code>x86-32bit</code></td><td>For older 32-bit systems such as Athlon XP, Pentium 4, or earlier Atom.</td></tr>
  [1]  funtoo/1.0/linux-gnu/arch/x86-32bit
+
{{TableEnd}}
  [2]  funtoo/1.0/linux-gnu/arch/x86-64bit
+
Currently available build profiles:
+
  [3]  funtoo/1.0/linux-gnu/build/stable
+
  [4]  funtoo/1.0/linux-gnu/build/current
+
  [5]  funtoo/1.0/linux-gnu/build/experimental
+
Currently available flavor profiles:
+
  [6]  funtoo/1.0/linux-gnu/flavor/minimal
+
  [7]  funtoo/1.0/linux-gnu/flavor/core
+
  [8]  funtoo/1.0/linux-gnu/flavor/desktop
+
  [9]  funtoo/1.0/linux-gnu/flavor/workstation
+
Currently available mix-ins profiles:
+
  [10]  funtoo/1.0/linux-gnu/mix-ins/audio
+
  [11]  funtoo/1.0/linux-gnu/mix-ins/console-extras
+
  [12]  funtoo/1.0/linux-gnu/mix-ins/dvd
+
  [13]  funtoo/1.0/linux-gnu/mix-ins/gnome
+
  [14]  funtoo/1.0/linux-gnu/mix-ins/kde
+
  [15]  funtoo/1.0/linux-gnu/mix-ins/media
+
  [16]  funtoo/1.0/linux-gnu/mix-ins/print
+
  [17]  funtoo/1.0/linux-gnu/mix-ins/python3-only
+
  [18]  funtoo/1.0/linux-gnu/mix-ins/rhel5-compat
+
  [19]  funtoo/1.0/linux-gnu/mix-ins/server-db
+
  [20]  funtoo/1.0/linux-gnu/mix-ins/server-mail
+
  [21]  funtoo/1.0/linux-gnu/mix-ins/server-web
+
  [22]  funtoo/1.0/linux-gnu/mix-ins/X
+
  [23]  funtoo/1.0/linux-gnu/mix-ins/xfce
+
</console>
+
As you can see, there are multiple types of profiles to choose from.
+
Let's move on to how to start using it.
+
  
== Switch to the Funtoo 1.0 Profile ==
+
==== Your SubArch ====
  
=== Using eselect ===
+
Inside <code>/funtoo-current/x86-64bit/</code> on one of our mirrors, you'll see a bunch of directories for various ''subarches'' of Funtoo Linux. Subarches are builds of Funtoo Linux that are designed to run on a particular type of CPU, to offer the best possible performance. They also take advantage of the instruction sets available for each CPU.
The preferred method of adding and removing profiles is to use [[eselect|eselect profile]]. This ensures that profiles are added correctly and in the proper order. The order is very important for things to work right.
+
For a list of options, run:
+
<console>
+
###i## eselect profile help
+
</console>
+
  
As stated by the previous command output, let's see the list of what profiles currently defined the option '''list''':
+
If you are using an AMD-based CPU, download a stage3 from <code>generic_64</code>, <code>amd64-k8</code>, <code>amd64-k10</code>, <code>amd64-bulldozer</code>, <code>amd64-piledriver</code>, <code>amd64-steamroller</code> or <code>amd64-jaguar</code>.  See [[Subarches#64-bit AMD Processors|our list of 64-bit AMD subarches]] for help figuring out which one is best for you.
  
<console>
+
If you are using an Intel-based CPU, download a stage3 from <code>generic_64</code>, <code>atom_64</code>, <code>core2_64</code> or <code>corei7</code>. Note that <code>corei7</code> is ideal for any modern Intel processor, including Core i3 and Core i5, and many Xeons.  [[Subarches#64-bit Intel Processors|our list of 64-bit Intel subarches]] for help figuring out which one is best for you.
###i## eselect profile list
+
Currently available arch profiles:
+
  [1]  funtoo/1.0/linux-gnu/arch/x86-64bit *
+
Currently available build profiles:
+
  [2]  funtoo/1.0/linux-gnu/build/stable
+
  [3]  funtoo/1.0/linux-gnu/build/current *
+
  [4]  funtoo/1.0/linux-gnu/build/experimental
+
Currently available flavor profiles:
+
  [5]  funtoo/1.0/linux-gnu/flavor/minimal
+
  [6]  funtoo/1.0/linux-gnu/flavor/core
+
  [7]  funtoo/1.0/linux-gnu/flavor/desktop *
+
Currently available mix-ins profiles:
+
  [8]  funtoo/1.0/linux-gnu/mix-ins/dvd
+
  [9]  funtoo/1.0/linux-gnu/mix-ins/gnome
+
  [10] funtoo/1.0/linux-gnu/mix-ins/kde
+
  [11]  funtoo/1.0/linux-gnu/mix-ins/media
+
  [12]  funtoo/1.0/linux-gnu/mix-ins/rhel5-compat
+
  [13] funtoo/1.0/linux-gnu/mix-ins/server-db
+
  [14] funtoo/1.0/linux-gnu/mix-ins/server-mail
+
  [15]  funtoo/1.0/linux-gnu/mix-ins/server-web
+
  [16]  funtoo/1.0/linux-gnu/mix-ins/workstation
+
  [17]  funtoo/1.0/linux-gnu/mix-ins/workstation-minimal
+
</console>
+
  
As in several other Funtoo utilities, a star on the right indicates an active item (your case may differ from the example above). To add, say, the mix-ins '''dvd''', '''kde''' and '''media''' you have to enter:
+
If you are using a 32-bit CPU, download a stage3 from <code>generic_32</code>, <code>i686</code>, <code>core2_32</code>, <code>atom_32</code> or <code>athlon-xp</code>.
  
<console>
+
==== Setting the Date ====
###i## eselect profile add 8
+
###i## eselect profile add 10
+
###i## eselect profile add 11
+
</console>
+
  
Or, in a one-shot:
+
{{fancyimportant|If your system's date and time are too far off (typically by months or years,) then it may prevent Portage from properly downloading source tarballs. This is because some of our sources are downloaded via HTTPS, which use SSL certificates and are marked with an activation and expiration date. However, if you system time is relatively close to correct, you can probably skip this step for now.}}
 +
 
 +
Now is a good time to verify the date and time are correctly set to UTC. Use the <code>date</code> command to verify the date and time:
  
 
<console>
 
<console>
###i## eselect profile add 8 10 11
+
# ##i##date
 +
Fri Jul 15 19:47:18 UTC 2011
 
</console>
 
</console>
  
Verification:
+
If the date and/or time need to be corrected, do so using <code>date MMDDhhmmYYYY</code>, keeping in mind <code>hhmm</code> are in 24-hour format. The example below changes the date and time to "July 16th, 2011 @ 8:00PM" UTC:
  
 
<console>
 
<console>
###i## eselect profile list 
+
# ##i##date 071620002011
Currently available arch profiles:
+
Fri Jul 16 20:00:00 UTC 2011
  [1]  funtoo/1.0/linux-gnu/arch/x86-64bit *
+
Currently available build profiles:
+
  [2]  funtoo/1.0/linux-gnu/build/stable
+
  [3]  funtoo/1.0/linux-gnu/build/current *
+
  [4]  funtoo/1.0/linux-gnu/build/experimental
+
Currently available flavor profiles:
+
  [5]  funtoo/1.0/linux-gnu/flavor/minimal
+
  [6]  funtoo/1.0/linux-gnu/flavor/core
+
  [7]  funtoo/1.0/linux-gnu/flavor/desktop *
+
Currently available mix-ins profiles:
+
  [8]  funtoo/1.0/linux-gnu/mix-ins/dvd *
+
  [9]  funtoo/1.0/linux-gnu/mix-ins/gnome
+
  [10]  funtoo/1.0/linux-gnu/mix-ins/kde *
+
  [11]  funtoo/1.0/linux-gnu/mix-ins/media *
+
  [12]  funtoo/1.0/linux-gnu/mix-ins/rhel5-compat
+
  [13]  funtoo/1.0/linux-gnu/mix-ins/server-db
+
  [14]  funtoo/1.0/linux-gnu/mix-ins/server-mail
+
  [15]  funtoo/1.0/linux-gnu/mix-ins/server-web
+
  [16]  funtoo/1.0/linux-gnu/mix-ins/workstation
+
  [17]  funtoo/1.0/linux-gnu/mix-ins/workstation-minimal
+
 
</console>
 
</console>
  
{{Fancynote| You must use the numbers to reference the profiles bits you want.}}
+
Uma vez que você tenha definido o sistema de horário (system clock), é uma boa ideia copiar o horário para o sistema de horas do seu hardware (hardware clock), assim ele persiste nos reboots:
 
+
No magic here, what you add is put by portage in the <tt>/etc/portage/make.profile/parent</tt> file. In the present case this file contains:
+
  
 
<console>
 
<console>
###i## cat /etc/portage/make.profile/parent
+
# ##i##hwclock --systohc
gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
+
gentoo:funtoo/1.0/linux-gnu/build/current
+
gentoo:funtoo/1.0/linux-gnu/flavor/desktop
+
gentoo:funtoo/1.0/linux-gnu/mix-ins/dvd
+
gentoo:funtoo/1.0/linux-gnu/mix-ins/gnome
+
gentoo:funtoo/1.0/linux-gnu/mix-ins/kde
+
gentoo:funtoo/1.0/linux-gnu/mix-ins/media
+
 
</console>
 
</console>
  
== For Developers ==
+
==== Baixe o Stage3 ====
 +
Uma vez que você está no root filesystem do seu Funtoo Linux, utilize <code>wget</code> para baixar o Stage 3 tarball que você escolheu utilizar como base para o seu novo sistema Funtoo Linux. Ele deve se salvo no direorio <code>/mnt/funtoo</code> como a seguir:
  
=== Define the profile sub-sets you will use ===
+
<console># ##i##cd /mnt/funtoo
 +
# ##i##wget http://build.funtoo.org/funtoo-current/x86-64bit/generic_64/stage3-latest.tar.xz
 +
</console>
  
So far in Funtoo we have used the exact same profiles as Gentoo thus Funtoo/2008.0 was strictly the same thing as Gentoo/2008.0 or the barely the same 10.0. This (monolithic) profile was set though a symbolic link named '''/etc/make.profile''' pointing on a complex directory architecture located somewhere under '''/usr/portage/profiles'''. This is no longer valid with the Funtoo 1.0 profiles as they are split in several smaller bricks which are then glued together via the  '''/etc/portage/make.profile/parent''' file (You do not need to include everything, just use the "bricks" you need). Those bricks belongs to several categories:
+
Note que sistemas 64-bit pode rodar stages 32-bit ou 64-bit, mas o sistema 32-bit podem somente rodar stages de 32-bit. Certifique-se de selecionar um Stage 3 que é apropriado para o seu CPU (processador). Se não estiver certo, é uma aposta segura escolher o stage <code>generic_64</code> ou <code>generic_32</code>. Consulte a página de [[Download]] para mais informações.
  
1. MANDATORY -- An "arch" profile which defines settings for a particular architecture. You'll want to set this to whatever arch your system is and leave it alone. '''Setting it to a different arch than your system could severely break it.'''
+
Uma vez o stage for baixado, extraia os conteúdos com o seguinte comand, substituindo o nome nome real pelo seu stage 3 tarball:
 
+
<console>
2. MANDATORY -- A "build" profile which should match the tree you wish to use. '''Stable''', '''Current''' (~arch), or '''Experimental''' (use it if you are brave enough and find '''current''' too stable).
+
# ##i##tar xpf stage3-latest.tar.xz
 
+
</console>
3. MANDATORY -- A "flavor" profile (what was previously known as ''profiles'' is still known as such in Gentoo) which describes the kind of system you want.
+
* minimal - Be warned, minimal is exactly what it says, the minimal profile stuff you need for a usable system, nothing else. This is really for people who know what they're doing.
+
* core - This is the core profile. This is for stuff that affects both desktops and servers.
+
* desktop - Exactly what it says. If you're using a desktop, you should set this as your flavor.
+
* server - If you're running a server, you should set this as your flavor.
+
 
+
4. OPTIONAL -- One or more "mix-ins" profiles which describe optional add-ons. 'mix-ins' are the heart of the Funtoo 1.0 profiles. Unlike the monolithic profiles which sets a massive amount of use flags and options for you, we've split them into logical add-on profiles. For instance if you want support for gnome, you would add the gnome mix-in to your current profiles. That mix-in sets all the proper use flags and such for gnome. Same with others. Want dvd support? Add that one in. Using a rhel5 kernel which requires special versions of packages such as udev? There's a mix-in for that too. Run a mail server? web server? There's mix-ins for those also. Expect this category to grow in the future as new mix-ins are created.
+
 
+
The contents of '''/etc/portage/make.profile/parent''' for a basic setup might look like this:
+
 
+
<pre>
+
gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
+
gentoo:funtoo/1.0/linux-gnu/build/current
+
gentoo:funtoo/1.0/linux-gnu/flavor/core
+
</pre>
+
 
+
A more rounded setup for a desktop might look like this:
+
 
+
<pre>
+
gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit
+
gentoo:funtoo/1.0/linux-gnu/build/current
+
gentoo:funtoo/1.0/linux-gnu/flavor/desktop
+
gentoo:funtoo/1.0/linux-gnu/mix-ins/dvd
+
gentoo:funtoo/1.0/linux-gnu/mix-ins/media
+
</pre>
+
 
+
== Related ==
+
* [[Flavors and Mix-ins]]
+
  
[[Category:Funtoo features]]
+
{{important|é muito importante utilizar <code>tar's</code> "<code>'''p'''</code>" option when extracting the Stage 3 tarball - it tells <code>tar</code> to ''preserve'' any permissions and ownership that exist within the archive. Without this option, your Funtoo Linux filesystem permissions will be incorrect.}}
[[Category:Portage]]
+
[[Category:Labs]]
+
[[Category:HOWTO]]
+
[[Category:Official Documentation]]
+

Revision as of 18:51, December 13, 2014

Instalndo o Stage 3 tarball

Depois de criar os filesystems, o próximo passo é baixar o Stage 3 tarball inicial. O Stage 3 é um sistema pré-compiled utilizado como um ponto inicial para instalar o Funtoo Linux. Carregue um dos seguintes URLs em outra janela do navegador:

Agora, vamos navegar pelos diretórios nos mirrors para encontrar o build apropriado do Funtoo Linux para você.

Qual Build?

Se não estiver certo, escolha funtoo-current.

Funtoo Linux possui vários 'builds' diferentes, ou variantes. Here is a list of the various builds that are available, and what their distinctive features are:

BuildDescription
funtoo-currentThe most commonly-selected build of Funtoo Linux. Receives rapid updates and preferred by desktop users.
funtoo-current-hardenedSame package set as funtoo-current, but with a hardened, exploit-resistant toolchain.
funtoo-stableEmphasizes less-frequent package updates and trusted, reliable versions of packages over the latest versions.

If you want to read more about this, have a look at Differences between stable, current and experimental.

What Architecture?

If you're not sure, pick x86-64bit, or possibly pure64 for server systems.

For PC-compatible systems, the following choices are available:

ArchitectureDescription
x86-64bitFor modern 64-bit processors. Uses new 64-bit instructions and address space. Maintains 32-bit compatibility with multilib.
pure64For modern 64-bit processors but with no support for 32-bit compatibility.
x86-32bitFor older 32-bit systems such as Athlon XP, Pentium 4, or earlier Atom.

Your SubArch

Inside /funtoo-current/x86-64bit/ on one of our mirrors, you'll see a bunch of directories for various subarches of Funtoo Linux. Subarches are builds of Funtoo Linux that are designed to run on a particular type of CPU, to offer the best possible performance. They also take advantage of the instruction sets available for each CPU.

If you are using an AMD-based CPU, download a stage3 from generic_64, amd64-k8, amd64-k10, amd64-bulldozer, amd64-piledriver, amd64-steamroller or amd64-jaguar. See our list of 64-bit AMD subarches for help figuring out which one is best for you.

If you are using an Intel-based CPU, download a stage3 from generic_64, atom_64, core2_64 or corei7. Note that corei7 is ideal for any modern Intel processor, including Core i3 and Core i5, and many Xeons. our list of 64-bit Intel subarches for help figuring out which one is best for you.

If you are using a 32-bit CPU, download a stage3 from generic_32, i686, core2_32, atom_32 or athlon-xp.

Setting the Date

Important

If your system's date and time are too far off (typically by months or years,) then it may prevent Portage from properly downloading source tarballs. This is because some of our sources are downloaded via HTTPS, which use SSL certificates and are marked with an activation and expiration date. However, if you system time is relatively close to correct, you can probably skip this step for now.

Now is a good time to verify the date and time are correctly set to UTC. Use the date command to verify the date and time:

# date
Fri Jul 15 19:47:18 UTC 2011

If the date and/or time need to be corrected, do so using date MMDDhhmmYYYY, keeping in mind hhmm are in 24-hour format. The example below changes the date and time to "July 16th, 2011 @ 8:00PM" UTC:

# date 071620002011
Fri Jul 16 20:00:00 UTC 2011

Uma vez que você tenha definido o sistema de horário (system clock), é uma boa ideia copiar o horário para o sistema de horas do seu hardware (hardware clock), assim ele persiste nos reboots:

# hwclock --systohc

Baixe o Stage3

Uma vez que você está no root filesystem do seu Funtoo Linux, utilize wget para baixar o Stage 3 tarball que você escolheu utilizar como base para o seu novo sistema Funtoo Linux. Ele deve se salvo no direorio /mnt/funtoo como a seguir:

# cd /mnt/funtoo
# wget http://build.funtoo.org/funtoo-current/x86-64bit/generic_64/stage3-latest.tar.xz

Note que sistemas 64-bit pode rodar stages 32-bit ou 64-bit, mas o sistema 32-bit podem somente rodar stages de 32-bit. Certifique-se de selecionar um Stage 3 que é apropriado para o seu CPU (processador). Se não estiver certo, é uma aposta segura escolher o stage generic_64 ou generic_32. Consulte a página de Download para mais informações.

Uma vez o stage for baixado, extraia os conteúdos com o seguinte comand, substituindo o nome nome real pelo seu stage 3 tarball:

# tar xpf stage3-latest.tar.xz

Important

é muito importante utilizar tar's "p" option when extracting the Stage 3 tarball - it tells tar to preserve any permissions and ownership that exist within the archive. Without this option, your Funtoo Linux filesystem permissions will be incorrect.