Questions tagged [freebsd]

FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, and userland utilities such as shells.

FreeBSD includes many modern OS features including advanced IP stacks and networking, Virtualization, hardened security, and high availability techniques.
For more information about FreeBSD, see their website (FreeBSD.org).

Questions are welcome here on Server Fault, the Unix and Linux Stack Exchange or the FreeBSD Forums.

Additionally Wikipedia has en entry on FreeBSD and the original BSD OS.

1545 questions
19
votes
4 answers

How do you manage and deploy FreeBSD's ports in a large environment?

I'm curious to how people are deploying FreeBSD's ports in their environment. I assume that most people using FreeBSD are indeed using Ports (and often portupgrade for upgrading with binaries). I am however interested in how you have this setup, as…
vpetersson
  • 931
  • 1
  • 11
  • 24
8
votes
5 answers

How do I non-interactively update FreeBSD system (and ports)?

Essentially, I am looking for a fully silent, non-interactive version of freebsd-update fetch freebsd-update install and portsnap fetch update
oberstet
  • 329
7
votes
3 answers

cpulimit for FreeBSD

Does any one know of an equivalent of the GNU/Linux utility cpulimit for FreeBSD? I'm not talking about process niceness or setting limits on a user account, but actually limiting the percentage of cpu used by a specific process.
jns
  • 514
7
votes
2 answers

FreeBSD how to rebuild all p5-* Perl 5 ports

On a FreeBSD system, instructions say to rebuild all p5-* ports - how do I do that? A bit of background... I'm an experienced Linux person, trialling (and liking) the latest PC-BSD (PCBSD9.2-RELEASE-x64). I've previously installed simple packages…
6
votes
2 answers

Conflicting information about the running kernel version in FreeBSD

I asked a related question about uname before and now want to ask from another angle, because the following simple yet obvious conflicting outputs may mean there is something many people did not think of (me included). I'm running FreeBSD 9 RELEASE;…
John
  • 369
  • 1
  • 4
  • 13
6
votes
3 answers

Dropping Cached Memory on FreeBSD

i use FreeNAS server which is built on OS version FreeBSD 8.2-RELEASE-p6. I use ZFS file system with 13TB HDD on my 8GB physical ram installed box. It almost uses all of RAM installed while proccessing some request. However, it still uses same…
6
votes
2 answers

Is there a good guide to using "The DJB Way" with FreeBSD?

I'm rapidly becoming a FreeBSD convert (from Linux). I'm also intrigued by djb's software. Is there a good guide to replacing the standard set of FreeBSD utilities with their djb equivalent? It would be swell if that also happened to leverage ports,…
Hank Gay
  • 375
5
votes
2 answers

How to tell if a FreeBSD host needs a reboot to activate the new kernel?

"uname" will tell me the version of the running kernel. How do I know if this is different from the installed kernel (i.e. the one that will be loaded on the next reboot)? Ideally I'd like to write a script that can output "reboot needed" or…
TomOnTime
  • 8,131
5
votes
1 answer

where does uname get version number in FreeBSD RELEASE?

I installed FreeBSD 9.1-RELEASE, after binary upgrading to 9.2-RELEASE using freebsd-update, all files I checked are correctly in 9.2-RELEASE-p4. For example: the kernel contains the new version: # strings /boot/kernel/kernel | grep RELEASE|grep…
John
  • 369
  • 1
  • 4
  • 13
5
votes
4 answers

freebsd-update from 8.3-RELEASE to 9.0-RELEASE: How to deal with dozens of diffs?

I am upgrading a FreeBSD 8.3-RELEASE system to FreeBSD 9.0-RELEASE using freebsd-update. This is my first time performing a major version upgrade in FreeBSD. At one point in the process, freebsd-update performs a diff on files which are different…
Stefan Lasiewski
  • 23,975
  • 42
  • 135
  • 187
5
votes
9 answers

Hidden features of FreeBSD?

For completeness, similar to Hidden Features of Linux and Hidden Features of Solaris/OpenSolaris, what are the hidden features of FreeBSD?
4
votes
1 answer

Forgotten Root Password FreeBSD - Have sudo accounts

This is a really stupid question. Is there a way of resetting the root users password on my FreeBSD machine? I have a user which has sudo capabilities so I can perform all admin functions. Thanks.
twitwho
4
votes
2 answers

Shared object "libarchive.so.5" not found, required by "pkg"

I just updated my FreeBSD from 9.x to 10.0 (using freebsd-update) and now my pkg isn't working. # pkg Shared object "libarchive.so.5" not found, required by "pkg" # I know I can use pkg-static meanwhile, but how do I fix my pkg now? * UPDATE *: #…
alexus
  • 13,374
4
votes
1 answer

Keeping freebsd up to date with only binary packages

Here's what I want: I want to install RELEASE-8.2, and want to keep the system and packages up to date with security patches only. I want to avoid ports b/c I do not want my machines to start compiling large packages and their dependencies when it…
cespinoza
  • 303
4
votes
1 answer

Is it safe to install several apps from ports at the same time?

Can multiple make installs cause problems for the package system? For example: cd /usr/ports/*/nmap && make install cd /usr/ports/*/firefox && make install
1
2 3 4 5 6