Setup 11.0 on Mac mini 2011

Operating System

  1. Install FreeBSD 11.0
  2. root password
  3. User(alex)
  4. /etc/fstab
    • Comment unneccesary swap
    • Add noatime option
  5. mkdir /home
  6. /etc/amd.map
  7. rc.conf
  8. /etc/resolv.conf
  9. /etc/ssh/sshd_config: +ChallengeResponseAuthentication no
  10. /etc/hosts.allow
  11. /etc/ipf.rules
  12. /etc/make.conf
  13. /etc/aliases
  14. Install /usr/ports/devel/subversion
  15. Install /usr/ports/net-mgmt/net-snmp
  16. rm -rf /usr/src ; mkdir /usr/src
  17. cd /usr/src
  18. svn co svn://svn.db.tokushima-u.ac.jp/base/releng/11.0/ .
  19. Configure /usr/src/sys/arch/conf/$KERNCONF
  20. rm -rf /usr/obj
  21. make buildworld
  22. make buildkernel
  23. make installkernel
  24. reboot
  25. mergemaster -p
  26. make installworld
  27. mergemaster -iFU
  28. yes | make delete-old
  29. reboot
  30. /etc/daily.local
  31. /etc/periodic.conf
  32. touch /etc/exports
  33. /etc/ttys

Mail System

  1. cd /etc/mail
  2. make install
  3. newaliases

Ports Collection / User Application

  1. rm -rf /usr/ports ; mkdir /usr/ports
  2. cd /usr/ports
  3. svn co svn://svn.db.tokushima-u.ac.jp/ports/head/ .
  4. Reinstall /usr/ports/ports-mgmt/pkg
  5. Install Ports
    • /usr/ports/ports-mgmt/portupgrade
  6. portupgrade -afc
  7. Install Ports
    • x11/xauth
    • x11-toolkits/libXaw
    • japanese/nkf
    • japanese/less
    • converters/base64
    • devel/imake
    • net/rsync
    • java/openjdk7

Operating System

  1. cd /usr/src
  2. yes | make delete-old-libs

EDB/Java RMI

  1. Add user edb: group edb
  2. cd /usr/local/etc/rc.d/
  3. cp /home/private/edbjavarmi/rc.d/edbjavarmi .