Installing a Unix-like Desktop Operating System ‘PC-BSD 10.1.1′

This tutorial by user Babin Lonston shows us how to install the latest PC-BSD 10.1.1.

Original post: http://www.tecmint.com/pc-bsd-10-1-1-installation-guide/

pcbsd-logoPC-BSD is a open source Unix-like desktop operating system created upon the most recent release version of FreeBSD. PC-BSD purpose is to make the experience of FreeBSD easy and obtainable for the regular computer user by providing KDE, XFCE, LXDE and Mate as the graphical user interface. By default PC-BSD comes with KDE Plasma as its default desktop environment, but you can have the option to select your choice of desktop environment during installation.

PS-BSD comes with per-built support for Wine (running Windows software’s), nVidia and Inter drivers for hardware acceleration and also an optional 3D desktop interface via Kwin (KDE X Window Manager) and also it has it own package management model that enables users to install software packages offline or online from PC-BSD repository, which is different and unique for BSD operating systems.

Recently, PC-BSD project has announced the availability of PC-BSD 10.1.1. This new release comes with number of new improved features, better GPT support and number of desktop utilities have been ported to Qt 5.

This article describes the basic instructions on installing PC-BSD 10.1.1 using the graphical installer using DVD / USB method.

Installation of PC-BSD 10.1.1

Continue reading

How to share ElasticSearch mappings in files on FreeBSD

ImageThis tutorial by zewaren.net shows us how to get ElasticSearch mappings shared with files in FreeBSD.

Original post: http://zewaren.net/site/?q=node/148

Using the API

You could specify the index mappings using the PUT mapping API, but you’d have to do that every time:

Create the index with the mapping:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "mappings" : {
        "awesome_doctype" : {
            "properties" : {
              "a_mysql_date" : {
                "type" : "date",
                "format" : "yyyy-MM-dd HH:mm:ss"
              },
              "a_string" : {
                "type" : "string",
                "analyzer" : "french"
              },
              "a_long" : {
                "type" : "long"
              },
              "a_boolean" : {
                "type" : "boolean"
              }
            }
        }
    }
}'

Put something into the index:

Continue reading

How To Install Mate Desktop In FreeBSD 10.1

This short tutorial by user M.el Khamlichi shows us how to get MATE Desktop Environment running on FreeBSD 10.1

Original post: http://www.unixmen.com/install-mate-desktop-freebsd-10-1/

snapshot2

Install Mate desktop in FreeBSD 10.1

FreeBSD is fully text mode system, however some times new users might want to use GUI desktop environment. This tutorial will help you to install Mate Desktop in Freebsd 10.1.

Here is my test system details:

root@Freebsd-unixmen:~ # uname -a
FreeBSD Freebsd-unixmen 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
root@Freebsd-unixmen:~

To start installing Mate desktop in FreeBSD 10.1, the following steps can be used.

pkg install xf86-video-fbdev mate-desktop mate xorg

Continue reading

FreeBSD Flame Graphs

Brendan Gregg, a senior performance architect at Netflix, gives a talk about various FreeBSD flame graphs.

At the last FreeBSD Developer and Vendor Summit, I gave a talk on “Flame Graphs for FreeBSD”, where I summarized the different types (CPU, memory, disk I/O, off-CPU, chain graphs), showed how they can be generated on FreeBSD, and did some live demos. I think it’s one of my best talks so far, whether you care about FreeBSD or not, to see how this visualization can be used to navigate different types of profiling data.

The slides are on slideshare:

Original post: http://www.brendangregg.com/blog/2015-03-10/freebsd-flame-graphs.html

Comparative Introduction To FreeBSD For Linux Users

FreeBSD user anismaj explains FreeBSD to users of Linux that are looking to make the switch, or try out something new.

Original post: http://www.unixmen.com/comparative-introduction-freebsd-linux-users/

Introduction

BSD was originally derived from UNIX and currently, there are various number of Unix-like operating systems descended from the BSD. While, FreeBSD is the most widely used open source Berkeley Software Distribution (BSD distribution). As it is implicitly said it is a free and open source Unix-like-operating system and a public server platform. FreeBSD source code is generally released under a permissive BSD license. It is true that it has similarities with Linux but we cannot deny that they differs in other points.

The remainder of this article is organized as follows: the description of FreeBSD will be treated in our first section.  The similarities between FreeBSD and Linux will be briefly described in the second section. While their differences will be discussed in the third section. And a comparison of their features will be summarized in our last section.

