These short tutorials by Julian’s Corner shows us how to install Samba, BASH, and Webmin on FreeBSD.

Install Samba 3.6.x on FreeBSD
  • Update the ports snapshot
portsnap fetch update
  • Install Samba 3.6.x
cd /usr/ports/net/samba36
make install clean
  • Select the options that you want, then click OK.

Install BASH shell on FreeBSD

Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. csh / tcsh (C shell with file name completion and command line editing) is the default shell under FreeBSD. However, you can easily install and use bash as shell.

Installation
  • Update the ports snapshot
portsnap fetch update
  • Install BASH
cd /usr/ports/shells/bash
make install clean
Configure FreeBSD to use BASH
  • To update existing users to use BASH, enter:
chsh -s /usr/local/bin/bash {username}

Install Webmin on FreeBSD
Installation
  • Update the ports snapshot
portsnap fetch update
  • Install webmin
cd /usr/ports/sysutils/webmin
make install clean
  • Accept the default options for perl.
Configuration
  • Configure webmin on startup
vi /etc/rc.conf
  • Append following line:
webmin_enable="YES"
  • Save and close the file.
  • Run the Webmin configuration setup file and anwser the questions.
/usr/local/lib/webmin/setup.sh

Original page: https://julianscorner.com/bsd/start