20080712

4-Step FreeBSD essentials for new installs

1. Update the ports tree
pkg_add -r portsnap
portsnap fetch
portsnap extract
portsnap update

2. Install portaudit & portmanager

pkg_add -r portaudit portmanager

3. Run portaudit to check for vulnerabilities:

portaudit -Fda

4. Upgrade the installed packages

portmanager -u

Notes: to use a proxy & save bandwidth:

setenv FTP_PROXY xxx.xxx.xxx.xxx:yyyy

To check for outdated packages:

pkg_version -vIL=

or

pkg_version -vIL'<'

0 Comments:

Post a Comment

<< Home