注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Install/Download LiveCD/zh-cn"

From Funtoo
Jump to navigation Jump to search
(Created page with "==== 远程安装 ====")
(Updating to match new version of source page)
 
(19 intermediate revisions by 2 users not shown)
Line 2: Line 2:
== Download LiveCD ==
== Download LiveCD ==
</includeonly><noinclude><languages/>
</includeonly><noinclude><languages/>
= Install Guide: Download LiveCD =
= 安装指南:下载 LiveCD =


<div class="mw-translate-fuzzy">
{{InstallNavigation|num=1|prev=Introduction|next=Prepare Disk}}</noinclude>
{{InstallNavigation|num=1|prev=Introduction|next=Prepare Disk}}</noinclude>
</div>


In order to install Funtoo Linux, you will first need to boot your computer using a Linux-based Live CD or USB stick. We currently recommend the [[Gentoo Minimal Installation CD]] as it contains a modern kernel and updated booting for UEFI systems, and is a quick download. It can be burned to CD/DVD or installed on a USB stick. Download it here:
<div class="mw-translate-fuzzy">
为了安装 Funtoo Linux,首先需要使用基于 Linux Live CD 或 U 盘来启动计算机。我们目前推荐使用 [[Gentoo Minimal Installation CD|Gentoo 最小化安装 CD]],因为它包含了现代的内核和最新的 UEFI 系统的启动,并且可以快速下载。它可以被刻录成 CD/DVD 或安装在 U 盘上。在这里下载它:
   
   
* Download from '''{{LiveCD}}'''
* '''{{LiveCD}}''' 下载。
</div>


要将其复制到 U 盘上进行启动,请使用以下命令:
When installing Funtoo Linux on x86-64bit, we highly recommend the official Funtoo Linux LiveCD/LiveUSB, which can always be downloaded here:


* https://www.funtoo.org/Funtoo:New_Install_Experience/LiveCD/Releases
While any modern bootable Linux image should be sufficient to install Funtoo Linux, the Funtoo LiveCD has several advantages over other options. Because it natively runs Funtoo Linux, and includes our official debian-sources kernel with very good hardware support, the hardware it supports is going to match the hardware that Funtoo Linux supports -- thus allowing you to identify any hardware compatibility issues
immediately.
In addition, our LiveCD is regularly updated, and includes NetworkManager which allows the use of the easy {{c|nmtui}} command to configure your network. It also includes our innovative [[Fchroot]] tool, which allows you to use QEMU to "chroot" into non-x86 systems such as arm-64bit and riscv-64bit. This allows the Funtoo LiveCD to be used to even rescue and set up systems with different instruction sets!
<div class="mw-translate-fuzzy">
要将其复制到 U 盘上进行启动,使用以下命令:
</div>
<div class="mw-translate-fuzzy">
{{console|body=
{{console|body=
# ##i##dd if=install-amd64-minimal-20210103T214503Z.iso of=/dev/sdx bs=4k status=progress
# ##i##dd if=install-amd64-minimal-20210103T214503Z.iso of=/dev/sdx bs=4k status=progress
}}
}}
</div>


Of course, you will need to change {{c|/dev/sdx}} to point to the block device of the USB stick on your system.
<div class="mw-translate-fuzzy">
当然,需要将 {{c|/dev/sdx}} 改为指向系统中 U 盘的块设备。
</div>


==== 网络接入 ====  
==== 接入网络 ====  


For steps on setting up network access from the LiveCD, please see the {{LiveCD}} page.
关于从 LiveCD 设置接入网络的步骤,请参见 {{LiveCD}} 页面。


==== 远程安装 ====  
==== 远程安装 ====  
Line 26: Line 45:
Alternatively, you can log into your bootable environment over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.
Alternatively, you can log into your bootable environment over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.


First ensure that {{c|sshd}} is running. For the Gentoo Minimal Installation CD, you will need to start {{c|sshd}} as follows:
First ensure that {{c|sshd}} is running. You may need to start {{c|sshd}} as follows:


{{console|body=
{{console|body=
Line 32: Line 51:
}}
}}


If you'd like to complete the install remotely, here's how. First, you will need to ensure that your bootable CD/USB image has a functioning network connection. Then, you will need to set a root password:
如果要远程完成安装,方法如下。首先,需要确保可启动 CD/USB 镜像已正常连接网络。然后,需要设置一个root密码:


