RE: Debian Sentora
02-18-2015, 08:48 AM
(This post was last modified: 02-18-2015, 10:20 AM by Chris215.)
I was able to get it working on Debian 7.4 by mostly going through the install script and using the Ubuntu branches. I installed all the components except ProFTP since I didn't need it. It mostly went pretty smooth, but there were a few changes I had to make to get it working:
1. In sentora_postfix.sql: the quota table needs the username field reduced to 200 instead of 255 so that mysql wouldn't error out about exceeding 1000 bytes for the key. Also in the vacation table, the email field needed to be set to latin1 otherwise the foreign key relationship would error out.
2. Had to escape the '!' character the script used to help do the find/replaces.
3. I had some issues with setting up Apache, but that was because I already had Apache configured and I wanted it Sentora to use SSL.
4. In OnDaemonRun.hook.php I had to fix the "Require all granted" line for versions less than 2.4. The if statement was the same, but it should have been commented out for <2.4
1. In sentora_postfix.sql: the quota table needs the username field reduced to 200 instead of 255 so that mysql wouldn't error out about exceeding 1000 bytes for the key. Also in the vacation table, the email field needed to be set to latin1 otherwise the foreign key relationship would error out.
2. Had to escape the '!' character the script used to help do the find/replaces.
3. I had some issues with setting up Apache, but that was because I already had Apache configured and I wanted it Sentora to use SSL.
4. In OnDaemonRun.hook.php I had to fix the "Require all granted" line for versions less than 2.4. The if statement was the same, but it should have been commented out for <2.4