db[1-4].db.tokushima-u.ac.jp

○ NakedSun:/Volumes/Pleiades/backup/rsync.sh
backupの設定からdb1,db2,db3,db4を外す.(復帰)

db[1-4]の作業.

  1. /etc/hosts.allow
  2. /etc/ipf.rules
  3. /etc/make.conf
  4. /etc/rc.conf
  5. /etc/resolv.conf
  6. # touch /etc/exports
  7. AMD
    1. # mkdir /home
    2. /etc/amd.map
  8. /usr/staffの復元
  9. /etc/ssh/sshd_config (ChallengeRasponseAuthentication: no)
  10. Install /usr/ports/devel/subversion/
  11. /usr/src
    1. /usr/src/* を消去
    2. # svn co svn://svn.db.tokushima-u.ac.jp/base/releng/10.3/ .
    3. # cd sys/amd64/conf && cp GENERIC $KERNCONF
    4. Rebuild FreeBSD
    5. Install kernel
    6. Install world
  12. /usr/ports
    1. /usr/ports/* を消去
    2. # svn co svn://svn.db.tokushima-u.ac.jp/ports/head/ .
    3. Install /usr/ports/ports-mgmt/portupgrade
    4. # portupgrade -afc
    5. /usr/ports/japanese/nkf
    6. /usr/ports/japanese/less
    7. /usr/ports/devel/gmake
    8. /usr/ports/devel/imake
    9. /usr/ports/textproc/libxml2
    10. /usr/ports/graphics/jpeg
    11. /usr/ports/graphics/netpbm
    12. /usr/ports/x11/xauth
    13. /usr/ports/x11-toolkits/libXaw
  13. /var/cron/tabs/root
  14. /var/cron/tabs/edb
  15. Mail
    1. /etc/aliases
    2. newaliases
    3. cd /etc/mail && make install
  16. /usr/local/edb
    1. mkdir /usr/local/edb
    2. chown edb:edb /usr/local/edb
    3. Restore from backup
    4. zfs create zroot/home1
    5. zfs set mountpoint=/home1 zroot/home1
    6. mkdir /home1/backup /home1/backuped
    7. chown edb:edb /home1/backup /home1/backuped
    8. Install /usr/ports/www/apache24
  17. Java
    1. Install /usr/ports/java/openjdk7
    2. /usr/local/etc/rc.d/edbjavarmi
  18. PostgreSQL
    1. Install /usr/ports/databases/postgresql95-server
    2. mkdir /home1/pgsql
    3. chown pgsql:pgsql /home1/pgsql
    4. rmdir /usr/local/pgsql
    5. cd /usr/local && ln -s /home1/pgsql
    6. /usr/local/etc/rc.d/postgresqlx4
    7. /usr/local/etc/rc.d/postgresqlx4 initdb
    8. /etc/sysctl.conf
    9. edb/srcs/backend-pg95 (gmake install)
    10. /usr/local/pgsql/*/postgresql.conf
    11. /usr/local/etc/rc.d/postgresqlx4 start
  19. EDB/Gate
    1. /etc/inetd.conf
    2. /etc/services