このサーバについて
FreeBSD + bhyve + Debian + apache + Plone
このサーバは…
- FreeBSD/amd64 releng/14.3
- apache24
bhyve + Debian
FreeBSDのbhyve(8)を利用した仮想環境でDebian 13.3を実行し、そのDebianでPlone 6.1.4を動かしている。bhyve にはvm(8)を用いている。
vm create -t debian -s 40g debian
cat debian/debian.conf<<EOF
loader="grub"
cpu=1
memory=1024M
network0_type="virtio-net"
network0_switch="public"
disk0_type="ahci-hd"
disk0_name="disk0.img"
grub_run_partition="1"
grub_run_dir="/boot/grub"
EOF
ApacheのReWrite設定
FreeBSDのhttpd.confで次の設定を行い、DocumentRootがDebianのPloneトップページを表示するようにしている。
RewriteRule ^/(.*) http://192.168.xx.yy:8080/VirtualHostBase/https/d4407.kankyo-u.ac.jp:443/Plone/VirtualHostRoot/$1 [L,P]
