FreeBSD

From Logicalwebhost-Wiki

Jump to: navigation, search

Network config is in

/etc/rc.conf

look for lo0 (the first interface)

  1. /etc/rc.d/netif restart

good package management tutorial here http://www.hypexr.org/freebsd_ports_help.php

pkg_add -r vim installs vim
pkg_add -r cvsup-without-gui installs the package management update system, then run cp /usr/share/examples/cvsup/ports-supfile /root the edit /root/ports-supfile and change CHANGE_THIS.FreeBSD.org to one of the CVSup Mirrors. Now just run: cvsup -L 2 /root/ports-supfile
cd /usr/ports/emulators/dosbox
make install clean
installs it on your local system
pkg_delete mutt-1.4.2.1_2 grep packagename command listed below
pkg_info - views the packages that are installed
grep mutt shows if mutt is installed
pkg_add -r portaudit
portaudit -F -a
checks for package vulnerabilities on your system
pkg_add -r portupgrade
/usr/local/sbin/pkgdb -F
/usr/local/sbin/portupgrade -a
upgrades your system if needed
sysinstall launches the thing that allows you to add packages
Personal tools