Differences between revisions 134 and 135
Revision 134 as of 2015-12-05 18:41:40
Size: 1183
Editor: ?Anilton Salla Junior
Comment:
Revision 135 as of 2015-12-05 19:22:36
Size: 2662
Editor: ?ChrisHagar
Comment: Revert page rewrite (SystemAdministration -> Comandos Linux)
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from SystemAdministration
= Configurando IP Static =
#language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[bn/SystemAdministration|বাংলা]] - [[pt_BR/SystemAdministration|Brasileiro]] - English - [[es/SystemAdministration|Español]] - [[fr/SystemAdministration|Français]] - [[id/SystemAdministration|Indonesia]] - [[it/SystemAdministration|Italiano]] - [[ms/SystemAdministration|Melayu]] - [[ru/SystemAdministration|Русский(Russian)]] - [[sv/SystemAdministration|Svenska]]-~
<<BR>>
||<tablestyle="width: 100%; text-align: center; border: 0px hidden"> {{http://www.debian.org/logos/openlogo-nd-50.png}} {{http://www.debian.org/Pics/debian.png}}||
||<style="border: 0px hidden">~+{{attachment:Portal/IDB/logo_portal.png}} Welcome to the [[Debian]] System Administration Portal+~||
----
{{attachment:Portal/IDB/icon-system-32x32.png}} This page lists articles which cover all aspects of administering Debian GNU/Linux systems, including installation, package management, configuration, monitoring and security.
Line 4: Line 9:
nano /etc/network/interfaces {{{#!wiki debian
~-http://www.debian.org/doc/manuals/reference - Debian Reference Manual-~
}}}
Line 6: Line 13:
address 10.2.9.76 ||<-3 style="background-color:#e8e8e8;width:50%" tablestyle="width:100%;text-align:center;table-layout:fixed;background-color:#f8f8f8"> '''Quick access''' ||
||<(^> {{attachment:Portal/IDB/icon-floppy-32x32.png}} [[SystemBootProcess|Boot process]]<<BR>>{{attachment:Portal/IDB/icon-configure-32x32.png}} [[SystemConfiguration|Configuring systems]]<<BR>>{{attachment:Portal/IDB/icon-drive-cdrom-32x32.png}} [[SystemInstall | Installation|Installation]] <<BR>> {{attachment:Portal/IDB/icon-kernel-32x32.png}} [[Kernel | Kernel]] <<BR>>{{attachment:Portal/IDB/icon-device-32x32.png}} [[LocalResourcesManagement| Local resources]] ||<(^> {{attachment:Portal/IDB/icon-monitor-32x32.png}} [[SystemMonitoring|Monitoring]] <<BR>> {{attachment:Portal/IDB/icon-apt-32x32.png}} [[PackageManagement|Package management]]<<BR>> {{attachment:Portal/IDB/icon-printer-32x32.png}} [[Printing|Printing]] <<BR>> {{attachment:Portal/IDB/icon-process-32x32.png}} [[ProcessManagement|Process management]] <<BR>> {{attachment:Portal/IDB/icon-backup-32x32.png}} [[SystemRescue|Rescue]]||<(^> {{attachment:Portal/IDB/icon-security-32x32.png}} [[SecurityManagement|Security, Reliability, and User Management]]<<BR>> {{attachment:Portal/IDB/icon-emulator-32x32.png}} [[SystemVirtualization|Virtualization]]<<BR>> {{attachment:Portal/IDB/icon-display-32x32.png}} [[XWindowSystem|X system]]<<BR>>{{attachment:Portal/IDB/icon-backup-32x32.png}} [[BackupAndRecovery|Backup And Recovery]]||
||<-3 style="background-color:#e8e8e8">||
Line 8: Line 17:
netmask 255.255.255.0

network 10.2.9.0

gateway 10.2.9.254

broadcast 10.2.9.255

# Comando para reiniciar o serviço de rede invoke-rc.d networking restart ou /etc/init.d/networking restart


=Comandos SSH=
Criar chave privada (id_dsa) e chave publica (id_dsa.pub)

ssh-keygen -b 1024 -t dsa

Obs: Vai pedir senha do certificado.(Por padrão é criada dentro do ~/.ssh)

scp /root/.ssh/id_dsa.pub root@10.2.9.76:/root/.ssh/ (Comando para enviar a chave publica para maquina remota)

Depois tem que logar na maquina remota, da um cat id_dsa.pub(nome do arquivo cp) >> authorized_keys(nome do arquivo que vai autorizar a chave publica)

Desloga da maquina, na proxima vez que for logar, já pode ser feito via certificado digital, para que não pergunte mais a senha, apenas no primeiro acesso, depois desse procedimento antes de logar com o certificado, da o comando '''ssh-agent''', copia o que foi gerado na tela e cola, depois da enter, e depois digita '''ssh-add'''

comando para logar ssh root@ip_destino







----
CategoryPortal | CategorySystemAdministration

Translation(s): বাংলা - Brasileiro - English - Español - Français - Indonesia - Italiano - Melayu - Русский(Russian) - Svenska

http://www.debian.org/logos/openlogo-nd-50.png http://www.debian.org/Pics/debian.png

Portal/IDB/logo_portal.png Welcome to the Debian System Administration Portal


Portal/IDB/icon-system-32x32.png This page lists articles which cover all aspects of administering Debian GNU/Linux systems, including installation, package management, configuration, monitoring and security.

Quick access

Portal/IDB/icon-floppy-32x32.png Boot process
Portal/IDB/icon-configure-32x32.png Configuring systems
Portal/IDB/icon-drive-cdrom-32x32.png Installation
Portal/IDB/icon-kernel-32x32.png Kernel
Portal/IDB/icon-device-32x32.png Local resources

Portal/IDB/icon-monitor-32x32.png Monitoring
Portal/IDB/icon-apt-32x32.png Package management
Portal/IDB/icon-printer-32x32.png Printing
Portal/IDB/icon-process-32x32.png Process management
Portal/IDB/icon-backup-32x32.png Rescue

Portal/IDB/icon-security-32x32.png Security, Reliability, and User Management
Portal/IDB/icon-emulator-32x32.png Virtualization
Portal/IDB/icon-display-32x32.png X system
Portal/IDB/icon-backup-32x32.png Backup And Recovery


CategoryPortal | CategorySystemAdministration