Configuring X forwarding between BSD and Windows

This tutorial by grundlig shows us how to configure X forwarding between BSD and Windows.

On Unix systems, windowing systems are an optional component. There are numerous window systems but the most prevalent, as I understand it, is X. It’s a networked client/server model, where the machine with the display and input devices is called the server, and the machine running windowed apps against this server is the client. This is backwards from how you typically think about clients and servers, i.e. servers are usually headless and clients are usually responsible for rendering data from servers and translating input.

I usually interact with my BSD machine from my Windows laptop using PuTTY. But running Emacs in a terminal window is sometimes hard on the eyes, it’s hard to get good fonts, color schemes, etc. I wanted to see if I could launch Emacs from PuTTY but have it render its UI over the X protocol on my Windows laptop. This was harder than I thought, and I didn’t find any step-by-step tutorial to help me troubleshoot, so here’s an account of what worked for me. Note that I started from a relatively clean install of FreeBSD 10.1, with only sshd and some basic packages installed.

Check out the tutorial with full instructions here:

FreeBSD 10 Mariadb Server Install Command

This short tutorial by nixCraft shows us how to install Mariadb on FreeBSD 10.

Fig.01: FreeBSD 10 Mariadb Server Install CommandType the following command to install MariaDB v5.5 on a FreeBSD 10 server or VPS/cloud server:

cd /usr/ports/databases/mariadb-server/ && make install clean
## or ##
pkg install databases/mariadb55-server


Original post:

Nginx Reverse Proxy and Golang Setup on FreeBSD


  • Basic knowledge of UNIX.
  • FreeBSD x64 with Nginx installed.

Install Tools

You will need several programs that are not shipped with FreeBSD. Run the following command to install them:

pkg install nano wget git mercurial bzr

Download and Install Golang

Download golang by running the following set of commands:

cd /tmp
tar -C /usr/local -xzf go1.3.3.freebsd-amd64.tar.gz

Check out the full instructions here:

2015 special FreeBSD pillow offer

The folks at Linux Pillow would like to extend this special offer on their custom made FreeBSD Daemon pillow. A 10% discount will be applied if you order by the end of January.

We wish you a happy new year, with a special offer. The unique handmade FreeBSD pillow can be yours with a 10% discount.
The offer applies to both FreeBSD pillow and half FreeBSD pillow, and is valid until the end of January.

50×70 cm or 40×40 cm,
– stitched by hand on a canvas attached on a handmade zippered pillow case,
– pillow case black at front and red at the back,
– made upon order request

Buy your own FreeBSD pillow by contact us

Original post:

How To Install Apache, MySQL, PHP stack on FreeBSD Unix Server

I’m a new FreeBSD Unix system users. How can I setup and install Apache, MySQL, PHP stack on a FreeBSD 10 based Unix server?

FAMP stack is nothing but group of source software to run php based apps. Our sample setup includes:

Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements FreeBSD v10+
Estimated completion time 20m
  1. FreeBSD 10.1-RELEASE amd64
  2. Apache v2.4
  3. PHP v5.6
  4. MySQL v5.6

This tutorial explains how to install and configure FAMP stack.

Update your ports

Like always make sure everything is up to date before starting. I like to do:
# portsnap fetch update && portupgrade -a

Check out the full instructions here:

Comparison: Gentoo Vs FreeBSD, Tweak Tweak Little Star

User Liron of iWillFolo wrote this comparison between Gentoo and FreeBSD. The author discusses both advantages and disadvantages of each software’s installation process, tools, optimization & customization features, available packages, as well as community & other resources.

Gentoo Vs FreeBSD

Gentoo and FreeBSD are both Unix / Unix-like operating systems which have many features in common, for instance, both enable tweaking the system out of the box. However they also have a fair share of differences as well. Following is a comparison of the two.

The following comparison will not cover each and every aspect / tiny detail of both OSs, rather, it will focus on notable features each holds and compare them one another.

If you’d like to get to know more aspects of each OS, perhaps the following pages would be a good place to start: 5 Reasons why use Gentoo-Linux, A Look Into: FreeBSD 10.1.

Read the full review here:

Baseline Mac OS X Support #1113

User landonf wrote this patchset to allow baseline Mac OS X support.


