 |
Installing FreeBSD 4.x
This guide explains how to install FreeBSD.
For this guide, I will assume that you have the FreeBSD CDROM and a system that supports bootable CDs. If not, you can still install FreeBSD by following the instructions here
- Put in the FreeBSD CDROM and (re)boot the system
- Select the option
Start kernel configuration in full-screen visual mode
- In the Active-Drivers/Interactive Drivers Screen resolve any conflicts. In my case, I had 7 conflicts in the Network section. Delete the unnecessary drivers. My NIC was the
NE1000, NE2000, 2C503, WD/SMC8xx Ethernet Adapter.
- Press
Q to save and exit this menu
- Press
Y when asked Save these parameters before exiting
- FreeBSD will start loading
- On the
/stand/sysinstall Menu choose the Standard Installation
- Press
OK at the next screen
FDISK Partition Editor: If you have more than one hard disk, select the hard disk(s) you want to use
- If there was data on the hard disks, press
D (Delete Slice) to remove the old partitions.
- Press
A to use the entire disk for the installation
- Press
Q to continue
Install Boot Manager for drive x? - Select the option you want. Choose the Boot Mgr to install the FreeBSD boot manager. Use the arrow keys and the space bar to select the option you want. Then press enter over the OK button.
- If you have more than one drive, press enter over the
OK button in the Select Drives screen
Message - A message box which tells you about creating partitions. Press OK
- The
FreeBSD Disklabel Editor screen lets you configure your partitions. To do automatically partition the disk, press A. Otherwise you can press C to create a custom slice. If you choose a custom slice, you will be asked the partition size (MB or blocksize), partition type (filesystem or swap), and the mount point (/ /usr, /web, etc.). I would suggest creating a larger /var partition. The default is 20MB and will get filled up quickly when installing programs. I set /var to 500MB and /usr got the rest.
- Press
Q to finish
- On the
Choose Distributions screen, choose 4 - Developer. Use the arrow keys and the space bar to select that option
- A confirmation box will pop up asking if you want to install the ports collection, press enter over the
Yes button
- This will bring you back to the
Choose Distributions screen, press enter over the OK button (and Kern-Developer, and User will also be selected)
- On the
Installation Media screen, highlight the media you will use and press enter over the OK button (for instance, CDROM)
- A confirmation box will appear, press enter over the
Yes button. If you need to change anything, press enter over the NO button
- FreeBSD will now start installing. The installation could take a while if your system is slow.
- A message box will appear indicating that FreeBSD is installed, press
OK
Would you like to configure any Ethernet or SLIP/PPP network devices? - press enter over the Yes button
- Use the up and down arrorws to highlight your NIC card, for instance
dc0 - DEC/Intel 21143 (and clones) PCI Fast Ethernet Card, then press enter over the OK button
Do you want to try IPv6 configuration of the interface? - press enter over the No button
Do you want to try DHCP configuration of the interface? - The answer depends on your setup, I use a set of private IP addresses, so I pressed enter over the No button
Network Configuration - enter the correct network information
Would you like to bring the dc0 interface up right now? - press enter over the Yes button
Do you want this machine to function as a network gateway? - press enter over the No button
Do you want to have anonymous FTP access to this machine? - press enter over the No button
Do you want to configure this machine as an NFS server? - press enter over the No button
Do you want to configure this machine as an NFS client? - press enter over the No button
Do you want to select a default security profile for this host (select No for "medium" security)? - press enter over the No button
- Security Setting Confirmation - press enter over the
OK button
Would you like to customize your system console settings? - press enter over the No button
Would you like to set this machine's time zone now? - press enter over the Yes button
Is this machine's CMOS clock set to UTC? If it is set to local time, or you don't know, please choose NO here! - press enter over the No button
- Select the correct timezone
Would you like to enable Linux binary compatibility? - press enter over the Yes button - FreeBSD will install the linux binary compatibility code
Does this system have a USB mouse attached to it? - The answer depends on your system - press enter over the No (in my case)
Please configure your mouse - if you plan on accessing this machine remotely, you can diable the mouse daemon, otherwise you can configure it here - use the arrow keys to highlight 6 Disable Mouse Daemon (in my case) and press enter over the OK button
- After you have configured or disabled your mouse, use the arrow keys to highlight
X Exit Exit this menu (returning to previous) and press enter over the OK button
- Ports Collection:
Would you like to browse the collection now? - press enter over the Yes button
- Find
cvsup in the net section. Press the space bar to select the program. Then exit and install the program.
Would you like to add any initial user accounts to the system? - press enter over the Yes button
- User and Group Management - Add users:
nsadmin, postgres, you. Make sure you put yourself in the wheel group when making your account.
- When you are finished adding users, use the arrow keys to highlight
X Exit Exit this menu (returning to previous) - press enter over the OK button
Now you must set the system manager's password. This is the password you'll use to log in as "root". - press enter
- Exit the user configuration and set the root password
Visit the general configuration menu for a chance to set any last options? - If you need to change anything, press enter over the Yes button, otherwise press enter over the No button
/stand/sysinstall Main Menu - use the right arrow key to highlight X Exit Install and press enter.
Are you sure you wish to exit? The system will reboot (be sure to remove any floppies/CDROMs from the drives). - press enter over the Yes button
- Remove the CD from the CDROM drive as the computer reboots
Now we need to upgrade the ports tree using CVSUP
- Login as root
cd /usr/share/examples/cvsup/
- edit the ports-supfile and change the cvsup mirror to your nearest mirror. This is the line you need to change: *default host=cvsup2.FreeBSD.org
- The mirrors are located here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-MIRRORS
cvsup -g -L 2 ports-supfile
- This process takes a while. When it is finished, you will have the latest ports collection.
Continue with the next installation: Installing AOLServer
|
 |
|