Setting up your first VPS FAMP Stack

Diego from RootBSD has put together a handy blog post (Setting Up Your First VPS FAMP Stack) showing how to set up a FAMP stock (FreeBSD, Apache, MySQL, PHP) on a (RootBSD) VPS.

Just 5 easy steps and a bit of configuration and it’s all done.

  • Upgrading Ports Tree Using Portsnap
  • Installing Apache 2.2.x
  • Installing PHP 5.3.x
  • Installing MySQL
  • Additional Modules
  • Finished

RootBSD is a provider of FreeBSD and OpenBSD hosting and VPS Solutions. Having your hosting account with RootBSD gives you ease of mind and full control with all of the advantages from a dedicated server: full root access, customizable environment, and guaranteed hardware resources. Find out more.

Disclosure: freebsdnews.com it affiliated with RootBSD.

GSoC 2012 FreeBSD projects announced

It’s that time of the year again. Holiday season is approaching in a few months time, so it’s time to get ready for the annual Google Summer of Code, GSoC 2012.

Each year Google pays quite a number of mainly students to contribute to an open source project. The applications have been gone through and 15 FreeBSD related projects have been approved.

I’m quite excited about the BHyVe, TrueCrypt and parallization projects.

Port FreeBSD/arm to BeagleBoard-xM
Aleksander Dutkowski
The purpose of this project is to run FreeBSD on BeagleBoard-xM device – OMAP3 based multifunctional board. The main work will be to implement OMAP3 support and peripherals like ethernet, usb host, audio and DVI video devices included in BeagleBoard-xM

Parallelization in the ports collection
Alexander Pronin
The main idea of the project is to give a user an opportunity to make install of several ports at the same time. Another part of the project is to be able to build port’s dependencies in parallel. The main aim of this project is to make system update process faster and easier.

Re-enginer the wheel: a rejuvenation of BSD callout(9) and timer facilities
Davide Italiano
In all the BSD kernels, timers are provided using the callout(9) facility, which allows a function to be registered in order to be called at a future time. Right now, FreeBSD can’t handle timeouts less then 2/HZ and precision less then 1/HZ. According to some recent tests, other OSes can do it much better. Some consumers may need better resolution, and this is important in lots of applications, e.g. allow faster TCP recovery in case of error or package loss, or real-time applications.

Kernel level file integrity checker
Efstratios Karatzas
This project will focus on providing file integrity checking capabilities to pefs. The file integrity checker will compare cryptographic checksums of files against a static signed checksum list at access time. The files are thought to be immutable and use of securelevel will guarantee that lower filesystems will protect those files. Securelevel will be extended to only permit execution of files with immutable flag set.

EFI Boot Support for amd64/i386
Eric McCorkle
Complete the implementation of EFI boot support on the amd64 and possibly i386 platforms (including Intel Macs). The end result should allow the FreeBSD kernel to boot on an EFI system.

Userland Lock Profiling and Verification
Greg Miller
This project will provide userland lock profiling and lock order verification functionality, based on the LOCK_PROFILING and WITNESS kernel options. Application developers will be able to build an instrumented application and query statistics via additional library API calls or a gperf-style external data file.

FreeBSD/arm and FDT cleanup
Jakub Klama
This project aims to clean up and refactor FreeBSD/arm and Flattened Device Tree implementation code.

Improve BSD-licensed text processing tools.
Jesse H.
This project aims to improve, complete, and optimize the BSD-licensed text processing tools grep, sort, diff, diff3, sdiff, and mdocml. This will include adding features to diff/diff3/sdiff and mdocml and improving the efficiency of grep and sort.

IPV6 Improvement [Userland]
Jonathan Calmels
Improve the IPv6 support in userland according to the TODO list provided by the FreeBSD network team.

Port TrueCrypt as a geom_gate userland disk device implementation (GSoC)
Monty Chaney-Geib
This project aims to port TrueCrypt as a geom_gate userland disk device implementation. Basically what this will be doing is encrypting a virtual disk in real time.

Port NetBSD’s UDF implementation
Oleksandr
FreeBSD has an implementation of the UDF filesystem but it is not the latest version and doesn’t support many features from newer UDF revisions (>=2.01), such as Metadata Partition or Pseudo OverWrite method. Support UDF is also readonly. NetBSD implementation by Reinoud Zandijk supports most of new UDF features and has write support too. First of all I will support new revisions only for reading and subsequently write support.