The patches here add support for building on Mac OS X; with these changes, all included tests (executed via `make check’) pass on both Mac OS X and FreeBSD.

I don’t anticipate an immediate merge, but I wanted to go ahead and open this to allow for comment.

This patchset primarily consists of:

  • Adding compatibility shims for BSD-specific or later POSIX functionality that Mac OS X doesn’t support (see compat/)
  • Adding pkg_macho.c with support for Mach-O binary analysis.

For pkg_macho.c, I used BSD-licensed Mach-O parsing code written for MacPorts‘ shared library/executable analysis (external/libmachista).

The primarily outstanding issues I have yet to tackle:

  • Making sure I didn’t miss any style(9) bugs.
  • Finishing shared library analysis handling (marked with MACTODO in pkg_macho.c):
    • Universal binary handling. I’m currently stuffing the architecture(s) supported by libraries into their library paths, as a file suffix. This is not the final solution, but I haven’t decided how to tackle this yet.
    • dyld specific features:
      • Required/compatibility version fields that must match between the linking image and linked library.
      • Relative library path handling via dyld‘s @loader_path, @executable_path, etc.


Check out the patch from GitHub here:

The Most Popular BSD Stories Of 2014

Michael Larabel of has published an article rounding up the most popular BSD stories in 2014. Grab a cup of coffee and reflect on one of BSD’s biggest years:

Over the past week or so I’ve shared many top ten / year-end lists of our most popular open-source content on Phoronix. Most of the focus has been on our majority Linux focus while in this article is a look at the top ten BSD articles on Phoronix from 2014.

In 2014 saw the forking of OpenSSL to LibreSSL, the release of FreeBSD 10.0 and 10.1, KMS/DRM graphics driver improvements for BSD, the continued progress of PC-BSD in being an easy FreeBSD desktop platform, and many other advancements. Here’s the ten most viewed BSD articles on Phoronix for 2014:

The 10 Best Features Of FreeBSD 10.0
With a bit of luck FreeBSD 10.0 will be released in the next few days so here’s a look at the arguably ten best features of this next major BSD operating system release.

My 10 Minute Experience With PC-BSD 10.0
With FreeBSD 10.0 having been released and the final release of the PC-BSD 10.0 coming this week, I decided to try out the PC-BSD 10.0-RC5 ahead of the final release. While I intended to run some benchmarks of FreeBSD/PC-BSD 10.0 against its predecessor and compared to Linux distributions, this initial PC-BSD 10.0 encounter was cut short after about ten minutes.

PC-BSD Is Developing Its Own Desktop Environment
The PC-BSD project is developing its own desktop environment from scratch! The ultimate plan is for Lumina to become a full-featured, open-source desktop environment that may ultimately replace KDE as its default desktop environment.

OpenBSD Foundation At Risk Of Shutting Down
The OpenBSD Foundation is running into a situation of lack of funding to the point that they can’t even cover their electricity costs and may be forced to suspend or reduce their operations without additional help.

FreeBSD 10.0 Has Finally Been Released
It’s been delayed by many months but the official release of FreeBSD 10.0 has shipped today!

FreeBSD Receives A Million Dollar Donation
The FreeBSD has received their largest ever single donation: $1,000,000 USD.

KMS Drivers Break The Console In FreeBSD 10
While FreeBSD 10.0 is exciting for finally having an AMD Radeon DRM/KMS driver as one of the major features of the new OS, the quality isn’t yet on par with the open-source graphics support found on Linux from where the code was originally ported.

OpenBSD Drops Support For Loadable Kernel Modules
Interestingly the OpenBSD developers have decided to remove support for loadable kernel modules from the BSD distribution’s next release.

Radeon Now Work Well On PC-BSD, But USB Mouse Support Is Iffy
Since last month’s release of FreeBSD 10.0 and PC-BSD 10.0 that followed, many Phoronix readers have been asking about benchmarks of this major BSD operating system update that’s home to many new features. Here’s an update on my FreeBSD/PC-BSD 10.0 testing thus far.

OpenSSL Forked By OpenBSD Into LibreSSL
Following the fallout from the OpenSSL Heartbleed bug, OpenBSD developers have decided to fork the OpenSSL code-base to create LibreSSL.

Original post:


Upcoming FreeBSD Kernel Internals Evening Course

mckusickcolorMarshall Kirk McKusick is hosting several BSD courses within the next couple months. Read below and visit the page if you are interesting in attending and learning more about FreeBSD Kernel Internals.

The “FreeBSD Kernel Internals: Data Structures and Algorithms” course is taught once every few years on a mostly on Thursday nights starting in mid-to-late January and running through late May at the historic Hillside Club at 2286 Cedar Street, Berkeley, CA 94709 just three blocks north of the Berkeley campus once per week from 7:00PM to 10:00PM.

For those that do not live in the Bay Area, or that are not generally free on (primarily) Thursday evenings, the class can also be purchased on video. Those ordering a subscription can receive the class week-by-week as they are recorded.

The next evening class is scheduled to begin on Thursday January 22nd, 2015. You can register for the class here.

For more information and schedule list: