Setting up FreeBSD server - sergeylukin/dotfiles GitHub Wiki
pkg install zshpkg install vimpkg install tmuxpkg install gitpkg install node npmpkg install bash
pkg install qt4-qmake
-
pkg autoremove- to remove dependencies that are not in use any more -
pkg upgradeto update all previously installed packages to their latest versions -
pkg audit -Fto address any vulnerabilities known for previosly installed software
- Create file
/etc/periodic.confwith following contents:
#!/bin/sh
# Automatically perform a daily back up of the package database
# See 5.4.7 in http://www.freebsd.org/doc/en/books/handbook/pkgng-intro.html
#
# Restore package database with `pkg backup -r /var/backups/pkgng.db`
#
daily_backup_pkgdb_enable="Yes"
daily_backup_pkgdb_dir="/var/backups"-
Save this file as
/root/.vimrcin order to have nicely configured Vim for root user -
adduserto add my own user -
chpass <USERNAME>to change anything regarding that user -
Set UTF-8 locale by following this guide