Difference between revisions of "FreeBSD"

From SupraWiki
Jump to: navigation, search
(FreeBSD File System Structure)
(FreeBSD File System Structure)
 
(3 intermediate revisions by one other user not shown)
Line 12: Line 12:
 
==FreeBSD File System Structure==
 
==FreeBSD File System Structure==
  
The Unix File System or UFS file system is straight forward. Here is a screen shoot of the root file system:
+
The Unix File System or UFS file system is straight forward. Here is a screen shot of the root file system:
  
 
[[Image:rootfilesystem.png|400px]]
 
[[Image:rootfilesystem.png|400px]]
  
As you can see we have a variety of directories in root. This will go over a few of the main directories.
+
As you can see we have a variety of directories in root. This will go over a few of the main directories and files.
  
The first directory I am going to look at is /etc/.
+
The first directory I am going to look at is /etc/. This directory hold the main FreeBSD system configuration files end users will edit.
  
[[Image:etc.png|400px]]
+
[[Image:etc.png|700px]]
 +
 
 +
* rc.conf is one of the most important and edited files. This file holds the hostname, IP information, applications to start on boot and any flags associated with them. See below:
 +
 
 +
[[Image:rcconf.png|500px]]
 +
 
 +
* fstab shows what partitions are mounted to what device
 +
 
 +
* resolv.conf hold what DNS servers to do lookup on
 +
 
 +
*

Latest revision as of 14:57, 9 August 2016

FreeBSD?

  • FreeBSD in a UNIX like operating system created at Berkeley University in the 1980s. UNIX as a whole has been around since Bell Laboratories created it in 1969 and today there are a variety of UNIX distributions to use.
  • FreeBSD will always be free. Many companies use BSD for its products like, DVD players, watches, etc because of its license.
  • FreeBSD has a well structured development model that consists of, developers, committers to packages, and the core team which differs from Linux.
  • The ports tree has over 23k programs
  • Access to FreeBSD information is easy to obtain via: https://www.freebsd.org/doc/handbook/
  • Access to developers, committers and the community is easy to find.
  • Unlike Lunix which every distro can place files and folders in different locations BSD has come to a standard file structure.
  • FreeBSD provides 1/3rd of the Internet traffic through Netflix

FreeBSD File System Structure

The Unix File System or UFS file system is straight forward. Here is a screen shot of the root file system:

Rootfilesystem.png

As you can see we have a variety of directories in root. This will go over a few of the main directories and files.

The first directory I am going to look at is /etc/. This directory hold the main FreeBSD system configuration files end users will edit.

Etc.png

  • rc.conf is one of the most important and edited files. This file holds the hostname, IP information, applications to start on boot and any flags associated with them. See below:

Rcconf.png

  • fstab shows what partitions are mounted to what device
  • resolv.conf hold what DNS servers to do lookup on