CPU percentage limits
Rudolf Tomori
The goal of the project is to add the CPU percentage usage accounting to the existing racct/rctl infrastructure. I want to make it possible for the system administrator to limit either a particular process, a particular user or a particular jail to for example 30% CPU.

BHyVe BIOS emulation to boot legacy systems
Takuya ASADA
Implement BIOS emulation on BHyVe hypervisor, to make BHyVe able to support more guest OSes.

Automated Kernel Crash Reporting System
Tzanetos Balitsaris
This project aims to develop a system for automated kernel crash reports for the FreeBSD Operating System. This includes the creation of a crash reporter program specifically for the FreeBSD kernel, and a service that receive those data, store them in a database according to some rules, and present them via two different web pages. One for the community, and one for the developers of the FreeBSD Project.

NTFS for FreeBSD

Miscelaneous News Links: auditdistd, Xorg, Linuxulator, OpenSSH

auditdistd

The auditdistd project is complete. Pawel Jakub Dawidek provides the following report regarding the project: auditdist project completed.

Xorg 7.5.2

The Xorg Team has announced the next round of Xorg updates. Phoronix’ analysis here.

Linuxulator and Linux Base

‘This week­end I made some progress in the lin­ux­u­la­tor‘.

OpenSSH

OpenSSH 6.0 has just been released.

 

PC-BSD 9-STABLE-20120418 snapshot available

The PC-BSD team has made the first public 9-STABLE snapshot available for 64bit systems! Read the announcement.

This snapshot provides both users and developers a means to test out new features in the upcoming PC-BSD 9.1 release. This snapshot may contain buggy code and features, so users are encouraged to run it only on non-critical systems.

Highlights in this release are:

  • FreeBSD 9-STABLE from 4-11-2012
  • New system installer! Greatly simplified for desktop and server installs.
  • New “PC-BSD Server” installation option. Includes command-line utilities like pbi-manager, warden, metapkgmanager and more.
  • Support for ZFS mirror / raidz(1,2,3) during installation.
  • Support for SWAP on ZFS, allowing entire disk ZFS installation.
  • Support for setting additional ZFS data-set options, such as compression, noexec, etc.
  • Warden jail management integrated into system. Allows creating jails via GUI, adding packages and other administration.
  • First boot setup wizard allows OEM installs to be easily performed.
  • New Bluetooth paring tray / GUI utilities.
  • New AppCafe improvements and preferences
  • Improvements to wifi utility
  • Fixed bug causing untranslated strings to show up empty.
  • Numerous bug-fixes to PC-BSD related utilities
  • And much more!

Happy testing.

Should you come across any problems or issues, share them with the Team on the PC-BSD Testing Mailing List.

Download PC-BSD 9-STABLE-20120418 snapshot (64bit)

 

FreeNAS 8.2.0-BETA3 available for testing

Josh Paetzel, who leads the FreeNAS team at iXsystems, announced that he’s uploaded FreeNAS 8.2.0-BETA3.

If you download from BETA2 work there shouldn’t be any problems, however, plugins that worked in BETA2 will stop working. You’ll want to use the plugins in the BETA3 directory with this beta, don’t mix and match.

Notable highlights in this beta release are:

  • a complete refactor of plugins
  • iSCSI target reload
  • samba security fix

Continue reading

FreeBSD 8.3-RELEASE Announcement

The FreeBSD Release Engineering team has announced the availability of FreeBSD 8.3-RELEASE. This is the fourth release from the 8-STABLE branch which improves on the functionality of FreeBSD 8.2 and introduces some new features.

Some of the highlights:

  • usb(4) now supports the USB packet filter;
  • TCP/IP stack now supports the mod_cc(9) pluggable congestion control framework;
  • graid(8) GEOM class added to support various BIOS-based software RAID controllers (replacement for ataraid(4));
  • ZFS subsystem updated to SPA version 28;
  • GNOME version 2.32.1,
  • KDE version 4.7.4.

For more information check out the  8.3 release announcement and the detailed detailed release notes.

DTrace on FreeBSD (video)

This is a video presentation on the status of dtrace on FreeBSD.


DTrace, also known as Dynamic Tracing, was developed by Sun™ as a tool for locating performance bottlenecks in production and pre-production systems. It is not, in any way, a debugging tool, but a tool for real time system analysis to locate performance and other issues.

DTrace is a remarkable profiling tool, with an impressive array of features for diagnosing system issues. It may also be used to run pre-written scripts to take advantage of its capabilities. Users may even author their own utilities using the DTrace D Language, allowing them to customize their profiling based on specific needs.” (source)