Difference between revisions of "FreeBSD"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[BSD]] stands for '''B'''erkeley '''S'''oftware '''D'''istribution and is an [[operating system]]. Most of its common variations are considered to be Free/Libre and Open Source Software ([[FLOSS]]). This resource is similar to its counterpart [[Linux]] and one should explore things like basic [[Linux Commands]] and [[Directories in Linux]]. Most work for the BSDs also. [[FreeBSD]] is what we'll be looking at primarily but we will also cover [[NetBSD]], [[OpenBSD]] and others.<ref>https://en.wikiversity.org/wiki/BSD</ref>
+
[[wikipedia:FreeBSD]], [[BSD]] stands for '''B'''erkeley '''S'''oftware '''D'''istribution and is an [[operating system]]. Most of its common variations are considered to be Free/Libre and Open Source Software ([[FLOSS]]). This resource is similar to its counterpart [[Linux]] and one should explore things like basic [[Linux Commands]] and [[Directories in Linux]]. Most work for the BSDs also. [[FreeBSD]] is what we'll be looking at primarily but we will also cover [[NetBSD]], [[OpenBSD]] and others.<ref>https://en.wikiversity.org/wiki/BSD</ref>
  
 
== Getting FreeBSD ==
 
== Getting FreeBSD ==
Line 50: Line 50:
  
 
== Related ==
 
== Related ==
* [[pfSense]]
+
* [[Firewall]]: {{pfSense}}
 
* [[portsnap]]
 
* [[portsnap]]
 +
* [[FreeBSD Core Team]]
  
 
== See also ==
 
== See also ==

Latest revision as of 15:37, 1 January 2024

wikipedia:FreeBSD, BSD stands for Berkeley Software Distribution and is an operating system. Most of its common variations are considered to be Free/Libre and Open Source Software (FLOSS). This resource is similar to its counterpart Linux and one should explore things like basic Linux Commands and Directories in Linux. Most work for the BSDs also. FreeBSD is what we'll be looking at primarily but we will also cover NetBSD, OpenBSD and others.[1]

Getting FreeBSD[edit]

Getting FreeBSD is easy. This course is based on the FreeBSD 7.2-RELEASE which came from here. If you are new to installing operating systems, you might consider getting only the 7.2-RELEASE-i386-livefs.iso to look at a Live CD version. PC-BSD and FreeSBIE are also available. You can also learn FreeBSD if you have an Amazon AWS account, as there is free version available on AWS Marketplace, and probably some other cloud hosting providers offers too FreeBSD installations.

see also Creating a bootable disk

Learning BSD[edit]

We chose FreeBSD for the i386 family. Look again at the Getting FreeBSD page to see if it matches your test machine. If you don't have a test machine, there are many BSD servers online where you can get a shell account.

Basic Commands[edit]

  • CPU Information: sysctl hw.model hw.machine hw.ncpu
[email protected]# sysctl hw.model hw.machine hw.ncpu
hw.model: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz
hw.machine: amd64
hw.ncpu: 8
  • Memory installed: sysctl hw.physmem

Package Management Packages:

  • List installed packages: pkg info[2]
  • Install a package pkg install package_name
  • Delete a package pkg delete package_name

Installing FreeBSD[edit]

Our CD set:

  • 7.x-RELEASE-i386-bootonly.iso
  • 7.x-RELEASE-i386-disc1.iso
  • 7.x-RELEASE-i386-disc2.iso
  • 7.x-RELEASE-i386-disc3.iso
  • 7.x-RELEASE-i386-docs.iso

Our Hardware: Our test machine will be a Dell PowerEdge 2400 server with one i386 class Pentium IV (even though there is a socket for a second).

This course is under construction... see the talk page 03:00, 29 April 2009 (UTC)

Updating FreeBSD[edit]

FreeBSD updates can be done using freebsd-update command.

Managing Service[edit]

Services are managed using service command and the start, stop, and restart options.[3]

Personalize command prompt[edit]

You can personalize your command prompt by editing ~/.cshrr file. Change set prompt line to your desire value, for example: set prompt="%{\033[46m%}[$HOSTTYPE]`uname -r`%B[%.2]%b"

Related[edit]

See also[edit]

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source: wikiversity

Advertising: