Dette viser forskellene mellem den valgte og den nuværende udgave af dokumentet. Gul er linjer der findes i den gamle udgave, og grøn er linjer der findes i den nuværende.
| Begge sider forrige revision Forrige revision Næste revision | Forrige revision | ||
|
ubuntu_on_proxmox_-_ovh [2019/02/21 08:24] noer [Network conf] |
— (nuværende) | ||
|---|---|---|---|
| Linje 1: | Linje 1: | ||
| - | ====== Ubuntu ====== | ||
| - | |||
| - | ===== Network conf ===== | ||
| - | Using '' | ||
| - | |||
| - | Remember to change device name and IP addresses. | ||
| - | |||
| - | For pve1.noerit.gl: | ||
| - | < | ||
| - | network: | ||
| - | ethernets: | ||
| - | eth0: | ||
| - | addresses: | ||
| - | #- 149.202.151.151/ | ||
| - | #- 5.196.241.149/ | ||
| - | - 2001: | ||
| - | dhcp4: false | ||
| - | dhcp6: false | ||
| - | gateway4: 188.165.199.254 | ||
| - | gateway6: 2001: | ||
| - | nameservers: | ||
| - | addresses: | ||
| - | - 213.186.33.99 | ||
| - | - 2001: | ||
| - | search: [noerit.gl] | ||
| - | routes: | ||
| - | - to: 0.0.0.0/0 | ||
| - | via: 176.31.241.254 | ||
| - | on-link: true | ||
| - | routes: | ||
| - | - to: ::/0 | ||
| - | via: 2001: | ||
| - | on-link: true | ||
| - | version: 2 | ||
| - | </ | ||
| - | |||
| - | Remember to delete other files in this directory if they conflict with the new file | ||
| - | |||
| - | We are using static addresses in this setup, so we need to disable IPv6 RA. Create a file ''/ | ||
| - | < | ||
| - | net.ipv6.conf.default.autoconf=0 | ||
| - | net.ipv6.conf.all.accept_ra=0 | ||
| - | net.ipv6.conf.all.autoconf=0 | ||
| - | net.ipv6.conf.ens18.accept_ra=0 | ||
| - | net.ipv6.conf.ens18.autoconf=0 | ||
| - | </ | ||
| - | |||
| - | ===== Basic install ===== | ||
| - | |||
| - | In ''/ | ||
| - | < | ||
| - | UUID=95d946b9-f241-11e8-9782-020000171985 / ext4 noatime, | ||
| - | </ | ||
| - | |||
| - | Change ''/ | ||
| - | < | ||
| - | preserve_hostname: | ||
| - | </ | ||
| - | |||
| - | Enable '' | ||
| - | |||
| - | Run '' | ||
| - | |||
| - | Update ''/ | ||
| - | < | ||
| - | deb http:// | ||
| - | deb http:// | ||
| - | |||
| - | deb http:// | ||
| - | </ | ||
| - | |||
| - | Install packages | ||
| - | < | ||
| - | apt update | ||
| - | apt install mosh vim mc check-mk-agent xinetd fail2ban backupninja rdiff-backup | ||
| - | </ | ||
| - | |||
| - | Update settings in ''/ | ||
| - | < | ||
| - | flags = IPv6 | ||
| - | only_from | ||
| - | disable | ||
| - | </ | ||
| - | |||
| - | Restart xinetd service | ||
| - | < | ||
| - | service xinetd restart | ||
| - | </ | ||
| - | |||
| - | Create ''/ | ||
| - | < | ||
| - | [DEFAULT] | ||
| - | bantime | ||
| - | findtime | ||
| - | maxretry = 3 | ||
| - | </ | ||
| - | |||
| - | |||
| - | < | ||
| - | </ | ||