{{console|body=
{{console|body=
Line 42: Line 61:




Once you have typed in a password, you will now need to determine the IP address of the bootable system, and then you can use {{c|ssh}} to connect to it. To determine the IP address currently being used by the LiveCD, type {{c|ifconfig}}:
输入密码后,现在需要确定可启动系统的 IP 地址,然后就可以使用 {{c|ssh}} 连接到它。要确定 LiveCD 当前使用的 IP 地址,输入 {{c|ifconfig}}


{{console|body=
{{console|body=
Line 48: Line 67:
}}
}}


Alternatively, determining of an IP address is possible with iproute2 {{c|ip}} tool:
另外,还可以通过 iproute2 {{c|ip}} 工具确定 IP 地址:


{{console|body=
{{console|body=
Line 60: Line 79:
Password: ##i##**********}}
Password: ##i##**********}}


{{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 [https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse OpenSSH].}}
{{Note|如果想从现有的微软 Windows 系统进行远程连接,则需要下载一个 Windows 的 SSH 客户端,比如 [https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse OpenSSH]}}


After you've logged in via SSH, you're now connected remotely to the LiveCD and can perform the installation steps.
通过 SSH 登录后,现在已经远程连接到 LiveCD,可以进行安装步骤。
<noinclude>{{InstallNavigation|num=1|prev=Introduction|next=Prepare Disk|align=right}}</noinclude>
<noinclude>{{InstallNavigation|num=1|prev=Introduction|next=Prepare Disk|align=right}}</noinclude>

Latest revision as of 01:55, May 26, 2023

Other languages:
English • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎ • ‎中文(台灣)‎

安装指南:下载 LiveCD

Install Guide, Chapter 1 < Prev Next >

为了安装 Funtoo Linux,首先需要使用基于 Linux 的 Live CD 或 U 盘来启动计算机。我们目前推荐使用 Gentoo 最小化安装 CD,因为它包含了现代的内核和最新的 UEFI 系统的启动,并且可以快速下载。它可以被刻录成 CD/DVD 或安装在 U 盘上。在这里下载它:

When installing Funtoo Linux on x86-64bit, we highly recommend the official Funtoo Linux LiveCD/LiveUSB, which can always be downloaded here:

While any modern bootable Linux image should be sufficient to install Funtoo Linux, the Funtoo LiveCD has several advantages over other options. Because it natively runs Funtoo Linux, and includes our official debian-sources kernel with very good hardware support, the hardware it supports is going to match the hardware that Funtoo Linux supports -- thus allowing you to identify any hardware compatibility issues immediately.

In addition, our LiveCD is regularly updated, and includes NetworkManager which allows the use of the easy nmtui command to configure your network. It also includes our innovative Fchroot tool, which allows you to use QEMU to "chroot" into non-x86 systems such as arm-64bit and riscv-64bit. This allows the Funtoo LiveCD to be used to even rescue and set up systems with different instruction sets!

要将其复制到 U 盘上进行启动,使用以下命令:

root # dd if=install-amd64-minimal-20210103T214503Z.iso of=/dev/sdx bs=4k status=progress

当然,需要将 /dev/sdx 改为指向系统中 U 盘的块设备。

接入网络

关于从 LiveCD 设置接入网络的步骤,请参见 Funtoo:New Install Experience/LiveCD 页面。

远程安装

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

First ensure that sshd is running. You may need to start sshd as follows:

root # /etc/init.d/sshd start

如果要远程完成安装,方法如下。首先,需要确保可启动 CD/USB 镜像已正常连接网络。然后,需要设置一个root密码:

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


输入密码后,现在需要确定可启动系统的 IP 地址,然后就可以使用 ssh 连接到它。要确定 LiveCD 当前使用的 IP 地址,输入 ifconfig

root # ifconfig

另外,还可以通过 iproute2 ip 工具确定 IP 地址:

root # ip addr show

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, your bootable environment, 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 the LiveCD. Connecting from an existing Linux or MacOS system would look something like this:

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

如果想从现有的微软 Windows 系统进行远程连接,则需要下载一个 Windows 的 SSH 客户端,比如 OpenSSH

通过 SSH 登录后,现在已经远程连接到 LiveCD,可以进行安装步骤。

Install Guide, Chapter 1 < Prev Next >