See the handbook if need be.
As root:
pkg update
pkg install sudo vim git
vim /etc/ssh/sshd_config
# Replace PermitRootLogin
vim /etc/rc.conf
# Add `sshd_enable="YES"`
/etc/rc.d/sshd restart
Update sudoers file if need be.
As root:
cd /usr/src
git clone https://github.com/freebsd/freebsd-src
# Around 2.3 GiB to download
cd freebsd-src
- Install world:
make -j4 buildworld
. Very long process. - Install kernel:
make -j4 kernel
Then follow other steps from https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld