This post by user dnabre started as a request, and led to a lengthy discussion on FreeBSD compatible laptops. If you are in search for one, check out the replies by the users of /r/freebsd.
This tutorial by user CWharton shows us how to get PostgreSQL set up on FreeBSD. Follow the link below for the full set of instructions, as well as a discussion by users on /r/freebsd.
PostgreSQL is a powerful, open source object-relational database with over two decades of continuous development. It is one of my favorite databases because of it’s community, functionality, and extendability. FreeBSD with built in ZFS support, jails, and several other feature is a great platfom to host your PostgreSQL instance.
At the time of this write up the latest version of PostgreSQL is 9.6 but you are not required to install the latest version. FreeBSD support several version of PostgreSQL. Simply search for all the latest versions and choose the one that your project supports.
User Linux Help shows us how to get an XFCE desktop environment set up in FreeBSD. XFCE is a simple and elegant desktop environment available across UNIX and UNIX like operating systems. Watch the video or follow the link below for the full set of instructions.
To install XFCE desktop in FreeBSD
In this article we will learn how to install XFCE desktop in FreeBSD. FreeBSD is a UNIX-like operating system used by companies, computer professionals, Internet Service Providers, researchers, students and home users.
Installation of XFCE
First start installing “xorg” to install XFCE.root@linuxhelp:~ # pkg install xorg Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 Fetching packagesite.txz: 100% 5 MiB 147.8kB/s 00:39 Processing entries: 100% FreeBSD repository update completed. 25371 packages processed. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: xorg: 7.7_2 Number of packages to be installed: 1 Proceed with this action? [y/N]: y [1/1] Installing xorg-7.7_2...
Then run the following command to install desktop manager Slim.
User Arun Pyasi shows us how to set up WordPress on FreeBSD 11 along with Apache, PHP, and MySQL. Follow the link below for the full set of instructions.
WordPress is a free and open source content management system written on PHP and MySQL which powers most of the websites running in the web now a days. WordPress powers more than 26.4% of the top 10 million websites as of April 2016, supporting more than 60 million websites on the web. It is developed and maintained by the WordPress Foundation and is released under GNU GPLv2 or later. Running websites and blogs on WordPress is very easy task which doesn’t require expertise in programming. FreeBSD is a free and open source Unix-like operating system derived from Research Unix via the Berkeley Software Distribution (BSD). It is similar to Linux but with two major differences in scope and licensing ie FreeBSD develops and maintains a complete operating system ie from kernel, device drivers to the userland utilities and is released under a permissive BSD license which opposes the copyleft GPL used by Linux. It is widely used across desktop, workstation, server and embedded systems. The latest stable release of FreeBSD 11 was released yesterday. Here, we’ll install WordPress on the latest FreeBSD 11 with a complete FAMP Stack ie FreeBSD with Apache as web server, MySQL for database system and PHP modules.
1) Installing Apache Web Server
To install Apache web server on FreeBSD, we can use its default package manager ie pkg which allows us to install the Apache web server from the official FreeBSD package repository. To install apache using pkg, we’ll need to run the following command.
% sudo pkg install apache24
User Abdelhadi Khiati shows us how to create a FreeBSD kernel module. Follow the link below for the full set of instructions.
FreeBSD is one of the biggest OSs in history. It is Unix flavored and based on the Berkeley Software Distribution. Even though Linux is dominating most of the servers market nowadays, FreeBSD still got its fair share (Netflix).
We won’t dive into the reasons why you would want to use FreeBSD as your OS for production (Not the purpose of this post).
I have been lucky enough to participate in Google Summer of Code with the FreeBSD foundation. I was amazed by the community surrounding it which was noob friendly and very helpful (Thank you FreeBSD <3).
I wanted to make a starting tutorial for people to write a simple module for kernel before diving inside more complicated kernel shizzle.
The kernel module that we will be working on is a simple event handler for the kernel. It will be composed of 2 parts, the event handling function, and the module declaration.
The module event handler is a function that handles different events for the module. Like the module being
unloadedor on system
You can find the different kind of events that the module can handle here .
MOD_LOADis set when the module is being loaded inside the kernel.
MOD_UNLOADis set when the module is unloaded from the kernel.
MOD_SHUTDOWNis set on system shutdown.
MOD_QUIESCEis set when the module is about to be unloaded.
User Arun Pyasi shows us how to set up a FreeBSD 11 web server with Nginx, MySQL, and PHP. Follow the link below for the full set of instructions.
We have been running LEMP stack ie Nginx, MySQL and PHP in Linux based operating system but today we’ll be installing FEMP stack on FreeBSD 11. FreeBSD is a free and open source Unix-like operating system based on BSD systems. Unlike Linux, FreeBSD is developed and maintained as an entire operating system from kernel, device drivers to the userland utilities whereas linux is a kernel with device drivers. Nginx is a free and open source web server which is known widely for its speed and ability of load balancing and caching. It is one of the most popular web server and proxy server used in large numbers of servers. MySQL is an open source relational database management system which is developed and maintained by Oracle whereas its free and open source version ie MariaDB is also available on the internet. PHP is a server-side scripting language which is written for web development as a backend language which is developed and maintained by Zend Technologies. And the combination of Nginx, MySQL and PHP running in FreeBSD 11 is known as FEMP stack.
First of all, we’ll gonna update our FreeBSD 11 operating system to the latest packages available on the repositories. As the default package manager of FreeBSD 11 is pkg, we’ll run the following pkg command to update our system using sudo privilege.
% sudo freebsd-update fetch install
In this BSD Now episode, hosts Kris Moore and Allan Jude discuss Isaac (.Ike) Levy’s mission to be part of the ARIN Advisory Council, LibreSSL, FreeBSD kernel module creation, bhyve, and more. Click play below to tune in:
See the show’s full notes: http://www.jupiterbroadcasting.com/104231/vote4bsd-bsd-now-165/
User Mihajlo Milenovic shows us how to install FreeBSD 11, and then provides us 8 tips on what to do after a successful installation. Follow the links below for the full set of instructions.
1) Downloading FreeBSD
First browse to Freebsd 11 download page where you can find iso images for USB drive, for burning to disk, to minimal network install. There is also a memstick.img available to be copied to a USB stick using dd command. And all that for various architectures, like PowerPC, SPARC, ARM, etc. We are off course going to use AMD64 which is for 64-bit Intel and AMD processors. Since I am installing it in KVM, I will get the DVD iso with following command
After the download finishes, your course of action depend on how you want to install the FreeBSD. You can burn the image to DVD, to the USB drive, or simply connect the ISO to VM, which I am going to do.
2) Booting the Installer ..
After you read our article about FreeBSD 11 install process, you probably want to know a set of commands that you can run to get good FreeBSD usability right after install. FreeBSD UNIX is straight forward to setup and install if you have good up to date guides. So that is what we will make here for you. A guide what to do with FreeBSD 11.0 after install.
1) First update and pkg install
First thing we need to do is install pkg for package management. That step is automatically, you need only to run any update. Following command will do:
Full tutorial: http://linoxide.com/distros/things-installing-freebsd-11/
In this BSD Now episode, hosts Allan Jude and Kris Moore discuss vmm, vkernels, Raspberry Pi, and more. In addition, they feature a special guest from iX. Press play below to tune in:
User Mihajlo Milenovic shows us how to get the ports collection set up on FreeBSD 11.0. Follow the link below for the full set of instructions.
FreeBSD operating system can use binary packages with pkg utility, but for for some ocassion, like running newest versions of the code, you would want to compile some programs. For that, there is very useful ports collection that simplifies compilation process. In this article we will install and use ports collection to update the Freebsd 11.0 system. This article assumes you have installed FreeBSD 11 using our previous article.
Using port collection to install portmaster
If you are using ssh to access your FreeBSD machine, you would want to get root for your regular user before proceeding, because you access the VM as user and then you need to use su. By default, FreeBSD will give you sorry message, and to avoid that, use following command:
pw user mod username -G wheel
Next we can move to getting the ports tree from online repostory: …
Full tutorial: http://linoxide.com/unix/use-ports-collection-freebsd-11/