Setting up a 4.11 machine
Installation (from CD-ROM):
If you are not sure about some installation steps, go to FreeBSD Tutorials and look for the Installation Details. It helps in many cases.
- Enter or insert a bootable 4.11 CD.
- Select kernel configuration in full-screen visual mode. Expand storage option (i.e. press ENTER on storage). DEL on aic device - it's a sound card causing an interrupt conflict - press Q to save and exit.
- Use standard installation
- OK to fdisk alert
- Select drives (Spc) (at least the one where the OS will reside). Note: This is only when the PC has more than one hard disks.
- Ok to alert (but note we do not use auto.)
- Create (c) only one slice (use the entire hard disk and the use default type.)
- Quit (q).
- Select Boot Manager. NOTE: This is the usual option. However, I recently ran into problems with it because the FreeBSD loader cannot load the kernel. If you have this problem, use the standard MBR (02/09/01 - Long).
- Ok to partitioning alert.
- Partition the hard disk (create them with (c)):
SWAP 640M (2.5 times the amount of memory is a good rule of thumb.)
/usr all that's left
- additional disks, if present, are partitioned as playpen space (mount points are /playpen1, /playpen2, and so forth.)
- Quit (q).
- In choose distribution select "8 User".
- Port collection: say NO.
- Go back to Choose Distribution screen and Exit.
- Use CD/DVD as the Installation Media.
- Keep going after the "User confirmation requested" alert.
- (Creating file systems...)
- See congratulation message, press OK.
- Say yes to configure Ethernet or SLIP/PPP network interface(s).
- Select network interface.
- Say no to IPv6 installation.
- Say no to DHCP installation.
- Type in hostname, domain name, gateway, name server, IP address, netmask.
Example: hostname: pinky
domain name: cs.unc.edu
name server: 22.214.171.124
IP address: 126.96.36.199
net mask: 255.255.0.0
- Say No to "would you like to bring up the network interface right now?" prompt.
- Say No to "do you want this machine to be a gateway?" prompt.
- Say No to "do you want to configure inetd and network service"
- Configure host not to allow anonymous FTP.
- Configure host not to be a NFS server, unless you know you will be hosting NFS mounts on this machine.
- Configure host to be a NFS client.
- Say No to the prompt "Do you want to select a Default security profile for this host?"
- Say yes to System Console settings. Use Daemon as your Screen Saver.
- Configure keyboard and Exit the menu.
- Configure timezone (no to UTC and select North and South Americas -> United States -> Eastern Time).
- Say no to installation for port collection.
- Say yes to linux_enable
- Configure mouse (Test and enable mouse daemon. If it doesn't work, no problem.)
- Say No to FreeBSD package collection.
- Say No adding more users.
- Create root account, type in root password.
- Say No to "Last chance for configuration" warning.
- Exit to reboot.
- Add hostname into /etc/exports on tyagi if needed (to give mount permission to the new host). Restart the NFS server "kill -HUP `cat /var/run/mountd.pid`" for csh or "kill -SIGHUP `cat /var/run/mountd.pid`" for bash.
- Get /usr/dirt/bin/init_dirt_4.11 from tyagi and run it to mount NFS directories like /usr/dirt.
- Run the following scripts from /usr/dirt/bin:
- add_pkgs_dirt_4.11 /usr/dirt/dist/pkgs_4.11.no_X
- VERY IMPORTANT: if you are planning to use this machine as production machine with an ipfw tcp established tunnel, you need a DIRT kernel and its corresponding ipfw executable.
- UPDATE this part (if you have to install X or anything else not mentioned here)
- ping tyagi and other hosts
- finger important people like the profs and senior grad students
- df -h
- try a non-root login to see if it works
Ashish Awasthi & Lu Ping
Last modified: Wed Sep 21 12:31:00 EST 2005