From 2.0.5R to 2.2.1R, the primary configuration file is
/etc/sysconfig. All the options are to be specified in
this file and other files such as Look in the /etc/sysconfig file and change the value to
match your system. This file is filled with comments to show what
to put in there.
In post-2.2.1 and 3.0, /etc/sysconfig was renamed
to a more self-describing /etc/rc.local is here as always and may be used to
start up additional local services like The /etc/rc.serial is for serial port initialization
(e.g. locking the port characteristics, and so on.).
The /etc/rc.i386 is for Intel-specifics settings, such
as iBCS2 emulation or the PC system console configuration.
Starting with 2.1.0R, you can also have "local" startup files in a
directory specified in /etc/sysconfig (or
/etc/rc.conf):
Each file ending in If you want to ensure a certain execution order without changing all
the file names, you can use a scheme similar to the following with
digits prepended to each file name to insure the ordering:
It can be seen as ugly (or SysV :-)) but it provides a simple and
regular scheme for locally-added packages without resorting to
magical editing of /etc/rc.local. Many of the ports/packages
assume that /usr/local/etc/rc.d is a local startup directory.
Use the There is another package called ``<roberto@FreeBSD.ORG>
about it. It is currently undergoing further development.
To remove the user again, use the See the Disk Formatting Tutorial at
- Whether it's a removable drive like a ZIP or an EZ drive (or
even a floppy, if you want to use it that way), or a new hard
disk, once it's installed and recognized by the system, and
you have your cartridge/floppy/whatever slotted in, things are
pretty much the same for all devices.
Please take a look at Most ports should be available for both the 2.2 and 3.0
branches, and many of them should work on 2.1.x systems as
well. Each time a FreeBSD release is made, a snapshot of the
ports tree at the time of release in also included in the
ports/ directory.
We also support the concept of a ``package'', essentially no
more than a gzipped binary distribution with a little extra
intelligence embedded in it for doing whatever custom installation
work is required. A package can be installed and uninstalled
again easily without having to know the gory details of which
files it includes.
Use the package installation menu in /stand/sysinstall
(under the post-configuration menu item) or invoke the
pkg_add(1) command on the specific package files you're
interested in installing. Package files can usually be identified by
their .tgz suffix and CDROM distribution people will have
a packages/All directory on their CD which contains such
files. They can also be downloaded over the net for various versions
of FreeBSD at the following locations:
or your nearest local mirror site.
Note that all ports may not be available as packages since
new ones are constantly being added. It is always a good
idea to check back periodically to see which packages are available
at the You are trying to run a package for 2.2/3.0 on a 2.1.x
system. Please take a look at the previous section and get
the correct port/package for your system.
You don't have a math co-processor, right?
You will need to add the alternative math emulator to your kernel;
you do this by adding the following to your kernel config file
and it will be compiled in.
You first need to edit the /etc/sysconfig
(or It will load the You'll then need to set up /compat/ibcs2/dev to look like:
You just need socksys to go to After installing the inn package or port, an excelent place to
start is Use the Port, Luke! A pre-patched version of Apache is available in the ports tree.
commandsas they are usually called. One way uses an
scriptsto help with various
housekeeping> tasks on their machine. Indeed, part of the original Unix philosophy was to provide lots of small utility programs that could be linked together in shell scripts to perform useful tasks.
number-crunchinglanguages that were popular at the time. Instead of being based on numbers, Lisp is based on lists; in fact the name is short for
List Processing. Very popular in AI (Artificial Intelligence) circles.
release versionwithout when you're satisfied it works properly.
gotchawith the math library is that it has to be the last library on the command line.
run the file called, or change yourfoobar in the current directory
look in the current directory if it is not in any of the others.
ifThe makefile also has rules telling makefromboz.o is older thanfromboz.c , that means someone must have changedfromboz.c , so it needs to be re-compiled.
hello worldand a make file like the one above and experiment. Then progress to using more than one source file, or having the source file include a header file. The
infopages. If you have installed any of these ports,
the good old days, programmers had to print out hex listings of core files and sweat over machine code manuals, but now life is a bit easier. Incidentally, under FreeBSD and other 4.4BSD systems, a core file is called
That's all very well,you're probably thinking,
but by the time I've done that, the child process will be over the hill and far away. Fear not, gentle reader, here's how to do it (courtesy of the
so it's useful to know what they mean. And in any case, Emacs has far too many useful functions for them to all fit on the menu bars.M-x replace-s RET foo RET bar RET
whizbangcomes out, full of exciting features?
Emacs Lisp. For example, if whizbang is a FreeBSD port, we can locate these files by doing
dotfiles with the others. If you're root, the
dotfiles show up without the switch.
FreeBSD isn't finding my tape drive, what do I do?—people will want to know what
dotfiles with the others. If you're root, the
dotfiles show up without the switch.
FreeBSD isn't finding my tape drive, what do I do?—people will want to know what
commandsas they are usually called. One way uses an
scriptsto help with various
housekeeping> tasks on their machine. Indeed, part of the original Unix philosophy was to provide lots of small utility programs that could be linked together in shell scripts to perform useful tasks.
number-crunchinglanguages that were popular at the time. Instead of being based on numbers, Lisp is based on lists; in fact the name is short for
List Processing. Very popular in AI (Artificial Intelligence) circles.
release versionwithout when you're satisfied it works properly.
gotchawith the math library is that it has to be the last library on the command line.
run the file called, or change yourfoobar in the current directory
look in the current directory if it is not in any of the others.
ifThe makefile also has rules telling makefromboz.o is older thanfromboz.c , that means someone must have changedfromboz.c , so it needs to be re-compiled.
hello worldand a make file like the one above and experiment. Then progress to using more than one source file, or having the source file include a header file. The
infopages. If you have installed any of these ports,
the good old days, programmers had to print out hex listings of core files and sweat over machine code manuals, but now life is a bit easier. Incidentally, under FreeBSD and other 4.4BSD systems, a core file is called
That's all very well,you're probably thinking,
but by the time I've done that, the child process will be over the hill and far away. Fear not, gentle reader, here's how to do it (courtesy of the
so it's useful to know what they mean. And in any case, Emacs has far too many useful functions for them to all fit on the menu bars.M-x replace-s RET foo RET bar RET
whizbangcomes out, full of exciting features?
Emacs Lisp. For example, if whizbang is a FreeBSD port, we can locate these files by doing
dotfiles with the others. If you're root, the
dotfiles show up without the switch.
FreeBSD isn't finding my tape drive, what do I do?—people will want to know what
commandsas they are usually called. One way uses an
scriptsto help with various
housekeeping> tasks on their machine. Indeed, part of the original Unix philosophy was to provide lots of small utility programs that could be linked together in shell scripts to perform useful tasks.
number-crunchinglanguages that were popular at the time. Instead of being based on numbers, Lisp is based on lists; in fact the name is short for
List Processing. Very popular in AI (Artificial Intelligence) circles.
release versionwithout when you're satisfied it works properly.
gotchawith the math library is that it has to be the last library on the command line.
run the file called, or change yourfoobar in the current directory
look in the current directory if it is not in any of the others.
ifThe makefile also has rules telling makefromboz.o is older thanfromboz.c , that means someone must have changedfromboz.c , so it needs to be re-compiled.
hello worldand a make file like the one above and experiment. Then progress to using more than one source file, or having the source file include a header file. The
infopages. If you have installed any of these ports,
the good old days, programmers had to print out hex listings of core files and sweat over machine code manuals, but now life is a bit easier. Incidentally, under FreeBSD and other 4.4BSD systems, a core file is called
That's all very well,you're probably thinking,
but by the time I've done that, the child process will be over the hill and far away. Fear not, gentle reader, here's how to do it (courtesy of the
so it's useful to know what they mean. And in any case, Emacs has far too many useful functions for them to all fit on the menu bars.M-x replace-s RET foo RET bar RET
whizbangcomes out, full of exciting features?
Emacs Lisp. For example, if whizbang is a FreeBSD port, we can locate these files by doing