1.3 KiB
1.3 KiB
Install FreeBSD
- Buy VPS, with any OS
- Insert DVD: Grml
- Reboot
wget https://mfsbsd.vx.sk/files/images/14/amd64/mfsbsd-14.1-RELEASE-amd64.imgfdisk -l=> find the/dev/<disk>to usedd if=mfsbsd-14.1-RELEASE-amd64.img of=/dev/<disk>- Eject DVD & reboot
- ssh using mfsbsd default creds root/mfsroot
gpart recover vtbd0to fix the partition tablebsdinstall- Reboot
Reduce boot time
fetch http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/14.1-RELEASE/src.txztar -C / -xvf src.txzfreebsd-update fetch && freebsd-update installcd /usr/src/make buildkernel -j `sysctl -n hw.ncpu` KERNCONF=MINIMAL && make installkernel KERNCONF=MINIMAL- Update
/boot/loader.conf
...
kern.boottrace.enabled=1
autoboot_delay=1
ufs_load="YES"
...
Enabling IPv6 and fixing “Bogus Host Name” warning
IONOS uses DHCPv6+rtsol to assign IP address and routing configuration for the IPv6.
- Add ipv6 in the Ionos panel
pkg install dual-dhclient-daemon- Update
/etc/rc.conf:
...
ifconfig_vtnet0="DHCP"
dhclient_program="/usr/local/sbin/dual-dhclient"
ipv6_activate_all_interfaces="YES"
ipv6_defaultrouter="fe80::1%vtnet0"
...
- Update
/etc/dhclient.conf:
...
interface "vtnet0" {
ignore host-name;
}
...
service dhclient restart vtnet0