Creating Custom Packages on FreeBSD / Setting Up a Package Mirror on FreeBSD

These short tutorials by lastsummer.de show us how to create custom packages on FreeBSD, as well as set up a package mirror.

Creating Custom Packages on FreeBSD

…we are going to cover how to build pkg(8) (pkgng) packages away from the FreeBSD ports tree. This is useful for external/private repositories (mostly bigger ones or generally fast-moving) or non-conventional ports like database content or even system updates. pkg(8) itself provides the essential pkg-create(8) tool, as well as pkg-query(8), which we will use to generate embedded dependencies.

Link: http://lastsummer.de/creating-custom-packages-on-freebsd/

Setting Up a Package Mirror on FreeBSD

…we’ll look briefly into how to setup a pkg(8) mirror on FreeBSD. Essentially, we’ll only need a bunch of binary packages for the mirror, pkg-create(8), a running HTTP server and a configuration file for the new mirror on your target system. You must know how to build packages for your target system — if that is the case you are ready to dive in.

Link: http://lastsummer.de/setting-up-a-package-mirror-on-freebsd/

Running FreeBSD on Hyper-v

This article by Kylie Liang shows us how to get the latest version of FreeBSD up and running on Microsoft’s Hyper-v.

hyper-v_vps_hostingHyper-V supports both emulated and Hyper-V-specific devices for Linux and FreeBSD virtual machines. When running with emulated devices, no additional software is required to be installed. However emulated devices do not provide high performance and cannot leverage the rich virtual machine management infrastructure that the Hyper-V technology offers. In order to make full use of all benefits that Hyper-V provides, it is best to use Hyper-V-specific devices for Linux and FreeBSD. The collection of drivers that are required to run Hyper-V-specific devices are known as Linux Integration Services (LIS) or FreeBSD Integration Services (BIS).

Microsoft has worked with the FreeBSD community to contribute those BIS synthetic device drivers as well as corresponding daemons to FreeBSD 10.0. Furthermore, Microsoft is improving networking and storage performance running on Hyper-v and enriching functionalities, such as live backup VM. As for detailed feature description, refer to http://technet.microsoft.com/en-us/library/dn848318.aspx.

In addition, Microsoft provides ports that contain the installable BIS drivers and corresponding daemons for older FreeBSD releases 9.x and 8.4.

This article will provide instructions on how to bring up latest FreeBSD 10.1 image on Hyper-v and use FreeBSD 9.3 as an example to highlight networking configuration and ports installation.

Read full post with instructions: http://blogs.msdn.com/b/kylie/archive/2014/12/25/running-freebsd-on-hyper-v.aspx

The FreeBSD Foundation December 2014 Newsletter

logo_freebsdfoundation

Welcome to our December 2014 Semi-Annual Newsletter!

As 2014 comes to an end, we wanted to share with you what we did this year to support the FreeBSD Project and community.

In this issue, you’ll get a summary of all the FreeBSD development work we’ve supported; highlights of all the conferences that we sponsored and attended; plans for the FreeBSD Journal in 2015; another great testimonial from a commercial user; and our Q1-Q3 financial reports. I’d be remiss if I didn’t mention my favorite part of our semi-annual newsletter, the insightful and always inspirational letter from our president and founder, Justin Gibbs.

Sit back, grab something to snack on, and get ready to be inspired by what people are doing to make this a better world.

Deb Goodkin
Executive Director
The FreeBSD Foundation

Read the full post here: https://www.freebsdfoundation.org/press/2014dec-newsletter.html

Get started with FreeBSD: A brief intro for Linux users

This article by Paul Venezia, InfoWorld.com, shows us how to get started on FreeBSD, for the Linux user.

equations on chalkboard 87173350Among the legions of Linux users and admins, there seems to be a sort of passive curiosity about FreeBSD and other *BSDs. Like commuters on a packed train, they gaze out at a less crowded, vaguely mysterious train heading in a slightly different direction and wonder what traveling on that train might be like — for a moment. The few who cross over find themselves in a place that is equal parts familiar and foreign. And the strange parts can be scary.

