Sitemap | Search || Zen Spider Website
/ UNIX System Administration
/ Installing FreeBSD
Installing FreeBSD
a normal install
These are my notes on getting an install on a new machine from
scratch, and getting up to date with as little thinking as possible.
Basic Overview
First, some requirements and/or disclaimers:
- This doesn't attempt to troubleshoot hardware issues or anything.
- It assumes some basic knowledge of FreeBSD installation.
- This is more for doing your 15th install rather than your 1st.
Finally, the overview:
- Install FreeBSD
- Hook up to the network
- Add sudo, and a user and switch to it, because we always use sudo!
- Update system
- Update ports tree, get portupgrade, update ports
- Reboot
Details
With FreeBSD 6.x, the game has changed, a lot. With portsnap and
freebsd-upgrade (esp the one that doesn't ship with freebsd), many of
my previous steps are now null and void. Quicker too!
- Install off of whatever CD you can get your hands on.
- Boot the new generic system
- /sbin/dhclient fxp0
- freebsd-update fetch install
- reboot
- portsnap fetch install
- portinstall security/sudo
- visudo
- uncomment the line for wheel.
- adduser USERNAME
- logout
- login USERNAME
- sudo vipw and set root's password to "*" in order to secure the account
- cd /usr/ports/sysutils/portupgrade; sudo make install clean
- sudo pkgdb -F
- sudo portupgrade -arR
- wait forever - yes, even just two ports screws things up
- sudo portinstall -m "PREFIX=/ NOSHARED=yes" shells/bash
- chsh USERNAME
- logout
- login USERNAME
Research
Just many failed attempts to install and/or bootstrap in the wrong
order, resulting in lost time.
Requirements:
- At least the 2 install/boot floppies. ISO/CD is better/faster.
- Time... a fair amount of it for cvsup.
Compatibility
This only works with FreeBSD 6+ to my knowledge.
Crontab
None
Sitemap | Search || Zen Spider Website
/ UNIX System Administration
/ Installing FreeBSD