-
Register hostname with DHCP
/etc/dhclienf.conf
:send host-name "hostname";
send host-name "server-01";
-
Network Time Protocl:
dntpd
/etc/dntpd.conf
:server [server/ip address]
/etc/rc.conf
:dntpd="YES"
service dntpd restart
-
Enable nic
ifconfig
- Use nic denoted. For example,
em0
- Use nic denoted. For example,
/etc/rc.conf
:ifconfig_[nic]="DHCP"
- Example:
ifconfig_em0="DHCP"
- Example:
-
Kernel params
/etc/sysctl.conf
:kern.maxprocperuid=65000
-
- Postfix
mv /etc/mail/mailer.conf /etc/mail/mailer.conf.old
install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /etc/mail/mailer.conf
/etc/periodic.conf
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
/etc/rc.conf
postfix_enable="YES"
sendmail_enable="NONE"
- Postfix
-
Load module (
/etc/rc.conf
):[module]_load="YES"
. Exmaple:nvm_load="YES"
-
Bridge (
/etc/rc.conf
):
ifconfig_re0="DHCP"
ifconfig_bridge0="addm bridge0 re0"
ifconfig_tap666="addm bridge0 tap666"
cloned_interfaces="bridge0"
gateway_enable="YES"
- Install Desktops
pkg install -y xorg x11/sddm
- LXDE:
pkg install -y lxde-meta
- KDE:
pkg install -y x11/plasma5-plasma-workspace