valkyrie, walkyrie, verdandi, urd . db.tokushima-u.ac.jp
作業時の設定
○ IP等
- p-valkyrie: 192.168.230.201
- p-walkyrie: 192.168.230.202
- p-verdandi: 192.168.230.203
- p-urd: 192.168.230.204
- GW: 192.168.230.104
- NM: 255.255.255.0
- DNS: 192.168.230.67
- DNS: 192.168.230.66
valkyrie, walkyrie, verdandi, urd . db.tokushima-u.ac.jp
- FreeBSD 13.1 をインストール.
- /etc/fstab: SWAPをコメントアウト
- 10GBase Ethernet
- /boot/loader.conf; + if_bnxt_load="YES"
- use autofs instead of amd (amd is vanished)
- # mkdir /home
- /etc/rc.conf: autofs_enable="YES"
- /etc/auto_master
- /etc/fstab: Add nfs mount configuration with noauto.
- /etc/make.conf
- ports collecton
- update to newest /usr/src, /usr/ports
- /usr/src# rm -rf .[a-z]* *
- /usr/src# git clone -o freebsd -b releng/13.1 https://git.FreeBSD.org/src.git /usr/src
- /usr/ports# rm -rf .[a-z]* *
- /usr/ports# git clone -o freebsd https://git.FreeBSD.org/ports.git /usr/ports
- # /home/private/root/sbin/ports.sh retrieve
- ports collecton
- ports-mgmt/portupgrade
- # portupgrade -afc
- ports collecton
- math/gnuplot
- java/openjdk8
- x11/xauth
- devel/tradcpp
- devel/imake
- japanese/nkf
- converters/base64
- archivers/unzip
- graphics/netpbm
- x11-toolkits/libXaw
- ports collecton (valkyrie, walkyrie)
- dns/bind918
- net/openldap26-server, net/openldap26-clientw
- ports collecton (verdandi, urd)
- databases/postgresql15
- www/apache24 (+AUTHNZ_LDAP, LDAP), devel/apr1 (+LDAP), mod_dir.c
- /etc/resolv.conf
- /etc/rc.conf
- /etc/ipf.rules
- /etc/hosts.allow
- touch /etc/exports
- /etc/passwd
- /etc/group
- usr.staff.tar
- usr.local.edb.tar
- /etc/make.conf
- /etc/fstab (comment swap)
- /etc/ttys
- /etc/periodic.conf
- /etc/daily.local
- /etc/sysctl.conf
- File Systems (valkyrie, walkyrie):
- # zfs create zroot/home1
- # zfs set mountpoint=/home1 zroot/home1
- File Systems (verdandi, urd):
- # zfs create zroot/home1
- # zfs set mountpoint=/home1 zroot/home1
- # zfs create -o setuid=off -o exec=off zroot/home1/EDB
- # zfs create -o setuid=off zroot/home1/WWW
- # zfs create -o setuid=off zroot/home1/WWW/ca
- # zfs create -o setuid=off -o compression=zstd-15 zroot/home1/WWW/cms
- # zfs create -o setuid=off zroot/home1/WWW/cms-ldap
- # zfs create -o setuid=off -o compression=zstd zroot/home1/WWW/pub2
- # zfs create -o setuid=off zroot/home1/WWW/studio
- # zfs create -o setuid=off zroot/home1/WWW/utlf
- # zfs create -o setuid=off zroot/home1/backup
- # zfs create -o setuid=off zroot/home1/backup/private
- # zfs create -o setuid=off -o recordsize=8k -o compression=off zroot/home1/postgresql
- # chown edb:edb /home1/EDB
- /# ln -s /home1/WWW WWW
- /usr/local/etc# ln -s /WWW/apache24
- verdandi:/home# ln -s /home1/WWW/cms/data cms
- verdandi# zfs set sharenfs="-alldirs -maproot/root -network 192.168.230.0/24" zroot/home1/WWW/cms
- urd:/etc/fstab: p-verdandi:/home1/WWW/cms/data /home/cms nfs intr,rw,proto=tcp,noauto 0 0
- # mkdir /home1/postgresql/data
- # chown postgres:postgres /home1/postgresql/data
- # /usr/local/etc/rc.d/postgresql initdb
- /home1/postgresql/data/postgresql.conf
- postgres@: psql -f db.out postgres
- /usr/local/share/fonts/OTF# cp /home/alex/lib/fonts/* .
- /usr/local/share/fonts/OTF# mkfontdir
- /usr/local/share/texmf-dist/fonts/opentype/macosx# cp /home/alex/lib/fonts/* .
- /usr/local/share/texmf-dist/fonts/opentype/macosx# mktexlsr
- /etc/ssh/sshd_config
- (host_key)
- /etc/mail# make install
- /boot/loader.conf:vfs.zfs.arc_max
- /etc/sysctl.conf: vfs.zfs.arc_*
- root.tar
- usr.local.etc.tar
- usr.local.www.tar
- var.cron.tabs.tar
(後始末)
- Crontabs