|
|
Parent Directory
| FreeBSD install/config for Tahi IPv6 testing
Brett Lee
==================================================
1. Go to the Tahi site and download the Self Test and v6eval tool:
http://www.tahi.org/release/
Read the Release Notes for both of these and determine which
releases of FreeBSD are supported
2. Get CD #1 of the appropriate FreeBSD release
Burn it to disk, and boot the system to be installed
3. Install FreeBSD "Developer" (src, bin, doc) bundle. Plus the "ports"
4. Enable root login via SSH
5. Install the necessary ports: (chose one option below)
a. run `pkg_version` on an existing test node see what ports are installed
b. read the v6eval Release Notes to find that you need these Perl modules:
lang/p5-Expect
security/p5-Digest-MD5
textproc/p5-YAML
c. or go with these:
apache
bash
bash-completion
bsdpan-IO-Stty
p5-Digest
p5-Digest-HMAC
p5-Digest-MD5
p5-Digest-SHA1
p5-Expect
p5-IO-Tty
perl
wget
Yeah, bsdpan-IO-Stty was built from an external src
It may not even be necessary any more ( see p5-Expect doc )
For more, see:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/
http://www.freebsd.org/doc/en/books/handbook/ports-using.html
6. Build and install v6eval (and koi, optional), setting sym links as appropriate:
e.g. `mv v6eval v6eval-3.1.0; ln -s v6eval-3.1.0 v6eval`
`mv koi koi-2.1.6; ln -s koi-2.1.6 koi`
7. Create nut.def's in /usr/local/v6eval/etc/
8. Create tn.def in /usr/local/v6eval/etc/
9. Create /etc/devfs.rules
# /etc/devfs.rules
#
# ----------------------------------------------------------------
[devfsrules_unhide_bpf=1025]
add path 'bpf*' user root group wheel mode 0660 unhide
# ----------------------------------------------------------------
10. Edit /etc/rc.conf as appropriate
[root@freebsd /usr/local]# cat /etc/rc.conf
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#
defaultrouter="192.168.1.254"
hostname="freebsd.nowhere.local"
ifconfig_em0="DHCP"
inetd_enable="NO"
linux_enable="NO"
sshd_enable="YES"
usbd_enable="NO"
sendmail_enable="NO"
check_quotas="NO"
nisdomainname="NO"
#
# --------------------------------------------------------------------
# v6eval additions: (shows "confirmed" if confirmed in doc 2008/04/03)
# --------------------------------------------------------------------
#
# confirmed: devfs_system_ruleset
devfs_system_ruleset="devfsrules_unhide_bpf"
#
# confirmed: ipv6_enable="NO"
ipv6_enable="NO"
#
# confirmed: ifconfig_<device>="up"
ifconfig_bge0="up"
[root@freebsd /usr/local]#
11. Update /etc/group for 'wheel' & 'dialer'
[root@freebsd /usr/local]# egrep 'wheel|dialer' /etc/group
wheel:*:0:root
dialer:*:68:root
[root@freebsd /usr/local]#
12. Update /usr/local/etc/apache/httpd.conf as necessary
- DocumentRoot and <Directory "/...">
Extract the Self Test to your DocumentRoot
Start Apache with `apachectl start`
Browse to your server on port 80 to test Apache
13. Reboot and ensure that Apache HTTP starts at boot time
* If you installed it using the ports, it should have a startup file in:
/usr/local/etc/rc.d/apache
* That directoy should be configured to be checked at startup by:
/etc/defaults/rc.conf
As for me, I created a script containing "/usr/local/sbin/apachectl start"
and stuck it in /usr/local/etc/rc.d/
Notes:
startup configs in /etc/defaults/rc.conf
e.g. local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d"
For more, see:
http://forums.devshed.com/bsd-help-31/how-do-i-get-apache-to-start-at-boot-up-27183.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In an effort to provide a service of value to the open source community, I've put together this website that containing many of my notes and references.
This website is not authoritative and it is certainly not without errors; it is a work in progress.
In addition to my contributions you will also find the work of others. Where the work is not mine, I have tried to indicate that, and to reference the source of the work: by citing the original author, retaining the authors' name and license wherever present, or by placing the work in a suitably named URL containg /external/ in the path. If you find any work here that should not be publically available, please send me a note and it will be removed.
As for my contributions, you are free to use any of *MY* notes or code from this website unless specifically instructed otherwise.
Brett Lee, Ph.D., President & CEO
Everything Penguin, Inc.
|
|
|