Difference between pages "Install/Stage3" and "Install/ru/Overview"

< Install(Difference between pages)
(Which Build?)
 
(Live CD)
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{InstallPart|the process of installing the Stage3 tarball}}
+
{{InstallPart|начальный обзор процесса установки, включая скачивние LiveCD и инструкцию по загрузке.}}
 
</noinclude>
 
</noinclude>
==== Setting the Date ====
+
== Обзор Установки ==
  
{{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.}}
+
Общий обзор по установке Funtoo:
  
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:
+
# [[#Live CD|Скачивание и загрузка живого диска]].
 +
# [[#Подготовка жесткого диска|Подготовка диска]].
 +
# [[#Создание файловой системы|Создание]] и [[#Монтирование файловых систем|монтирование]] файловых систем.
 +
# [[#Установка архива Stage 3|Установка  архива Funtoo stage]] по Вашему выбору.
 +
# [[#Изменение корневого каталога в Funtoo|Изменение корневого каталога в новую систему]].
 +
# [[#Скачивание дерева Portage |Скачивние дерева Portage]].
 +
# [[#Настройка Вашей системы|Настройка вашей системы]] и [[#Настройка сети|сети]].
 +
# [[#Конфигурация и установка ядра Линукс|Установка ядра]].
 +
# [[#Установка загрузчика|Установка загрузчика]].
 +
# [[#Заключительные Шаги|Заключительные шаги]].
 +
# [[#Перегрузка системы|Перегрузка системы]].
  
