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.

  1. 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

  2. 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

  3. 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

  4. Edit /etc/host.conf:

    hosts
    bind

  5. 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

  6. Edit /etc/resolv.conf:

    domain      home
    nameserver  207.228.35.42
    nameserver  207.228.37.195

  7. Switch to a blinking screen cursor:

    1. Switch the cursor mode now:

      # vidcontrol -c blink

    2. Edit /etc/rc.conf to make the change permanent:

      allscreens_flags="-c blink"

  8. 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:

  9. 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[0m

    where `\e' = ^[ (27d).

    Once you log in, the screen looks similar to this:




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