Development Tools on Freebsd
Total Page:16
File Type:pdf, Size:1020Kb
FOR NOVICE AND ADVANCED USERS Development tools on FreeBSD Experimenting with XEN Model View Whatever Introduction to origins NetBSD 10 Things Your CIO Should Know About TrueNAS Vol. 09 No. 11 ISSUE 75 1898-9144 1 2 EDITORS’ WORD Dear Readers, I know that many of you don’t celebrate Christmas, so I will not wish you Merry Christmas. But I hope that for all of you, December and the end of the year will be a wonderful time, no matter where you come from, which language you speak or what your beliefs are. I also know that you have been waiting for more FreeBSD re- Editor in Chief: lated articles. So, here they are. Marta Ziemianowicz Great, as always, David Carlier will introduce you to Develop- ment Tools on FreeBSD. If you would like to switch from Linux [email protected] to FreeBSD, this article is definitely for you. Contributing: The next article is an introduction to NetBSD. Siju Oommen David Carlier, Siju Oommen, Damian Czernous, Michael Boelem, Valerie George wrote a guide for you that is another must read for all Heatley, Mark VonFange, Roger Pau Monne and Rob Somerville. beginners, but I hope that professionals and old timers will like it as well. Top Betatesters & Proofreaders: After BSD, it is time for something new. Say “Hi” to Damian Annie Zhang, Denise Ebery, Eric Geissinger, Luca Ferrari, Imad Soltani, Czernous and the origins of Model View Whatever. Not really Olaoluwa Omokanwaye, Radjis Mahangoe, Mani Kanth, Ben Milman, Mark VonFange and David Carlier related to Open Source? Maybe it will be useful for some of you anyway and will broaden your horizons. Special Thanks: Roger Pau Monné will introduce you to Xen and how to have Annie Zhang a little fun with it. If you would like to know how to prepare the host, install Xen and create Guests, dive in right now! Denise Ebery Hope you will enjoy our interviews with Valerie Heatley and DTP: Michael Boelem. Valerie is a super nice Recruiter in Speer- Marta Ziemianowicz head - The Global Leader in DevOps Recruitment. Read what is hot on DevOps recruitment market at the moment. Michael Senior Consultant/Publisher: is a young entrepreneur, who established CISOfy. The com- pany focuses on auditing, hardening and compliance of infor- Paweł Marciniak mation security of Linux and Unix systems. Linux enthusiasts, “security is not a one-time event, but a continuous stream of [email protected] small improvements (and adjustments).” CEO: The last two pieces are our columns: Joanna Kretowicz Mark VonFange from iXsystems will tell you 10 Things Your [email protected] CIO Should Know About TrueNAS. Have you heard about all of them? Publisher: And last crumb, our great Rob Somerville and his thoughts Hakin9 Media SK 02-676 Warsaw, Poland Postepu 17D Poland worldwide publishing [email protected] www.bsdmag.org about the recent attacks in Paris and evolution of the IT world. Has something gone wrong? Hakin9 Media SK is looking for partners from all over the world. If you are interested in cooperation with us, please contact us via e-mail: Enjoy your reading! And have a beautiful December, with [email protected]. snow or rain, sun or clouds, let’s spend it with our families, All trademarks presented in the magazine were used only for informative communities and the dearest ones. Don’t forget to share this purposes. All rights to trademarks presented in the magazine are reserved issue with your favorite open source community ;) by the companies which own them. Marta & BSD Team 3 CONTENTS News XEN BSD World Monthly News 5 Experimenting with Xen 27 by Marta Ziemianowicz by Roger Pau Monné This column presents the latest news coverage of Xen is a hypervisor using a microkernel design, pro- breaking news events, products releases and trend- viding services that allow multiple computer operat- ing topics of the BSD new stories. ing systems to execute on the same computer hard- ware concurrently. The FreeBSD Corner Interview Development tools on FreeBSD 12 Interview with Michael Boelen by David Carlier from CISOfy 41 If you're usually programming on Linux and you are considering a potential switch to FreeBSD, this arti- by Marta Ziemianowicz & Marta Strzelec cle will give you an overview of the possibilities… Interview with Valerie Heatley NetBSD from Speerhead 47 NetBSD Introduction 17 by Marta Ziemianowicz & Marta Sienicka by Siju Oommen George TrueNAS Street The objective of this article is to introduce the 10 Things Your CIO Should Know NetBSD operating system to people who are new to BSDs. The NetBSD project began as a result of frus- About TrueNAS 52 tration within the 386BSD developer community with the pace and direction of the operating system's de- by Mark VonFange velopment. We could write volumes about all the benefits of Tru- GUI eNAS and why it should be in your workplace. For the sake of brevity, however, we’ve narrowed it down to ten things your CIO should know about TrueNAS Model View Whatever - origins 23 before deciding on a storage solution. by Damian Czernous Rob’s Column 55 This is the first paper of the series about evolution of GUI related strategies shapely named Model View by Rob Somerville Whatever. As an engineer, I find myself confident in the software engineering field due to the passion for Presidential hopeful Hillary Clinton has joined an context (history). This series of short papers, divided ever increasing vocal group to argue for the weaken- by major influences that happened through tens of ing of data encryption. In light of the horrific and inhu- years, delivers context and sometimes organises the man terrorist attacks in Paris this month, what are mess around these little letters: M, V and W. the implications of such ideology but more impor- tantly how, as technologists, should we address such a moral quagmire? 4 NEWS Open source OpenWRT router has automatic updates CZ.NIC, a non- profit organiza- tion that runs the .CZ top level domain of the Czech Re- public, re- leased its first open source hardware and software router design called Turris in 2014, offering systems to interested hackers on an invitation-only basis. Now, it is ex- panding to a larger base via Indiegogo with a new Turris Omnia design touted for its high performance, security, automatic updates, and multiple servers. The Omnia de- s i g n m o v e s f r o m t h e 1.2GHz, PowerPC- based Freescale P2020 that powers the cur- rent Turris de- sign to a 1.6GHz dual-core ARM SoC: Marvell’s Armada-385. The Armada-385 is a member of Mar- vell’s recently announced, 28nm-fabricated Armada 38x family of networking SoCs. The SoC is accom- panied here with a cryptography chip that offers se- cure random number generation. http://linuxgizmos.com/open-source-openwrt-router- has-automatic-updates/ 5 NEWS PoWiFi: Now Your Router Will Transmit Both Internet and Energy This new Wi-Fi technology is being hailed as one of the best technological innovations happening this year. The Power Over WiFi(PoWiFi) system uses a WiFi router and its WiFi signals to power the de- vices. According to the team of engineers at the University of Washington, who are behind the PoWiFi, for the first time, it’s possible to use WiFi devices to power the sensors and other devices. The Internet of Things is becoming a much bigger phenomenon with each passing day, and this PoWiFi tech could make IoT more relevant in the upcoming future years. Using PoWiFi, one could harvest the energy in WiFi signals and meet the needs of low-power sensors in devices like cameras, wearables, etc. Microsoft makes Raspberry Pi its preferred IoT dev board Chipzilla's Raspberry Pi-like Galileo was anointed as able- to-run-Windows in August 2014, courtesy of the 1.0.2 firm- ware update for the Gen1 device. In the same month, Intel launched the Gen2 board (which got its stripped-down Win- dows 8 version in October 2014). Microsoft was also handing out Galileo devices free to de- velopers joining its Internet of Things program. Alas, there's no weight-loss program good enough to fit Windows 10 IoT Core into the Galileo, so Redmond has set November 30 as end-of-life for the development boards. Raspberry Pi is the officially designated migration target: "Wiring support is now available on Win- dows 10 IoT Core running on Raspberry Pi 2. This allows you to migrate your existing Galileo pro- jects to Windows 10 IoT Core", the company notes. http://www.theregister.co.uk/2015/11/19/redmond_expels_galileo/ 6 The Linux 4.4 Kernel Linux 4.4 is currently around 20.8 million lines or an in- crease of about 200 thousand lines of code/documentation and a few hundred new files after Linus accepted around 12,000 commits for this merge window. Graphics - AMD Stoney support.. - There are numerous AMDGPU additions for those with an AMD Carrizo, Tonga, or Fiji graphics processor. That in- cludes enabling the AMDGPU scheduler by default, new AtomBIOS opcodes, and various fixes. - There's a Raspberry Pi KMS driver that's landed. Unfortunately for Linux 4.4, this Raspberry Pi kernel graphics driver is just for kernel mode-setting and doesn't yet handle 3D hardware accel- eration or power management. - It has the VirtIO VirGL DRM code! This is used in conjunction with the VirtIO VirGL code in Mesa's Gallium3D along with changes in QEMU 2.5 for providing OpenGL acceleration support to guest virtual machines over QEMU+KVM with VirtIO.