Install Haskell Stack
FreeBSD Change keymap
look for option 7 Console > Keymap.
BSD - Compilers
When we get this error
cc: error: no such file or directory: 'CXX=c++' it’s because the build routine can’t find a compiler. In order to fix this, if we want to use GCC type:
$ CC=gcc and
$ CXX=g++ or
CXX=c++ in order to use Clang. (source)
In order to update packages at freebsd, you need to run this command as root.
Update and Upgrade FreeBSD
"FreeBSD maintains a vulnerability database that should be checked regularly to ensure that there are no vulnerabilities in the software you have installed on your system.
While it is sometimes beneficial to update all of the software on your system, at the very least, any software with known vulnerabilities should be updated at the earliest possible time. To check for known vulnerabilities with any of the optional software you have installed on your system, type:
This will download the latest vulnerability database from the FreeBSD servers and check it against the installed software on your system. If any vulnerabilities exist with your installed software, it will alert you."
Add and remove Users
- Create users using the
$ sudo adduser Username: john Full name: John Doe Uid (Leave empty for default): Login group [john]: Login group is sammy. Invite sammy into other groups? : wheel Login class [default]: Shell (sh csh tcsh nologin) [sh]: Home directory [/home/john]: Home directory permissions (Leave empty for default): Use password-based authentication? [yes]: Use an empty password? (yes/no) [no]: Use a random password? (yes/no) [no]: Enter password: (add password) Enter password again: (add password) Lock out the account after creation? [no]:
- Remove user using the command
- To lock a user account use:
sudo pw lock username
- To unlock a user account use:
sudo pw unlock username