-
Notifications
You must be signed in to change notification settings - Fork 6
Setting up FreeBSD server
Sergey Lukin edited this page Jul 31, 2014
·
5 revisions
pkg install zsh
pkg install vim
pkg install tmux
pkg install git
pkg install node npm
pkg install bash
pkg install qt4-qmake
-
pkg autoremove
- to remove dependencies that are not in use any more -
pkg upgrade
to update all previously installed packages to their latest versions -
pkg audit -F
to address any vulnerabilities known for previosly installed software
- Create file
/etc/periodic.conf
with 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/.vimrc
in order to have nicely configured Vim for root user -
adduser
to add my own user -
chpass <USERNAME>
to change anything regarding that user -
Set UTF-8 locale by following this guide