Setup

su-
pkg_add -r cvsup-without-gui
fetch -o /tmp/supfile http://edacval.wikidot.com/local--files/freebsd:setup/supfile
vi /tmp/supfile
cvsup -g -L 2 /tmp/supfile
sockstat -4

portsnap fetch
portsnap extract
portsnap update

freebsd-update fetch
freebsd-update install

NO_PROFILE=true
Set CFLAGS/COPTFLAGS to -O instead of -O2
/usr/ports/ports-mgmt/pkg_rmleaves
#cd /usr/obj
#chflags -R noschg *
#rm -rf *
find . -name “.svn” -exec /bin/rm -rf {} ;
syslogd_flags="-ss"
inetd_enable="NO"
clear_tmp_enable="YES"
fsck_y_enable="YES"
make -j2 -DNO_CLEAN buildworld
MASTER_SITE_BACKUP?= ftp://ftp.lt.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
ntpdate -bs ntp1.litnet.lt
env MOZ_DISABLE_PANGO=1 firefox &
crontab -u username -l
make rmconfig

cd /usr/ports
make fetchindex
pkgdb -Fu
portsdb -Uu
setenv NO_CHECKSUM yes
portsclean -C
portsclean -D

perl -MCPAN -e 'install Archive::Tar'
perl -MCPAN -e shell
o conf init

/usr/ports/ports-mgmt/portaudit
/usr/local/sbin/portaudit -Fda

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License