2023-05-30 14:37:22 +01:00
|
|
|
#+INCLUDE: header.org
|
|
|
|
* *~* Configurare una nuova vm
|
2023-05-30 14:35:43 +01:00
|
|
|
Una lista approssimativa dei passaggi da compiere per configurare una nuova VM
|
|
|
|
nella rete di lezzonet
|
|
|
|
1. segui il wizard libvirt, storage almeno 8 GB e setta vm come autostart
|
|
|
|
2. ci sono disponibili due reti interne, una a minore priorità
|
|
|
|
3. ricordati di aggiungere un'interfaccia per nfs se serve
|
|
|
|
4. aggiungi ip e hostname su atomino:/etc/unbound/unbound.conf
|
|
|
|
5. avvia la vm con livecd di gentoo
|
|
|
|
6. fai net-setup per configurare l'ip messo precedentemente
|
|
|
|
7. wget di installgentoo.git
|
|
|
|
8. bash installgentoo.sh
|
|
|
|
9. dal chroot: bash configure_gentoo_chroot.sh <hostname>
|
|
|
|
10. copia la configurazione di rete (/etc/conf.d/net) dalla macchina più simile
|
|
|
|
11. fai i symlink su /etc/init.d/net.lo appropriati e aggiungi la rete in
|
|
|
|
autostart con rc-update
|
|
|
|
12. se nfs: emerge nfs-utils && mkdir /media/asparagi
|
|
|
|
13. se nfs: configura nfs su /etc/fstab
|
|
|
|
|
|
|
|
#+begin_src
|
|
|
|
169.254.0.1:/media/asparagi /media/asparagi nfs rw,_netdev 0 0
|
|
|
|
#+end_src
|