Updated freebsd remote install article

This commit is contained in:
Julien Dessaux 2022-04-01 01:16:50 +02:00
parent 051fc2a559
commit fbd114c09f
Signed by: adyxax
GPG key ID: F92E51B86E07177E

View file

@ -18,10 +18,13 @@ wget https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RELEASE/amd64/Late
``` ```
When all is done, force a reboot of your machine and connect to the remote console. Your FreeBSD system should boot and leave you with an authentication prompt. Just type in root (it will not ask for a password) and go through this post installation checklist : When all is done, force a reboot of your machine and connect to the remote console. Your FreeBSD system should boot and leave you with an authentication prompt. Just type in root (it will not ask for a password) and go through this post installation checklist :
- run `freebsd-update fetch install`
- set a root password with `passwd` - set a root password with `passwd`
- add a user account with `adduser`, put it in the `wheel` group - add a user account with `adduser`, put it in the `wheel` group
- add a ssh authorized_keys for your new user
- change your hostname in `/etc/rc.conf`
- activate openssh with `service sshd enable && service sshd start` - activate openssh with `service sshd enable && service sshd start`
- if dhcp is not sufficient configure your network with `ifconfig`, `pkill dhclient` if necessary and check the default route(s) - if dhcp is not sufficient configure your network with `ifconfig`, `pkill dhclient` if necessary and check the default route(s)
- don't forget to configure ipv6 too - don't forget to configure ipv6 too
- configure your `resolv.conf` - configure your `resolv.conf`
- install python for your first ansible run - install python3 for your first ansible run