Sysadmin/Add virtual machine: Difference between revisions

Dogi (talk | contribs)
No edit summary
No edit summary
Line 14: Line 14:


  vi /etc/network/interfaces
  vi /etc/network/interfaces
 
* change machine fqdn
* change machine fqdn


Line 22: Line 22:


  vim /etc/hosts
  vim /etc/hosts
 
* activate new IP and hostname
* activate new IP and hostname


Line 31: Line 31:
  aptitude update
  aptitude update
  aptitude full-upgrade
  aptitude full-upgrade
 
* generate host keys and a key for root
* generate host keys and a key for root


Line 43: Line 43:


  vi /etc/system-full-backup.conf
  vi /etc/system-full-backup.conf
 
* Log in for the first time on backup server to accept ssh fingerprint
* Log in for the first time on backup server to accept ssh fingerprint


Line 55: Line 55:


  vi /etc/motd.tail
  vi /etc/motd.tail
 
* Taa--daah!
* Taa--daah!