Difference between pages "User:Sage" and "Install/ru/Overview"

(Difference between pages)
m
 
(Live CD)
 
Line 1: Line 1:
<blockquote>
+
<noinclude>
This tutorial is used to assist in the development funtoo servers used for internet cafe and school. This servers includes internet sharing , local dns, and data sharing.
+
{{InstallPart|начальный обзор процесса установки, включая скачивние LiveCD и инструкцию по загрузке.}}
</blockquote>
+
</noinclude>
 +
== Обзор Установки ==
  
= '''Network Spesification''' =
+
Общий обзор по установке Funtoo:
  
'''WAN (Wide Area Network)'''<br />
+
# [[#Live CD|Скачивание и загрузка живого диска]].
IP  124.81.181.34<br />
+
# [[#Подготовка жесткого диска|Подготовка диска]].
NM 255.255.255.248<br />
+
# [[#Создание файловой системы|Создание]] и [[#Монтирование файловых систем|монтирование]] файловых систем.
GW  124.81.181.33<br />
+
# [[#Установка архива Stage 3|Установка архива Funtoo stage]] по Вашему выбору.
NS1 202.155.0.10<br />
+
# [[#Изменение корневого каталога в Funtoo|Изменение корневого каталога в новую систему]].
NS1 202.155.0.15<br />
+
# [[#Скачивание дерева Portage |Скачивние дерева Portage]].
 +
# [[#Настройка Вашей системы|Настройка вашей системы]] и [[#Настройка сети|сети]].
 +
# [[#Конфигурация и установка ядра Линукс|Установка ядра]].
 +
# [[#Установка загрузчика|Установка загрузчика]].
 +
# [[#Заключительные Шаги|Заключительные шаги]].
 +
# [[#Перегрузка системы|Перегрузка системы]].
  
'''LAN (Local Area Network)'''<br />
+
=== Загрузочный Диск ===
IP 192.168.1.1<br />
+
NM 255.255.255.0<br />
+
  
= '''Network Configuration''' =
+
Funtoo не предоставляет оффициального загрузочного диска Funtoo Live CD. Мы рекомендуем основанный на Gentoo- [http://www.sysresccd.org/ System Rescue CD]. Он содержит множество полезных программ и утилит и поддерживает 32-битные и 64-битные системы соответственно. Скачайте диск по следующей ссылке:
WAN is a network that is connected to the Internet. In this example, using Indosat M2 with VSATs which have 8 public ip and one of them used to the server (124.81.181.35). WAN connected to the network device eth0, in the configuration file /etc/conf.d/netif.eth0
+
  
<pre>
+
http://www.sysresccd.org/Download
# nano /etc/conf.d/netif.eth0
+
template="interface"
+
IP=124.81.181.35
+
NM=255.255.255.0
+
GW=124.81.181.33
+
NS1=202.155.0.10
+
NS2=202.155.0.15
+
# ln -s /etc/init.d/netif.tmpl /etc/init.d/netif.eth0
+
# rc-update add netif.eth0 boot
+
# rc
+
</pre>
+
  
LAN is a network that is connected to the local network. The local network is connected to a network device eth1, in the configuration file /etc/conf.d/netif.eth1.
+
{{Note|Если Вы используете старую версию System Rescue CD, '''убедитесь, что Вы выбрали <code>rescue64</code> ядро в меню загрузки, если Вы устанавливаете 64-битную систему'''. По-умолчанию, System Rescue CD ранее загружался в 32-битном режиме, хотя последние версии пытаются автоматически распознать 64-битные процессоры.}}
  
<pre>
+
==== Доступ к интернету ====
# nano /etc/conf.d/netif.eth1
+
template="interface"
+
IP=192.168.1.1
+
NM=255.255.255.0
+
# ln -s /etc/init.d/netif.tmpl /etc/init.d/netif.eth1
+
# rc-update add netif.eth1 boot
+
# rc
+
</pre>
+
  
= '''Router Configuration''' =
+
Once you have booted System Rescue CD, see if you have Internet access. Internet access is required for installing Funtoo Linux:
The router allows you to connect 2 (two) or more networks. The server will also be supporting the NAT (Network Address Translation), to connect the internet with a local network.
+
 
 +
<console>
 +
# ##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>
 +
 
 +
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.
 +
 
 +
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:
 +
 
 +
<console>
 +
# ##i##startx
 +
</console>
 +
 
 +
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:
 +
 
 +
<console>
 +
# ##i##passwd
 +
New password: ##i##********
 +
Retype new password: ##i##********
 +
passwd: password updated successfully
 +
#
 +
</console>
 +
 
 +
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>:
 +
 
 +
<console>
 +
# ##i##ifconfig
 +
</console>
 +
 
 +
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:
 +
 
 +
<console>
 +
(remote system) $ ##i##ssh root@1.2.3.4
 +
Password: ##i##**********
 +
</console>
 +
 
 +
{{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.