Difference between pages "Funtoo:User Services/Containers" and "Install/pt-br/Overview"

From Funtoo
< Funtoo:User Services(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
== Funtoo Linux Hosting ==
<noinclude>
__NOTOC__
{{InstallPart|uma visão geral inicial do processo de instalação, tão em quanto instruções de download do LiveCD e de boot}}
</noinclude>
== Visão geral da instalação ==


If you support Funtoo Linux, we also want to support ''you'' in your Funtoo Linux adventure. Supporters of Funtoo Linux of at least $15/mo can request a Funtoo Linux virtual container. Here are the configurations currently being offered:
Essa é uma básica visão geral do processo de instalação do Funtoo:


{{TableStart}}
# [[#Live CD|Baixe e boot o live CD da sua escolha]].
<tr class="danger"><th>Price</th><th>RAM</th><th>CPU Threads</th><th>Disk Space</th></tr>
# [[#Prepare Hard Disk|Prepare seu disco]].
<tr><td>$15/mo</td><td>4GB</td><td>6 CPU Threads</td><td>50GB</td></tr>
# [[#Creating filesystems|Crie]] e [[#Mounting filesystems|monte]] os filesystems.
<tr><td>$30/mo</td><td>12GB</td><td>12 CPU Threads</td><td>100GB</td></tr>
# [[#Installing the Stage 3 tarball|Instale o tarball stage doFuntoo]] da sua escolha.
<tr><td>$45/mo</td><td>48GB</td><td>24 CPU Threads</td><td>200GB</td></tr>
# [[#Chroot into Funtoo|Use o Chroot no seu novo sistema]].
{{TableEnd}}
# [[#Downloading the Portage tree|Baixe o Portage tree]].
# [[#Configuring your system|Configure seu sistema]] e sua [[#Configuring your network|rede]].
# [[#Configuring and installing the Linux kernel|Instale um kernel]].
# [[#Installing a Bootloader|Instale um bootloader]].
# [[#Finishing Steps|Complete os passos finais]].
# [[#Restart your system|Reboot e aproveite]].


As you can see, this pricing is well below market rates, and includes fast SSD (solid state disk) storage, one IPv4 address, and lots of bandwidth. We believe that by enabling you to do with great things with Funtoo Linux, our community and technology will benefit. So we see this as a win for everyone.
=== Live CD ===


== Container FAQ ==
Funtoo não provê um  Live CD "official" do Funtoo. Recomendamos utilizar o Gentoo-based [http://www.sysresccd.org/ System Rescue CD] já que ele contem muitas ferramentas e utilizades e tem suporte a sistemas tanto à 32-bit quando 64-bit. Baixe-o aqui:


;How do I sign up?: Set up a monthly support subscription via PayPal or credit card on our [[Support Funtoo]] page. Then see the [[#Getting Started|Getting Started]] section below.
http://www.sysresccd.org/Download


;Do I get root access?: Yes, you get full root access to your container.
{{Note|Se utilizar uma versão antiga do System Rescue CD, '''certifique-se de selecionar o kernel <code>rescue64</code> no menu de boot se estiver instalando um sistema 64-bit'''. Por padrão, o System Rescue CD costumava a bottar em em módo 32-bit, embora a ultima versão atenta para detectar automaticamente  os processadores 64-bit.}}


;Can I reboot my container?: Yes, reboot normally and it will come back up.
==== Acesso a Rede ====


;How much bandwidth is ''really'' included?: For most typical uses of your container, this is not something you need to worry about. Our server is on a 100Mbps physical link, which is shared among all containers. Our bandwidth plan is set up so that everyone should have lots of burstable bandwidth, assuming light use at other times. If you have continuous high bandwidth needs, please email me to discuss first.
Uma vez que você tenha inicializado o System Rescue CD, veja se você possui acesso a Internet. Acesso a internet é necessário para a instalação do Funtoo Linux:


;How do I upgrade the kernel in my VPS?: A virtual container shares a kernel with the host, so you do not have the ability to change the kernel from "inside" the container.
<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>


;Can I run Docker inside my container?: The OpenVZ development team is the largest code contributor to the Linux Containers kernel code (which is part of Docker,) and we use OpenVZ, but right now it is not possible to run LXC inside an OpenVZ container. This may change with the release of newer OpenVZ kernels based on 3.x.
Se o ping obtiver sucesso  (Você visualiza as mensagens <code>64 bytes</code> como acima,) então sua rede está ativa. Pressione Control-C para parar o ping.  


{{fancyimportant|This next bit of information is important. A number of people have temporarily locked themselves out of their containers by setting up a firewall incorrectly. I plan to develop a firewall management UI that configures a firewall for you to make this step easier. For the time being, please avoid setting up a firewall unless you ''really'' need one.}}
Sei você precisar configurar uma conexão  WiFi para acesso a Internet, então essa precisa ser feita utilizando o ambiente gráfico do System Rescue CD. Execute <code>startx</code> para inicializar a seção gráfica:


;Can I set up my own firewall?: Before you do, please contact me (Daniel) and let me know. I need to flip a few switches in your container to make iptables work properly. Otherwise it will silently fail on stateful firewalls and you may end up locking yourself out of your container.
<console>
# ##i##startx
</console>


== Getting Started ==
Depois, utilize o NetworkManager applet (ícone no canto inferior direito) para conectar a uma rede WiFi de sua escolha. Depois, um terminal terminal dentro de seu ambiente gráfico, e você deve ser capaz de utilizar o terminal para completar o resto dos passos.


Once you have [[Support Funtoo|signed up for Funtoo Monthly support]], contact me (drobbins@funtoo.org) and request a virtual container. You'll need to send me two things:
==== Instalação Remota ====


# The hostname you'd like for your container. It will be ''something''.host.funtoo.org.
Alternativamente, você pode logar no System Rescue CD pela rede via SSH para realizar a instalação a partir de outro computador, e isso pode ser mais o jeito conveniente para instalar o Funtoo Linux.
# Attach your SSH public key. I will use this to grant you root access to your container.


== Generating SSH Keys ==
Se você gostaria de completar a instalação remotamente, aqui está como fazer isso. Primeiro, você precisará se assegurar de que o System Rescue CD tem uma conexão de rede funcional. Depois, você precisara definir uma senha de root para o System Rescue CD:
To generate an SSH key pair, do this as the user that you'll be using to log in to your container:  


$ ssh-keygen -t rsa
<console>
# ##i##passwd
New password: ##i##********
Retype new password: ##i##********
passwd: password updated successfully
#
</console>


If you specify a passphrase when prompted, your local private key (~/.ssh/id_rsa) will be encrypted, and ssh will prompt you for this passphrase prior to connecting. If you don't specify a passphrase, then you won't need to enter anything to connect but it you need to be extra careful that you don't allow others to access your private key.
Uma vez que você tenha digitado uma senha, você precisará agora determinar o endereço IP do System Rescue CD, e então você pode utilizar <code>ssh</code> para conectar-se à rede. Para determinar o endereço IP atualmente sendo utilizado pelo System Rescue CD, digite <code>ifconfig</code>:


The file you will need to send me is ~/.ssh/id_rsa.pub or ~/.ssh/id_dsa.pub. This is the public key... it's safe to send over email since all I or anyone else can use it for is to grant you access to a system using your private key. Just don't send your private key to me.
<console>
# ##i##ifconfig
</console>


== Policies ==
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:


{{Policies}}
<console>
(remote system) $ ##i##ssh root@1.2.3.4
Password: ##i##**********
</console>


=== VPS Usage Rules ===
{{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].}}


{{fancyimportant|Please read these policies and make sure you understand them. This is not an exhaustive list.}}
After you've logged in via SSH, you're now connected remotely to System Rescue CD and can perform the installation steps.
 
The VPS is for '''your personal use'''. No reselling.
 
There is currently no Web panel - these servers will be set up using my own automated tool and you will be provided with ssh access. I can periodically reload VPS images as needed.
 
This service is offered as a thank-you gift to Funtoo Linux supporters as long as sufficient capacity is available, with no warranty for uptime or anything else.
 
There are no refunds.
 
While I host several production sites on this infrastructure, you assume all risk for hosting your production services on your VPS.
 
I will make a best-effort-only attempt to provide support via IRC and email, and do not offer 24/7 support for your VPS.
 
'''US-Legal activities only. No spam will be tolerated.'''
 
These VPS systems are intended for funtoo enthusiasts only. I am providing (particularly in the higher-level plans) generous default resource limits with the understanding that the VPS will be used for general Funtoo use and server stuff.
 
Compiling with -j(NUM-CPUS+1) is encouraged (this is Funtoo, after all -- I want you to enjoy fast compiles :), but it's not okay to continually max CPU, IO, or network utilization. '''So, no folding@home, massive file sharing, etc. '''
 
I am currently not supporting IPv6 but will look into adding such support if there is enough interest.
 
'''You are responsible for backups. '''
 
I reserve the right to change plans and pricing in the future.

Revision as of 13:54, January 20, 2015


   Note

This is a template that is used as part of the Installation instructions which covers: uma visão geral inicial do processo de instalação, tão em quanto instruções de download do LiveCD e de boot. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.


Visão geral da instalação

Essa é uma básica visão geral do processo de instalação do Funtoo:

  1. Baixe e boot o live CD da sua escolha.
  2. Prepare seu disco.
  3. Crie e monte os filesystems.
  4. Instale o tarball stage doFuntoo da sua escolha.
  5. Use o Chroot no seu novo sistema.
  6. Baixe o Portage tree.
  7. Configure seu sistema e sua rede.
  8. Instale um kernel.
  9. Instale um bootloader.
  10. Complete os passos finais.
  11. Reboot e aproveite.

Live CD

Funtoo não provê um Live CD "official" do Funtoo. Recomendamos utilizar o Gentoo-based System Rescue CD já que ele contem muitas ferramentas e utilizades e tem suporte a sistemas tanto à 32-bit quando 64-bit. Baixe-o aqui:

http://www.sysresccd.org/Download

   Note

Se utilizar uma versão antiga do System Rescue CD, certifique-se de selecionar o kernel rescue64 no menu de boot se estiver instalando um sistema 64-bit. Por padrão, o System Rescue CD costumava a bottar em em módo 32-bit, embora a ultima versão atenta para detectar automaticamente os processadores 64-bit.

Acesso a Rede

Uma vez que você tenha inicializado o System Rescue CD, veja se você possui acesso a Internet. Acesso a internet é necessário para a instalação do Funtoo Linux:

root # 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

Se o ping obtiver sucesso (Você visualiza as mensagens 64 bytes como acima,) então sua rede está ativa. Pressione Control-C para parar o ping.

Sei você precisar configurar uma conexão WiFi para acesso a Internet, então essa precisa ser feita utilizando o ambiente gráfico do System Rescue CD. Execute startx para inicializar a seção gráfica:

root # startx

Depois, utilize o NetworkManager applet (ícone no canto inferior direito) para conectar a uma rede WiFi de sua escolha. Depois, um terminal terminal dentro de seu ambiente gráfico, e você deve ser capaz de utilizar o terminal para completar o resto dos passos.

Instalação Remota

Alternativamente, você pode logar no System Rescue CD pela rede via SSH para realizar a instalação a partir de outro computador, e isso pode ser mais o jeito conveniente para instalar o Funtoo Linux.

Se você gostaria de completar a instalação remotamente, aqui está como fazer isso. Primeiro, você precisará se assegurar de que o System Rescue CD tem uma conexão de rede funcional. Depois, você precisara definir uma senha de root para o System Rescue CD:

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

Uma vez que você tenha digitado uma senha, você precisará agora determinar o endereço IP do System Rescue CD, e então você pode utilizar ssh para conectar-se à rede. Para determinar o endereço IP atualmente sendo utilizado pelo System Rescue CD, digite ifconfig:

root # 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.