FreeBSD user Anderson Costa shows us how to get Phalcon 2 set up on FreeBSD 10.1.
FreeBSD user SKX developed a Perl Automation Tool Helper for FreeBSD.
Original page: https://metacpan.org/pod/Slaughter::API::freebsd
Slaughter::API::freebsd – Perl Automation Tool Helper FreeBSD implementation
This module is the one that gets loaded upon FreeBSD systems, after the generic API implementation. It implements the platform-specific parts of our primitives.
We also attempt to load
Slaughter::API::Local::freebsd, where site-specific primitives may be implemented. If the loading of this additional module fails we report no error/warning.
Now follows documentation on the available methods.
Export all subs in this package into the main namespace.
Several developers of Netflix have wrote a paper outlining the optimization for high-bandwidth applications in FreeBSD. To view it, click the image below.
FreeBSD user DutchDaemon shows us how to set up RAID10 on FreeBSD 10.1.
Just a quick and unceremonious write-up of an installation I performed just now. Substitute device names at your own leisure. These are four 4 TB disks (ada0–ada3) in a QNAP. Note that these disks only constitute a dedicated RAID10 storage pool. The OS runs from a separate disk (USB in this case) and mounts the storage pool.Code:# load your kernel modules kldload geom_label kldload geom_mirror kldload geom_stripe # if necessary dd if=/dev/zero of=/dev/ada0 count=2 dd if=/dev/zero of=/dev/ada1 count=2 dd if=/dev/zero of=/dev/ada2 count=2 dd if=/dev/zero of=/dev/ada3 count=2 gpart create -s gpt ada0 gpart create -s gpt ada1 gpart create -s gpt ada2 gpart create -s gpt ada3 # RAID1 mirror ada0+ada1 gpart add -t freebsd-ufs -l ada0data ada0 gpart add -t freebsd-ufs -l ada1data ada1 gmirror label datastore01 /dev/gpt/ada0data /dev/gpt/ada1data newfs -U /dev/mirror/datastore01 ## ONLY FOR MIRROR TEST ## echo '/dev/mirror/datastore01 /data1 ufs rw,noatime 1 1' >> /etc/fstab ## mkdir /data1 ## mount /data1 ## REMOVE ABOVE AFTER TEST # RAID1 mirror ada2+ada3 gpart add -t freebsd-ufs -l ada2data ada2 gpart add -t freebsd-ufs -l ada3data ada3 gmirror label datastore02 /dev/gpt/ada2data /dev/gpt/ada3data newfs -U /dev/mirror/datastore02 ## ONLY FOR MIRROR TEST ## echo '/dev/mirror/datastore02 /data2 ufs rw,noatime 1 1' >> /etc/fstab ## mkdir /data2 ## mount /data2 ## REMOVE ABOVE AFTER TEST # RAID0 from both RAID1 mirrors gstripe label -v datastore /dev/mirror/datastore01 /dev/mirror/datastore02 newfs -U /dev/stripe/datastore echo '/dev/stripe/datastore /data ufs rw,noatime 2 2' >> /etc/fstab
Et voilà:Code:mkdir /data mount -a df -h | grep datastore /dev/stripe/datastore 7.0T 8.0K 6.5T 0% /data
In /boot/loader.conf:Code:geom_label_load="YES" geom_mirror_load="YES" geom_stripe_load="YES"
In this episode of BSD Now, hosts Allan Jude & Kris Moore interview Pascal Stumpf regarding static PIE in the upcoming OpenBSD release. They discuss the type of security and attacks it protects it from. Click play below to tune in:
Original link: http://www.bsdnow.tv/episodes/2015_04_15-pie_in_the_sky
FreeBSD user banym is hosting a FreeBSD Install event on May 15, 2015 in Landshut, Bavaria.
Today I want to announce that I will organize a small FreeBSD workshop on 15 May 2015 in our new link.work location in Landshut near Munich, Germany. The link.work is a center of IT-companies and software developers. My company called BayCIX is one of the five founders of the link.work. Beside our daily business we planned to have tech talks and events from the beginning. Now that the building is finished and we have the infrastructure working, we will start with two meetups.
Follow our meetup site to check out the first meetup on 30. April and my #InstallFreeBSD workshop on 15. May: http://www.meetup.com/LINKWORK/
As the name of my workshop indicates it takes place in the #InstallFreeBSD series to introduce people to the FreeBSD system. I will bring some hardware to show where FreeBSD can run on and explain the basics.
If you’re located in Bavaria, feel free to join me and have some fun with FreeBSD.
CallumA of Digital Ocean, a cloud service provider whom recently added support for FreeBSD, shows us how to set up a private OpenVPN server on FreeBSD 10.1.
OpenVPN is an open-source virtual private network (VPN) server/client application which allows you to join a virtual network (similar to a LAN) securely.
This tutorial will explain how to install and configure an OpenVPN server on a FreeBSD 10.1 machine with IPv4 NAT and routing. It includes short explanations of various configuration options.
By the end of this tutorial you’ll be running your own OpenVPN server, and have a client configuration file ready to download to connect to this network.
- A FreeBSD 10.1 Droplet. Droplet size depends on how many clients you intend to connect to the VPN; 519 MB is fine for a few clients
- Root access. sudo is pre-installed on DigitalOcean, so there’s nothing extra to do
This tutorial requires root access. On DigitalOcean, access the server as the default freebsd user, then access the root shell:
Step 1 — Installing OpenVPN
Installing OpenVPN with the
pkgsystem is quite simple. Simply run these commands to update the package lists and install the VPN software:
pkg update pkg install openvpn
This should also install the
easy-rsapackage, which will be used to generate the SSL key pairs.
In this week’s BSD Now episode, hosts Kris Moore and Allan Jude interview Baptiste Daroussin regarding the packaging of FreeBSD base system with pkgng. They discuss the best options going forward, and the implications of it being Linux-like. Click play below to tune in: