[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[RFR] manual://d-i/using-d-i/modules/network-console.xml



Para facilitar a revisão estou incluindo tanto o original em inglês como
o traduzido.
Title: Installation Over the Network
One of the more interesting components is network-console. It allows you to do a large part of the installation over the network via SSH. The use of the network implies you will have to perform the first steps of the installation from the console, at least to the point of setting up the networking. (Although you can automate that part with .) This component is not loaded into the main installation menu by default, so you have to explicitly ask for it. If you are installing from CD, you need to boot with medium priority or otherwise invoke the main installation menu and choose Load installer components from CD and from the list of additional components select network-console: Continue installation remotely using SSH. Successful load is indicated by a new menu entry called Continue installation remotely using SSH. For installations on &arch-title;, this is the default method after setting up the network. After selecting this new entry, you You will be asked for a new password to be used for connecting to the installation system and for its confirmation. That's all. Now you should see a screen which instructs you to login remotely as the user installer with the password you just provided. Another important detail to notice on this screen is the fingerprint of this system. You need to transfer the fingerprint securely to the person who will continue the installation remotely. Should you decide to continue with the installation locally, you can always press &enterkey;, which will bring you back to the main menu, where you can select another component. Now let's switch to the other side of the wire. As a prerequisite, you need to configure your terminal for UTF-8 encoding, because that is what the installation system uses. If you do not, remote installation will be still possible, but you may encounter strange display artefacts like destroyed dialog borders or unreadable non-ascii characters. Establishing a connection with the installation system is as simple as typing: $ ssh -l installer install_host Where install_host is either the name or IP address of the computer being installed. Before the actual login the fingerprint of the remote system will be displayed and you will have to confirm that it is correct. If you install several computers in turn and they happen to have the same IP address or hostname, ssh will refuse to connect to such host. The reason is that it will have different fingerprint, which is usually a sign of a spoofing attack. If you are sure this is not the case, you will need to delete the relevant line from ~/.ssh/known_hosts and try again. After the login you will be presented with an initial screen where you have two possibilities called Start menu and Start shell. The former brings you to the main installer menu, where you can continue with the installation as usual. The latter starts a shell from which you can examine and possibly fix the remote system. You should only start one SSH session for the installation menu, but may start multiple sessions for shells. After you have started the installation remotely over SSH, you should not go back to the installation session running on the local console. Doing so may corrupt the database that holds the configuration of the new system. This in turn may result in a failed installation or problems with the installed system. Also, if you are running the SSH session from an X terminal, you should not resize the window as that will result in the connection being terminated.
Title: Instalação Pela Rede
Um dos componentes mais interessantes é o network-console (console de rede). Ele lhe permite fazer grande parte da instalação através da rede via SSH. O uso da rede implica em que você precisa fazer os primeiros passos da instalação à partir do console, pelo menos até o ponto de configurar a rede. (Entretanto você pode automatizar esta parte com o .) Este componente não é carregado no menu principal de instalação por padrão, então você deve chamar por ele explicitamente. Se você está instalando à partir do CD, você precisa iniciar (boot) com prioridade média ou invocar o menu principal de instalação e selecionar Load installer components from CD e da lista de componentes adicionais selecionar network-console: Continue installation remotely using SSH . O sucesso na carga é indicada por uma nova entrada no menu chamada Continue installation remotely using SSH . Para instalações em &arch-title;, este é o método padrão após configurar a rede. Após selecionar a nova entrada, você Você será perguntado sobre uma nova senha para ser usada para conectar ao sistema de instalação e pela sua confirmação. Isto é tudo. Você deve ver uma tela que o instruirá a fazer o login remotamente como usuário installer e com a senha que você forneceu anteriormente. Outro detalhe importante à notar nesta tela é o fingerprint do sistema. Você precisa transferir o fingerprint de forma segura para a pessoa que irá continuar a instalação remotamente. Se você decidir continuar com a instalação localmente, você sempre pode pressionar &enterkey;, que irá levá-lo de volta para o menu principal, onde você pode selecionar outro componente. Agora vamos mudar para o outro lado do fio. Como pré-requisito, você precisa configurar seu terminal para codificação UTF-8, porque é esta que o sistema de instalação usa. Se não o fizer, a instalação remota continua sendo possível, mas você poderá encontrar artefatos estranhos na tela como bordas de diálogos destruídas ou caracteres não-ascii ilegíveis. Estabelecer a conexão com o sistema de instalação é simples como digitar: $ ssh -l installer install_host Onde install_host pode ser tanto o nome como o endereço IP do computador que está sendo instalado. Antes de fazer o login o fingerprint do sistema remoto é exibido e você deve confirmar se está correto. Se você instalar vários computadores ao mesmo tempo e acontecer de ter o mesmo endereço IP ou nome de host, ssh recusará a conectar à este host. A razão é que ele terá um fingerprint diferente, o que geralmente é um sinal de ataque de spoofing. Se você estiver certo de que este não é o caso, você precisa remover a linha relevante do ~/.ssh/known_hosts e tentar novamente. Após o login você verá a tela inicial onde você tem duas possibilidades chamadas Start menu e Start shell. O primeiro o levará para o menu principal do instalador, onde você pode continuar com a instalação normalmente. O último inicia um shell de onde você pode examinar e possivelmente reparar o sistema remoto. Você pode iniciar apena uma sessão SSH pelo menu de instalação, mas pode iniciar múltiplas sessões pelos shells. Após iniciar a instalação remotamente por SSH, você não poderá voltar para a sessão de instalação rodando no console local. Fazer isso poderá corromper o banco de dados que mantém a configuração do novo sistema. Isto, por sua vez, pode resultar em falha na instalação ou problemas no sistema instalado. Também, se você está rodando a sessão SSH à partir de um terminal X, você não deverá redimensionar a janela, pois isso resultará na interrupção da conexão.

Attachment: signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente


Reply to: