Post-Install Cleanup
Applicable to: FreeBSD 4.2
Updated: January 1, 2001
This Sheet describes some housekeeping chores that need to be done after initial installation of FreeBSD.
- Create /var link (Only if you created the partition layout shown in the Installing FreeBSD cheat sheet):
# mkdir /usr/var
# cd /var
# tar cf - . | (cd /usr/var; tar xf - )
# cd /
# rm -rf /var
# ln -s /usr/var /var - Create /tmp link (Only if you created the partition layout shown in the Installing FreeBSD cheat sheet):
# mkdir /usr/tmp
# rm -rf /tmp
# ln -s /usr/tmp /tmp - If you answered 'No' to 'Only Normal Users FTP' ('Yes' to 'Anonymous FTP' in FreeBSD 3.x) during install, modify permissions for /var/ftp/incoming:
# chmod u+t,go+w /var/ftp/incoming
- Edit /etc/host.conf:
hosts
bind - Edit /etc/hosts:
127.0.0.1 localhost.mostgraveconcern.com localhost
::1 localhost.mostgraveconcern.com localhost
10.20.155.1 pandora.mostgraveconcern.com pandora
10.20.155.1 pandora.mostgraveconcern.com.
10.20.155.2 danco.mostgraveconcern.com danco
10.20.155.3 viola.mostgraveconcern.com viola - Edit /etc/resolv.conf:
domain home
nameserver 207.228.35.42
nameserver 207.228.37.195 - Switch to a blinking screen cursor:
- Switch the cursor mode now:
# vidcontrol -c blink
- Edit /etc/rc.conf to make the change permanent:
allscreens_flags="-c blink"
- Switch the cursor mode now:
- Edit /etc/gettytab for custom login screen:
default:\
:cb:ce:ck:lc:fd#1000:im=\e[H\e[J\e[7m ...58 spaces... \e[0m P A N D O R A \e[7m \e[0m\r\n%s %r (%t)\r\n\n\n:sp#1200: (all one line)where '\e' = ^[ (27d).
This results in a logon screen that looks similar to this:

- Edit /etc/motd:
(2 blank lines)
Pandora welcomes you to the wonderful world of UNIX computing.
(blank line)
\e[1mAbandon all Hope, ye who Enter Here...\e[0mwhere `\e' = ^[ (27d).
Once you log in, the screen looks similar to this:

http://www.mostgraveconcern.com/freebsd/
Questions or Comments? Contact Us...




Post new comment