12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System Configuration—Keeping it UpdatedJust like csup, the portsnap updates are incremental, and there is no need to fetch thewhole ports tree every time you want to update it. When you run portsnap for thefirst time, it <strong>download</strong>s a compressed copy of a ports tree to /var/db/portsnap. Thenext time you update the tree, one or more binary diffs of the tree willbe <strong>download</strong>ed.Binary diffs are created using Colin Percival's bsdiff tool. The bsdiff isthe same as the original diff(1) utility, except for the fact that it usessophisticated algorithms to compare two binary files and creates smallbinary patch files that can be applied later, using bspatch utility. Thesetools were created with the intention of providing security patches to theFreeBSD binaries rather than for re-compiling the binaries from the sourcecode. The freebsd-update(8) utility also uses the same tools to applysecurity patches to the system's binaries.You should first <strong>download</strong> the ports tree. To do this, you should run portsnap withthe fetch argument as shown here:# portsnap fetchOnce the ports tree is <strong>download</strong>ed, you can update the live ports tree (that livesin /usr/ports) with recently <strong>download</strong>ed ports snapshot, using the followingportsnap's update command:# portsnap updateIf this is the first time you are updating the ports tree using the portsnap,you should run the portsnap extract before running the portsnapupdate. The portsnap cannot update the ports tree that was not createdusing portsnap (for example, it cannot be updated using CVSup)Security AdvisoriesAn important part of the day to day life of a system administrator is to track thelatest security issues and bug fixes for the operating systems that he runs on hisservers. There are a number of well-known security related mailing lists in whichyou can find the latest update of the security issues in different operating systemsand softwares. The FreeBSD project also has a mailing list dedicated to the securityupdates and advisories for the end users. The freebsd-security-notificationsis a low traffic mailing list that contains the latest security information related tothe FreeBSD operating system and the included softwares. If you are concernedabout the security of your systems, you are strongly advised to subscribe to thefreebsd-security-notifications mailing list at http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications.[ 36 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!