export JAIL=ldap-mgr export JAILHOSTNAME=ldap-mgr export JAILDOMAIN=ahlawat.com export JAILIP=14 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 mod_php82 ldap-account-manager self-service-password-php82 phpldapadmin-php82" 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 "cp /mnt/config/index.html /usr/local/www/apache24/data/" iocage exec $JAIL "cp /mnt/config/secret/config.inc.local.php /usr/local/www/self-service-password/conf/" 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"