Changes

Jump to: navigation, search

Install/fr

1,148 bytes removed, 1 year ago
Created page with "=== Téléchargement de l'arbre Portage ==="
# [[#Formatage des partitions|Formatage]] et [[#Montage des partitions|montage]] des partitions.
# [[#Installation du Stage 3|Installation du Stage 3 Funtoo]] de votre choix.
# [[#Chroot into Passage à la racine de Funtoo|Chroot into your new systemPassage à la racine du nouveau système]].# [[#Downloading the Téléchargement de l'arbre Portage tree|Download the Téléchargement de l'arbre Portage tree]].# [[#Configuring your systemConfiguration du système|Configure your systemConfiguration du système]] and et [[#Configuring your networkConfiguration du réseau|networkréseau]].# [[#Configuring and installing the Installation d'un noyau Linux kernel|Install a kernelInstallation d'un noyau]].# [[#Installing a BootloaderInstallation du gestionnaire d'amorçage|Install a bootloaderInstallation du gestionnaire d'amorçage]].# [[#Finishing StepsÉtapes de finalisation|Complete final stepsComplétion de l'installation]].# [[#Restart your systemRedémarrage du système|Reboot and enjoyRedémarrage]].
=== Live CD ===
}}{{Important|Il est très important d'utiliser l'option «{{c|'''p'''}}» de la commande {{c|tar}} lors de l'extraction du fichier compressé Stage 3 - ce paramètre instruit {{c|tar}} de «préserver» et conserver permissions et droit de propriété qui existent dans le fichier archivé. Sans cette option, les droits d'accès aux fichiers du système Funtoo seront incorrects.}}
=== Chroot into Passage à la racine de Funtoo ===To install Pour installer Funtoo Linux, the la commande {{c|chroot}} command is first usedest d'abord exécutée. The chroot command will "switch into" the new Cette commande vous place à la racine du nouveau système Funtoo Linux system. Ainsi, toutes les commandes qui seront exécutées par la suite, so the commands you execute after running "chroot" will run within your newly-extracted le seront dans l'environnement du système Funtoo Linux systemque vous venez d'extraire de l'archive du Stage 3.
Before chrootingMais avant de lancer la commande {{c|chroot}}, there are il y a few things that need to be done to set up the chroot environmentquelques petits ajustements à apporter. You will need to mount Vous devez monter les fichiers {{f|/proc}}, {{f|/sys}} and et {{f|/dev}} inside your new systemdans le nouveau système. Use the following commands to do soAyez recours aux commandes suivantes :
{{console|body=
# ##i##cd /mnt/funtoo
# ##i##mount --rbind /sys sys
# ##i##mount --rbind /dev dev
}}You'll also want to copy over Il vous faut aussi copier le fichier {{f|resolv.conf}} in order to have proper resolution of afin que les noms des hôtes Internet hostnames from inside the chroot:soient correctements résolus.
{{console|body=
# ##i##cp /etc/resolv.conf /mnt/funtoo/etc/
Congratulations! You are now chrooted inside a Funtoo Linux system. Now it's time to get Funtoo Linux properly configured so that Funtoo Linux will start successfully, without any manual assistance, when your system is restarted.=== Downloading the Téléchargement de l'arbre Portage tree ===
{{note|For an alternative way to do this, see [[Installing Portage From Snapshot]].}}
}}
=== Configuring your system Configuration du système ===As is expected from a Linux distribution, Funtoo Linux has its share of configuration files. The one file you are absolutely required to edit in order to ensure that Funtoo Linux boots successfully is {{f|/etc/fstab}}. The others are optional.
==== Using Utilisation de Nano ====
The default editor included in the chroot environment is called {{c|nano}}. To edit one of the files below, run nano as follows:
When in the editor, you can use arrow keys to move the cursor, and common keys like backspace and delete will work as expected. To save the file, press Control-X, and answer {{c|y}} when prompted to save the modified buffer if you would like to save your changes.
==== Configuration Files Fichiers de configuration ====
Here are a full list of files that you may want to edit, depending on your needs:
</pre>
==== /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.{{console|body=(chroot) ###i## nano -w /etc/conf.d/hwclock}}==== Localization Francisation ====
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]].
=== Introducing Introduction à Portage ===
Portage, the Funtoo Linux package manager has a command called <code>emerge</code> which is used to build and install packages from source. It also takes care of installing all of the package's dependencies. You call emerge like this:
Advanced users may be interested in the [[Emerge]] wiki page.
==== Updating World Mise à jour globale (world) ====
Now is actually a very good time to update the entire system and it can be a good idea to do so prior to first boot.
Make sure you read any post emerge messages and follow their instructions. This is especially true if you have upgraded perl or python.}}
=== Kernel Noyau ===
Starting mid-May 2015, Funtoo Linux stage3's include a pre-built {{c|debian-sources}} kernel to make installation faster and easier. To see if debian-sources is installed, type:
If a version is listed under {{c|Latest version installed}}, then debian-sources is already pre-built for you and you can skip the rest of the Kernel section, and proceed to the [[#Installing a Bootloader|Installing a Bootloader section]].
==== Building the Kernel Configuration et installation du noyau ====
If you need to build a kernel for Funtoo Linux, please follow these steps:
{{fancynote|For an overview of other kernel options for Funtoo Linux, see [[Funtoo Linux Kernels]]. There may be modules that the Debian kernel doesn't include, a situation where [http://www.funtoo.org/wiki/Funtoo_Linux_Kernels#Using_Debian-Sources_with_Genkernel genkernel] would be useful. Also be sure to see [[:Category:Hardware Compatibility|hardware compatibility]] information.}}
=== Installing a Bootloader Installation du gestionnaire d'amorçage ===
These install instructions show you how to use GRUB to boot using BIOS (old-school) or UEFI (new-school). As of boot-update-1.7.2, now in Portage, the steps are very similar.
If you are booting a custom or non-default kernel, please read <code>man boot.conf</code> for information on the various options available to you.
==== Old School Vieille école (BIOS) MBR ====
When using "old school" BIOS booting, run the following command to install GRUB to your MBR, and generate the {{c|/boot/grub/grub.cfg}} configuration file that GRUB will use for booting:
</console>
==== New School Nouvelle école (UEFI) Boot Entry ====
If you're using "new school" UEFI booting, run of the following sets of commands, depending on whether you are installing a 64-bit or 32-bit system. This will add GRUB as a UEFI boot entry.
</console>
==== First Boot, and in the future... Premier démarrage et suivants ====
OK -- you are ready to boot!
You only need to run <code>grub-install</code> when you first install Funtoo Linux, but you need to re-run <code>boot-update</code> every time you modify your <code>/etc/boot.conf</code> file or add new kernels to your system. This will regenerate {{c|/boot/grub/grub.cfg}} so that you will have new kernels available in your GRUB boot menu, the next time you reboot.
=== Configuring your network Configuration du réseau ===
It's important to ensure that you will be able to connect to your local-area network after you reboot into Funtoo Linux. There are three approaches you can use for configuring your network: NetworkManager, dhcpcd, and the [[Funtoo Linux Networking]] scripts. Here's how to choose which one to use based on the type of network you want to set up.
{{Note|wpa_supplicant is also a good choice for wireless network connections. See the {{package|net-wireless/wpa_supplicant}} package for steps involved in setting up wpa_supplicant.}}
==== Desktop PC de bureau (Wired Câblage DHCP) ====
For a home desktop or workstation with wired Ethernet that will use DHCP, the simplest and most effective option to enable network connectivity is to simply add {{c|dhcpcd}} to the default runlevel:
If your upstream DHCP server is dnsmasq, it can be configured to assign addresses via mac address to make servers on DHCP feasible.
==== Server Serveur (Static IPstatique) ====
For servers, the [[Funtoo Linux Networking]] scripts are recommended. They are optimized for static configurations and things like virtual ethernet bridging for virtualization setups. See [[Funtoo Linux Networking]] for information on how to use Funtoo Linux's template-based network configuration system.
==== Hostname Nom de l'hôte ====By default Funtoo uses "localhost" as hostname. Although the system will work perfectly fine using this name, some ebuilds refuse to install when detecting localhost as hostname. It also may create confusion if several systems use the same hostname. Therefore, it is advised to change it to a more meaningful name. The hostname itself is arbitrary, meaning you can choose almost any combination of characters, as long as it makes sense to the system administrator. To change the hostname, edit
{{console|body=
{{tip|Use short hostnames (up to 8 or 10 characters) to prevent the terminal screen being filled with the hostname, leaving little space for the command itself. This become particularly poignant when coding long command strings in various programming languages like Bash, Python, SQL and Perl}}
=== Finishing Steps Étapes de finalisation === ==== Set your root password Définition du mot de passe de l'administrateur ==== It's imperative that you set your root password before rebooting so that you can log in.<console>(chroot) # ##i##passwd</console>
===Restart your system Redémarrage du système ===
Now is the time to leave chroot, to unmount Funtoo Linux partitions and files and to restart your computer. When you restart, the GRUB boot loader will start, load the Linux kernel and initramfs, and your system will begin booting.
You should now see your system reboot, the GRUB boot loader appear for a few seconds, and then see the Linux kernel and initramfs loading. After this, you should see Funtoo Linux itself start to boot, and you should be greeted with a <code>login:</code> prompt. Funtoo Linux has been successfully installed!
=== Profiles Profils ===
Once you have rebooted into Funtoo Linux, you can further customize your system to your needs by using [[Funtoo Profiles]]. A quick introduction to profiles is included below -- consult the [[Funtoo Profiles]] page for more detailed information. There are five basic profile types: arch, build, subarch, flavors and mix-ins:
{{TableEnd}}
===Next StepsLa suite ===
If you are brand new to Funtoo Linux and Gentoo Linux, please check out [[Funtoo Linux First Steps]], which will help get you acquainted with your new system. We also have a category for our [[:Category:Official Documentation|official documentation]], which includes all docs that we officially maintain for installation and operation of Funtoo Linux.
wiki-users
498
edits

Navigation menu