ip-Pleione Setup

Operating System

  1. Install FreeBSD 13.1
  2. root password
  3. User(alex)
  4. /etc/fstab
    • Comment unneccesary swap
    • Add noatime option
  5. rc.conf
  6. /etc/resolv.conf
  7. usr.staff.alex.tar
  8. /etc/ssh/sshd_config: +kbdInteractiveAuthentication no
  9. /etc/hosts.allow
  10. /etc/ipf.rules
  11. /etc/make.conf
  12. /etc/aliases
  13. /etc/daily.local
  14. /etc/periodic.conf
  15. /etc/ttys

Ports Collection

  1. cd /usr/ports
  2. pkg bootstrap -f
  3. Install Ports
    • devel/git
    • net/rsync
    • ports-mgmt/portupgrade

OS Update

  1. rm -rf /usr/src ; mkdir /usr/src
  2. cd /usr/src
  3. git clone -o freebsd -b releng/13.1 https://git.FreeBSD.org/src.git /usr/src
  4. Configure /usr/src/sys/arch/conf/$KERNCONF
  5. rm -rf /usr/obj
  6. make buildworld
  7. make buildkernel
  8. make installkernel
  9. reboot
  10. mergemaster -p
  11. make installworld
  12. mergemaster -iFU
  13. yes | make delete-old
  14. reboot

Mail System

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

Ports Collection / User Application

  1. rm -rf /usr/ports/*
  2. cd /usr/ports
  3. git clone -o freebsd https://git.FreeBSD.org/ports.git /usr/ports
  4. portupgrade -afc
  5. Install Ports
    • japanese/nkf
    • converters/base64

Operating System

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

Backup Storage

  1. zfs create zroot/home1
  2. zfs set mountpoint=/home1 zroot/home1
  3. zfs create -o compression=zstd-19 -o setuid=off -o exec=off -o dedup=sha256,verify -o snapdir=visible zroot/home1/t73