export JAIL=r-ldap-mgr export JAILHOSTNAME=ldap-mgr export JAILDOMAIN=beyondbell.com export JAILIP=79 export JAILUSER=r export JAILUSERID=2002 export JAILUSERVNC=false /root/FreeBSD/jails/create.sh $JAIL $JAILHOSTNAME $JAILDOMAIN $JAILIP $JAILUSER $JAILUSERID $JAILUSERVNC iocage exec $JAIL "pkg install -y apache24 mod_php80 ldap-account-manager self-service-password-php80 phpldapadmin-php80" 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 "service apache24 restart" iocage exec $JAIL "cp /mnt/config/config.php.phpldapadmin.github /mnt/phpLDAPadmin/config/config.php" iocage exec $JAIL "ln -s /usr/loca/www/phpldapadmin /usr/local/www/apache24/data/pla" iocage exec $JAIL "ln -s /usr/local/www/lam /usr/local/www/apache24/data/lam"