skoegul, gunnr . db.tokushima-u.ac.jp
作業時の設定
○ IP等
- skoegul: 150.59.230.72, p-skoegul: 192.168.230.72
- gunnr: 150.59.230.73, p-gunnr: 192.168.230.73
- GW: 150.59.230.1, 192.168.230.104
- NM: 255.255.255.0
- DNS: 150.59.230.67
- DNS: 150.59.230.66
skoegul, gunnr . db.tokushima-u.ac.jp
- FreeBSD 14.0 をインストール.
- /etc/fstab: SWAPをコメントアウト
- /etc/rc.conf
- autofs
- # mkdir /home
- /etc/rc.conf: autofs_enable="YES"
- /etc/auto_master
- /etc/fstab: Add nfs mount configuration with noauto. (+ noatime for local storage)
- /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/14.0 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
- /etc/aliases
- /etc/mail/mailer.conf (use /usr/libexec/sendmail/sendmail)
- /etc/mail# make install
- /etc/mail# newaliases
- usr.staff.tar
- /etc/ssh/sshd_config
- (host_key)
- /etc/resolv.conf
- /etc/rc.conf
- /etc/ipf.rules
- /etc/hosts.allow
- touch /etc/exports
- /etc/passwd (+edb)
- /etc/group (www,+edb)
- usr.local.edb.tar
- /etc/ttys
- /etc/periodic.conf
- /etc/daily.local
- /etc/sysctl.conf
- root.tar
- var.cron.tabs.tar
- ports collecton
- math/gnuplot
- java/openjdk8
- x11/xauth
- devel/tradcpp
- devel/imake
- japanese/nkf
- converters/base64
- archivers/unzip
- graphics/netpbm
- x11-toolkits/libXaw
- www/apache24
- databases/postgresql16-server
- x11-fonts/urw-base35-fonts
- textproc/utf8proc
- misc files
- /usr/local/share/fonts/OTF# cp /home/private/alex/lib/fonts/* .
- /usr/local/share/fonts/OTF# mkfontdir
- /usr/local/share/texmf-dist/fonts/opentype/macosx# cp /home/private/alex/lib/fonts/* .
- /usr/local/share/texmf-dist/fonts/opentype/macosx# mktexlsr
- /etc/inetd.conf
- /etc/services
- File System: da1 (UEFI)
- # gpart create -s GPT da1
- # gpart add -t efi -b 40 -s 409560 da1
- # newfs_msdos -F 32 -c 1 -L EFISYS /dev/da1p1
- # mount_msdosfs /dev/da1p1 /mnt
- /mnt# tar xvf - -C /boot/efi . | tar xf -
- # umount /mnt
- # gpart add -t freebsd-ufs -s 1450GB da1
- # gpart add -t freebsd-swap da1
- # newfs -U -j -E -t /dev/da1p2
- /etc/fstab
- # mount /home1
- PostgreSQL:
- # mkdir /home1/postgres
- # chown postgres:postgres /home1/postgres
- /usr/local # ln -s /home1/postgres
- /home1/postgre # mkdir d l u p
- /home1/postgre # chown postgres:postgres d l u p
- # /usr/local/etc/rc.d/postgresqlx4 initdb
- /home1/postgres/*/postgresql.conf
- postgres@: psql -p 5432 -f d.out postgres
- postgres@: psql -p 5433 -f l.out postgres
- postgres@: psql -p 5434 -f u.out postgres
- postgres@: psql -p 5435 -f p.out postgres
- /home1 # mkdir backup backuped
- /home1 # chown edb:edb backup backuped
- usr.local.etc.tar
- usr.local.www.tar
(後始末)
- Crontabs