export JAIL=web-scvcc-rental export JAILHOSTNAME=web export JAILDOMAIN=scvcc-rental.com export JAILIP=32 export JAILUSER=X export JAILUSERID=1000 export JAILUSERVNC=false /root/FreeBSD/jails/create.sh $JAIL $JAILHOSTNAME $JAILDOMAIN $JAILIP $JAILUSER $JAILUSERID $JAILUSERVNC iocage exec $JAIL "pkg install -y apache24 php81 mod_php81 php81-mysqli php81-session" iocage exec $JAIL "sysrc apache24_enable=YES" iocage exec $JAIL "cp /mnt/config/httpd.conf /usr/local/etc/apache24/" iocage exec $JAIL "cp /mnt/config/020_mod_ssl.conf /usr/local/etc/apache24/modules.d/" iocage exec $JAIL "cp /mnt/config/php.ini /usr/local/etc/php.ini" iocage exec $JAIL "sysrc php_fpm_enable=YES" iocage exec $JAIL "cp -f /mnt/config/www.conf /usr/local/etc/php-fpm.d/" iocage exec $JAIL "service php-fpm start" iocage exec $JAIL "service apache24 restart" # update dns (bind) and proxy (haproxy) configurations if required