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 | ||
|
proxmox_server_setup [2017/06/24 20:27] noer |
proxmox_server_setup [2018/12/03 14:35] (nuværende) noer [ZFS] |
||
|---|---|---|---|
| Linje 1: | Linje 1: | ||
| How to set up a virtual KVM/VNC console on your OVH server [[https:// | How to set up a virtual KVM/VNC console on your OVH server [[https:// | ||
| - | Add to '' | + | ==== Basic Install ==== |
| + | Remember | ||
| < | < | ||
| - | deb http:// | + | wget http://ftp.de.debian.org/ |
| + | dpkg -i check-mk-agent_1.4.0p9-1_amd64.deb | ||
| </ | </ | ||
| Install packages | Install packages | ||
| < | < | ||
| - | apt-get install mosh fail2ban vim sudo git check-mk-agent xinetd | + | apt-get install mosh fail2ban vim sudo git xinetd smartmontools mailutils bash-completion |
| </ | </ | ||
| - | + | ==== User Management ==== | |
| - | https:// | + | [[https:// |
| < | < | ||
| useradd jnoer | useradd jnoer | ||
| Linje 29: | Linje 32: | ||
| </ | </ | ||
| + | ==== SMART ==== | ||
| + | SMART [[https:// | ||
| - | https:// | + | Change ''/ |
| + | < | ||
| + | enable_smart="/ | ||
| + | |||
| + | start_smartd=yes | ||
| + | |||
| + | smartd_opts=" | ||
| + | </ | ||
| + | |||
| + | Comment other lines and add this in ''/ | ||
| + | < | ||
| + | /dev/sda -d sat -s (S/ | ||
| + | /dev/sdb -d sat -s (S/ | ||
| + | |||
| + | # SEND TEST Mail | ||
| + | /dev/sda -m jesper@noerit.gl -M test | ||
| + | </ | ||
| + | ==== Certificate ==== | ||
| + | This is good for 5.2 | ||
| + | [[https:// | ||
| + | < | ||
| + | acme account register default jesper@noerit.gl | ||
| + | |||
| + | pvenode config set --acme domains=example.invalid | ||
| + | |||
| + | pvenode acme cert order | ||
| + | </ | ||
| + | |||
| + | This is the older version | ||
| < | < | ||
| git clone https:// | git clone https:// | ||
| Linje 47: | Linje 80: | ||
| < | < | ||
| zfs set xattr=sa (pool) | zfs set xattr=sa (pool) | ||
| + | </ | ||
| + | |||
| + | Limit the amount of memory that ZFS can use as cache. | ||
| + | |||
| + | Create file ''/ | ||
| + | < | ||
| + | # ZFS tuning for a proxmox machine that reserves 8GB for ZFS | ||
| + | |||
| + | # Don't let ZFS use less than 4GB and more than 8GB | ||
| + | options zfs zfs_arc_min=4294967296 | ||
| + | options zfs zfs_arc_max=8589934592 | ||
| + | |||
| + | # disabling prefetch is no longer required | ||
| + | options zfs l2arc_noprefetch=0 | ||
| </ | </ | ||