[ZendTo] Installing on Debian 8

Kevin Miller kevin.miller at juneau.org
Sat Jun 3 01:27:10 BST 2017


I got zendto up and running on Debian.  There were a few quirks that cropped up.

1: When I ran the upgrade utility for preferences.php, it added an extra comma at the end of the line:
  'authLDAPBaseDN1'           => array('OU=typical,OU=accounts,DC=cbj,DC=local',,

2: The IMAP stanza was repeated twice.  One instance had the following commented, the other didn't:
  // 'authenticator' => 'IMAP',
  // 'authIMAPServer' => 'mail.soton.ac.uk',
  // 'authIMAPDomain' => 'soton.ac.uk',
  // 'authIMAPOrganization' => 'University of Southampton',
  // 'authIMAPAdmins' => array(),

3:  I have three AD domains that use zendto.  The third was commented out, and moved to the obsolete setting area.

  Note:    Commented out obsolete setting 'authLDAPBaseDN3'
  Note:    Commented out obsolete setting 'authLDAPServers3'
  Note:    Commented out obsolete setting 'authLDAPAccountSuffix3'
  Note:    Commented out obsolete setting 'authLDAPUseSSL3'
  Note:    Commented out obsolete setting 'authLDAPBindUser3'
  Note:    Commented out obsolete setting 'authLDAPBindPass3'
  Note:    Commented out obsolete setting 'authLDAPOrganization3'

4: Username was defined twice in zendto.conf after running the upgrade utility.  To wit:
  # These are settings used in the web interface and HTML emails                                                                                                                                
  ContactInfo = "Copyright &copy 2017"                                                                                                                                                          
  Username = "Southampton username"

  ...snip

  # Words needed in the code so you can translate them
  days     = "days"
  Username = "Username"

5:  Had to edit the appropriate places in NSSADAuthinticator.php to test for the 3rd AD domain, but I expected that.

I think that about covers it.  Thanks for your help and hard work Julian.  Have a great weekend...

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357


-----Original Message-----
From: Jules [mailto:Jules at Zend.To] 
Sent: Saturday, May 27, 2017 9:32 AM
To: ZendTo Users; Kevin Miller
Subject: Re: [ZendTo] Installing on Debian 8

Kevin,

If you go to the ZendTo beta page at

     http://zend.to/beta.php

you will find there is a beta version of the installer there for you to try, which should now work on Debian 8 as well as all the other previously supported systems.

I wrote it assuming you were starting from as minimal a Debian install as I could get. I think the only option I couldn't *de*select was the bottom one (admin utilities I think). It still sets up apparmor, even though apparmor isn't actually installed (it just puts in 1 tweak for clamd to be able to scan ZendTo uploaded files). It doesn't set up SELinux, as that isn't installed by default with Debian 8 either. But if you installed SELinux first, the ZendTo installer should then configure it for you.

The only difference with Debian 8 is that you will have to use wget to download the beta installer rather than curl, as bare Debian 8 includes wget instead of curl. :-)

Please let me know how you get on!

Cheers,
Jules.


On 26/05/2017 20:32, Kevin Miller wrote:
> I have zendto running on a centOS 6 box but we've pretty much standardized on debian in-house.  I built a bare bones debian Jessie box.  Apache is already installed in its default state.  I downloaded the installer and ran install.sh.  Below is the output:
>
> ================================================================
> root at fileshare2:~/zendto-download/install.ZendTo# ./install.sh
>   
> Good, I am root. Bow down before me...
>   
> Output from the ZendTo installer itself will look like this.
>   
> When you are prompted for a value, always just press Return to accept 
> the default value suggested, unless either
> a) you are absolutely sure of what you are doing or
> b) it is blank or clearly rubbish, which usually means
>     something has gone wrong. If that happens, look back
>     through the output and see if you want work it out.
>     No installer is 100% perfect in all situations.
>   
> Debian major release number [Default is 8]:
> Architecture [Default is x86_64]:
> I am running Debian release 8 on x86_64
>   
> Sorry, I only know about RedHat Enterprise, CentOS and Ubuntu.
>   
> Exiting...
> ================================================================
>
> Hmmm.  If I download the .deb package will it go through the entire install routine like the install script does or will it just install zendto and leave the "heavy lifting" to me?
>
> My game plan was to let it to all the back end stuff, then copy over the preferences.php and zendto.conf from my old centOS server and run the update scripts. After that, apt would take care of updates in the future.
>
> Not sure which direction to go now...
>
> ...Kevin
> --
> Kevin Miller
> Network/email Administrator, CBJ MIS Dept.
> 155 South Seward Street
> Juneau, Alaska 99801
> Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 
> 307357
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

--
Julian Field MEng CEng CITP MBCS MIEEE MACM

'There is one thing stronger than all the armies in the world;
  and that is an idea whose time has come.'

www.Zend.To
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654




More information about the ZendTo mailing list