Difference between pages "Package:Pass" and "Install/pt-br/Overview"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
pass is a password manager following the Unix philosophy.
<noinclude>
{{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 ==


From the [http://www.passwordstore.org/|pass website]:
Essa é uma básica visão geral do processo de instalação do Funtoo:
<blockquote>
With pass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.


pass makes managing these individual password files extremely easy. All passwords live in ~/.password-store, and pass provides some nice commands for adding, editing, generating, and retrieving passwords. It is a very short and simple shell script. It's capable of temporarily putting passwords on your clipboard and tracking password changes using git.
# [[#Live CD|Baixe e boot o live CD da sua escolha]].
# [[#Prepare Hard Disk|Prepare seu disco]].
# [[#Creating filesystems|Crie]] e [[#Mounting filesystems|monte]] os filesystems.
# [[#Installing the Stage 3 tarball|Instale o tarball stage doFuntoo]] da sua escolha.
# [[#Chroot into Funtoo|Use o Chroot no seu novo sistema]].
# [[#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]].


You can edit the password store using ordinary unix shell commands alongside the pass command. There are no funky file formats or new paradigms to learn. There is bash completion so that you can simply hit tab to fill in names and commands, as well as completion for zsh and fish available in the completion folder. The community has even produced a GUI client, an iOS app, a Firefox plugin, a dmenu script, and even an emacs package.
=== Live CD ===
</blockquote>
 
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:
 
http://www.sysresccd.org/Download
 
{{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.}}
 
==== 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:


== Installation ==
You can install 'pass' the usual way:
<console>
<console>
###i## emerge -a pass
# ##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>


=== USE Flags ===
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.  
However if you want the features like zsh completion or dmenu script you should add some USe flags to configure pass to your needs.


If you have ''equery'' installed you can check the all available USE flags including their description using:
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:


<console>
<console>
###i## equery u pass
# ##i##startx
</console>
</console>
{{fancynote|Soon the wiki will list the use flags of packages too!}}


For example if you want pass the abillity to import passwords form other other password managers you should add ''importers'':
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:
 
<console>
<console>
###i## echo "app-admin/pass importers" >> /etc/portage/package.use"
# ##i##passwd
New password: ##i##********
Retype new password: ##i##********
passwd: password updated successfully
#
</console>
</console>


{{fancynote|''importers'' can import passwords from:
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>:
* 1Password
* KeepassX
* Keepass2
* Figaro's Password Manager
* Lastpass
* Ked Password Manager
* Revelation Password Manager
* Password Gorilla
* PWSafe
* KWallet}}
 
== Example usage ==
This is how you initialize pass and store a password:


<console>
<console>
$ ##i## pass init "mystore"
# ##i##ifconfig
mkdir: created directory „/home/user/.password-store/“
Password store initialized for mystore
$ ##i## pass insert Work/Mailaccount
mkdir: created directory „/home/user/.password-store/Work“
Enter password for Work/Mailaccount: ****
Retype password for Work/Mailaccount: ****
</console>
</console>


Now you can show your password using:
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>
<console>
$ ##i## passWork/Mailaccount
(remote system) $ ##i##ssh root@1.2.3.4
asdf
Password: ##i##**********
</console>
</console>


{{fancytip|Use the option ''-c'' to copy the password to clipboard instead of displaying it on the screen. It will be deleted from clipboard after several seconds.}}
{{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 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.