FreeBSD description

History

  • The first version of FreeBSD was released in 1993, while its first CD-ROM distributed was FreeBSD1.0 on December 1993. Then, FreeBSD 2.1.0 was released in 1995 which gained the satisfaction of all users. Actually, many IT companies use FreeBSD and are satisfied where we can list those companies: IBM, Nokia, NetApp and Juniper Networks.

License

  • Concerning its license, FreeBSD is released under various source licenses. Its newest code called Kernel is released under the two-clause BSD license, offering the possibility to use and redistribute FreeBSD with absolute freedom. Other codes are released three- and four-clause BSD license and some others are released under GPL and CDDL.

Users

  • One of the important feature of FreeBSD, we can mention the various categories of its users. In fact, it is possible to use FreeBSD as a mail server, web server, FTP server and as a router due to the significant set of server-related software accompanied with it. Furthermore, ARM, PowerPC and MIPS are supported by FreeBSD so it is possible to use x86 and s86-64.

FreeBSD and Linux similarities

Continue reading

FreeBSD Unix Find Out Which Programs Are Listing On a Given Port Number

openbsm-logo has posted yet another tutorial on how to see what programs are listed on a certain port on FreeBSD.

I’m a new FreeBSD Unix system user. How can I find out the process/programs names listing on a certain port on a FreeBSD Unix systems using command line? How do I lookup the process which is currently bound to the given network port on a FreeBSD server?

Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements none
Estimated completion time 5m

You can use any one of the following command-line tools that displays network connections, routing tables, and a number of network interface statistics on a FreeBSD operating systems.

  • netstat command – Use to see network status including open ports, tcp/udp connections, and more.
  • sockstat command – Show open sockets.
  • lsof command – List open files such as network sockets and files on disks.

FreeBSD has a command called sockstat and netstat tools. These are already on a standard FreeBSD install. You need to install the lsof tool from ports collection.

View the full tutorial here: http://www.cyberciti.biz/faq/freebsd-unix-find-the-process-pid-listening-on-a-certain-port-commands/

How to integrate Active Directory with FreeBSD 10.0 using security/sssd?

This tutorial by Vinícius Ferrão shows us how to integrate Active Directory with FreeBSD 10, using security/sssd.

Q: What are the required steps to authenticate users from an Active Directory running on Windows Server 2012 R2 in FreeBSD 10.0 using sssd with the AD backend with Kerberos TGT working?

A: There are some tricky considerations to make everything works out-of-the-box. FreeBSD only supports sssd version 1.9.6 at this moment. So there’s no support for   Enterprise Principal Names.

If you have a domain with non matched UPNs it will fail to login, since the Kerberos authentication will fail during the process, even with FreeBSD supporting Enterprise Principal Names with Kerberos, the sssd cannot handle this case.

So in actual version of sssd you are limited to have the User Principal Name within the same Domain Name, for example:

Domain Name = example.com
NetBIOS Name = EXAMPLE
User Principal Name:
username@example.com sAMAccountName: username

Knowing this we can describe the steps to successfully authenticate users from AD in FreeBSD.

View the full tutorial here: http://serverfault.com/questions/599200/how-to-integrate-active-directory-with-freebsd-10-0-using-security-sssd

Installing a Unix-Like Operating System FreeBSD 10.1 (+ Configuring Network)

This tutorial by shows us how to get FreeBSD 10.1 setup, including configuring the network interface.

FreeBSD is a Free Unix like operating system from Berkeley Software distribution, which is available for all major platforms x86_64, IA-32, POWERPC, ARM etc, and mainly focuses on features, speed, and performance stability.

FreeBSD 10.1 Installation GuideFreeBSD 10.1 Installation Guide

FreeBSD used by many top-level IT companies like Juniper Networks, NetApp, Nokia, IBM, etc. and available for server platforms with command line interface only, but we can use any other Desktop environments such as Xfce, KDE, GNOME etc. to make it user friendly distro.

My Environment Setup
IP Address	:	192.0.2.142
Hostname	:	freebsd.tecmintlocal.com
Hard Disk	:	10GB
Memory		:	1GB

This article will walk you through the some brief instructions on installing FreeBSD 10.1 and configure network (setting static IP address) interfaces using a text-based installation utility named bsdinstall under i386 and AMD64 architectures.

View the full guide here: http://www.tecmint.com/freebsd-10-1-installation-guide/