For those who’ve known only Linux, FreeBSD has places of darkness and confusion. But if you know what they are going in, it’s easy enough to get past them. I’ve been a BSD guy since the heady days of BSDi and SunOS, so let me give you a brief introduction. You might be surprised at how much you like it.

Read the full article here: http://www.infoworld.com/article/2858288/unix/intro-to-freebsd-for-linux-users.html

SECURITY : OPENBSD VS FREEBSD

This blog post by

openBSDOpenBSD and FreeBSD are both great OS that I admire and use. OpenBSD is considered more secure since it is its main goal, but FreeBSD can be tweaked to be pretty well hardened as well. Depending on the forums or to who we ask, we will have different opinions. But what are the facts? Which OS is more secure and why?

I am not asking the question about which one is globally better, as “better” has a different meaning depending on the context and the needs (ISP routers, datafreebsd-logo-largebase servers, home gateway, desktop system, storage server or appliance, etc…). On some enterprises doing a major OS upgrade every 6 months or every year is doable, on others, it’s not possible at all. Also, it depends if one needs performance for streaming (Netflix), or if security is a top priority for a redondant firewall. Everyone needs is different, and both OS are highly useful.

If we strictly focus on security, how FreeBSD compares to OpenBSD security wise? In what follows, we will dig into memory protection, system and network security features, and default “out of the box” security. The purpose is to give unbiased facts, to compare point by point both OS. I am not trying to find the “best” OS and discredit the other, I love and use both :-) Let us try to find out the integrated security features of both OS, the visit continues below!

Check out the full comparison here – http://networkfilter.blogspot.com/2014/12/security-openbsd-vs-freebsd.html

Install Samba 3.6.x, BASH, and Webmin on FreeBSD

These short tutorials by Julian’s Corner shows us how to install Samba, BASH, and Webmin on FreeBSD.

Install Samba 3.6.x on FreeBSD
  • Update the ports snapshot
portsnap fetch update
  • Install Samba 3.6.x
cd /usr/ports/net/samba36
make install clean
  • Select the options that you want, then click OK.

Install BASH shell on FreeBSD

Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. csh / tcsh (C shell with file name completion and command line editing) is the default shell under FreeBSD. However, you can easily install and use bash as shell.

Installation
  • Update the ports snapshot
portsnap fetch update
  • Install BASH
cd /usr/ports/shells/bash
make install clean
Configure FreeBSD to use BASH
  • To update existing users to use BASH, enter:
chsh -s /usr/local/bin/bash {username}

Install Webmin on FreeBSD
Installation
  • Update the ports snapshot
portsnap fetch update
  • Install webmin
cd /usr/ports/sysutils/webmin
make install clean
  • Accept the default options for perl.
Configuration
  • Configure webmin on startup
vi /etc/rc.conf
  • Append following line:
webmin_enable="YES"
  • Save and close the file.
  • Run the Webmin configuration setup file and anwser the questions.
/usr/local/lib/webmin/setup.sh

Original page: https://julianscorner.com/bsd/start

Buffer Overflow Vulnerability in FreeBSD Discovered by Norse

Norse_LNorse announced today that they discovered a buffer overflow vulnerability in FreeBSD which they privately disclosed to the FreeBSD security team, who subsequently issued a security advisory with some details on the flaw and options for remedy (FreeBSD-SA-14:27.stdio).

FreeBSD is an advanced computer operating system employed to power modern servers, desktops and embedded platforms, according to the project’s organizers, who have collaborated with a large community of developers for more than thirty years.

Read the full blog with instructions on how to patch: http://blog.norsecorp.com/2014/12/10/buffer-overflow-vulnerability-in-freebsd-discovered-by-norse/