<console>
+
=== Загрузочный Диск ===
# ##i##date
+
Fri Jul 15 19:47:18 UTC 2011
+
</console>
+
  
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:
+
Funtoo не предоставляет оффициального загрузочного диска Funtoo Live CD. Мы рекомендуем основанный на Gentoo- [http://www.sysresccd.org/ System Rescue CD]. Он содержит множество полезных программ и утилит и поддерживает 32-битные и 64-битные системы соответственно. Скачайте диск по следующей ссылке:
  
<console>
+
http://www.sysresccd.org/Download
# ##i##date 071620002011
+
Fri Jul 16 20:00:00 UTC 2011
+
</console>
+
  
Once you have set the system clock, it's a very good idea to copy the time to the hardware clock, so it persists across reboots:
+
{{Note|Если Вы используете старую версию System Rescue CD, '''убедитесь, что Вы выбрали <code>rescue64</code> ядро в меню загрузки, если Вы устанавливаете 64-битную систему'''. По-умолчанию, System Rescue CD ранее загружался в 32-битном режиме, хотя последние версии пытаются автоматически распознать 64-битные процессоры.}}
 +
 
 +
==== Доступ к интернету ====
 +
 
 +
Once you have booted System Rescue CD, see if you have Internet access. Internet access is required for installing Funtoo Linux:
  
 
<console>
 
<console>
# ##i##hwclock --systohc
+
# ##i##ping www.google.com
 +
PING www.google.com (216.58.217.36) 56(84) bytes of data.
 +
64 bytes from den03s10-in-f4.1e100.net (216.58.217.36): icmp_seq=1 ttl=57 time=30.1 ms
 
</console>
 
</console>
  
=== Installing the Stage 3 tarball ===
+
If the ping is successful (you see <code>64 bytes</code> messages as above,) then your Network is set up. Hit Control-C to stop the ping.
  
Now that filesystems are created and your hardware and system clock are set, the next step is downloading the initial Stage 3 tarball. The Stage 3 is a pre-compiled system used as a starting point to install Funtoo Linux.
+
If you need to set up a WiFi connection for Internet access, then this needs to be done using the System Rescue CD graphical environment. Run <code>startx</code> to start a graphical session:
  
To download the correct build of Funtoo Linux for your system, head over to the [[Subarches]] page. 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.
+
<console>
 +
# ##i##startx
 +
</console>
  
The [[Subarches]] page lists all CPU-optimized versions of Funtoo Linux. Find the one that is appropriate for the type of CPU that your system has, and then click on its name in the first column (such as <code>corei7</code>, for example.) You will then go to a page dedicated to that subarch, and the available stage3's available for download will be listed.
+
Then, use the NetworkManager applet (icon in lower right) to connect to a WiFi network of your choice. Next, open a terminal inside your graphical environment, and you should be able to use the terminal to complete the rest of the steps.
  
For most subarches, you will have several stage3's available to choose from. This next section will help you understand which one to pick.
+
==== Remote Install ====
  
==== Which Build? ====
+
Alternatively, you can log into System Rescue CD over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.
  
'''If you're not sure, pick <code>funtoo-current</code>.'''
+
If you'd like to complete the install remotely, here's how. First, you will need to ensure that System Rescue CD has a functioning network connection. Then, you will need to set a root password for System Rescue CD:
  
Funtoo Linux has various different 'builds':
+
<console>
 +
# ##i##passwd
 +
New password: ##i##********
 +
Retype new password: ##i##********
 +
passwd: password updated successfully
 +
#
 +
</console>
  
{{TableStart}}
+
Once you have typed in a password, you will now need to determine the IP address of System Rescue CD, and then you can use <code>ssh</code> to connect to it. To determine the IP address currently being used by System Rescue CD, type <code>ifconfig</code>:
<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-stable</code></td><td>Emphasizes less-frequent package updates and trusted, reliable versions of packages over the latest versions.</td></tr>
+
{{TableEnd}}
+
  
==== Which Variant? ====
+
<console>
 
+
# ##i##ifconfig
'''If you're not sure, pick <code>(None)</code>.'''
+
 
+
Besides our "regular" stage3's (listed with a variant of <code>(None)</code>, the following variant builds are available:
+
 
+
{{TableStart}}
+
<tr><th class="info">Variant</th><th class="info">Description</th></tr>
+
<tr><td>(None)</td><td>The "standard" version of Funtoo Linux</td></tr>
+
<tr><td><code>pure64</code></td><td>A 64-bit build that drops multilib (32-bit compatibility) support. Can be ideal for server systems.</td></tr>
+
<tr><td><code>hardened</code></td><td>Includes PIE/SSP toolchain for enhanced security. PIE does require the use of PaX in the kernel, while SSP works with any kernel, and provides enhanced security in user-space to avoid stack-based exploits.</td></tr>
+
{{TableEnd}}
+
 
+
==== Download the Stage3 ====
+
 
+
Once you have found the stage3 that you would like to download, use <code>wget</code> to download the Stage 3 tarball you have chosen to use as the basis for your new Funtoo Linux system. It should be saved to the <code>/mnt/funtoo</code> directory as follows:
+
 
+
<console># ##i##cd /mnt/funtoo
+
# ##i##wget http://build.funtoo.org/funtoo-current/x86-64bit/generic_64/stage3-latest.tar.xz
+
 
</console>
 
</console>
  
Note that 64-bit systems can run 32-bit or 64-bit stages, but 32-bit systems can only run 32-bit stages. Make sure that you select a Stage 3 build that is appropriate for your CPU. If you are not certain, it is a safe bet to choose the <code>generic_64</code> or <code>generic_32</code> stage. Consult the [[Subarches]] page for more information.
+
One of the interfaces should have an IP address (listed as <code>inet addr:</code>) from your LAN. You can then connect remotely, from another system on your LAN, to System Rescue CD, and perform steps from the comfort of an existing OS. On your remote system, type the following, replacing <code>1.2.3.4</code> with the IP address of System Rescue CD. Connecting from an existing Linux or MacOS system would look something like this:
  
Once the stage is downloaded, extract the contents with the following command, substituting in the actual name of your stage 3 tarball:
 
 
<console>
 
<console>
# ##i##tar xpf stage3-latest.tar.xz
+
(remote system) $ ##i##ssh root@1.2.3.4
 +
Password: ##i##**********
 
</console>
 
</console>
  
{{important|It is very important to use <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.}}
+
{{Note|If you'd like to connect remotely from an existing Microsoft Windows system, you'll need to download an SSH client for Windows, such as [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY].}}
 +
 
 +
After you've logged in via SSH, you're now connected remotely to System Rescue CD and can perform the installation steps.

Revision as of 16:05, December 29, 2014


Note

This is a template that is used as part of the Installation instructions which covers: начальный обзор процесса установки, включая скачивние LiveCD и инструкцию по загрузке.. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.


Обзор Установки

Общий обзор по установке Funtoo:

  1. Скачивание и загрузка живого диска.
  2. Подготовка диска.
  3. Создание и монтирование файловых систем.
  4. Установка архива Funtoo stage по Вашему выбору.
  5. Изменение корневого каталога в новую систему.
  6. Скачивние дерева Portage.
  7. Настройка вашей системы и сети.
  8. Установка ядра.
  9. Установка загрузчика.
  10. Заключительные шаги.
  11. Перегрузка системы.

Загрузочный Диск

Funtoo не предоставляет оффициального загрузочного диска Funtoo Live CD. Мы рекомендуем основанный на Gentoo- System Rescue CD. Он содержит множество полезных программ и утилит и поддерживает 32-битные и 64-битные системы соответственно. Скачайте диск по следующей ссылке:

http://www.sysresccd.org/Download

Note

Если Вы используете старую версию System Rescue CD, убедитесь, что Вы выбрали rescue64 ядро в меню загрузки, если Вы устанавливаете 64-битную систему. По-умолчанию, System Rescue CD ранее загружался в 32-битном режиме, хотя последние версии пытаются автоматически распознать 64-битные процессоры.

Доступ к интернету

Once you have booted System Rescue CD, see if you have Internet access. Internet access is required for installing Funtoo Linux:

# ping www.google.com
PING www.google.com (216.58.217.36) 56(84) bytes of data.
64 bytes from den03s10-in-f4.1e100.net (216.58.217.36): icmp_seq=1 ttl=57 time=30.1 ms

If the ping is successful (you see 64 bytes messages as above,) then your Network is set up. Hit Control-C to stop the ping.

If you need to set up a WiFi connection for Internet access, then this needs to be done using the System Rescue CD graphical environment. Run startx to start a graphical session:

# startx

Then, use the NetworkManager applet (icon in lower right) to connect to a WiFi network of your choice. Next, open a terminal inside your graphical environment, and you should be able to use the terminal to complete the rest of the steps.

Remote Install

Alternatively, you can log into System Rescue CD over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.

If you'd like to complete the install remotely, here's how. First, you will need to ensure that System Rescue CD has a functioning network connection. Then, you will need to set a root password for System Rescue CD:

# passwd
New password: ********
Retype new password: ********
passwd: password updated successfully
#

Once you have typed in a password, you will now need to determine the IP address of System Rescue CD, and then you can use ssh to connect to it. To determine the IP address currently being used by System Rescue CD, type ifconfig:

# ifconfig

One of the interfaces should have an IP address (listed as inet addr:) from your LAN. You can then connect remotely, from another system on your LAN, to System Rescue CD, and perform steps from the comfort of an existing OS. On your remote system, type the following, replacing 1.2.3.4 with the IP address of System Rescue CD. Connecting from an existing Linux or MacOS system would look something like this:

(remote system) $ ssh root@1.2.3.4
Password: **********
Note

If you'd like to connect remotely from an existing Microsoft Windows system, you'll need to download an SSH client for Windows, such as PuTTY.

After you've logged in via SSH, you're now connected remotely to System Rescue CD and can perform the installation steps.