[ZendTo] Installing on Debian 8
Jules
Jules at Zend.To
Sat May 27 12:33:03 BST 2017
Kevin,
What version of Ubuntu does Debian 8 correspond most closely to?
Does 8 use systemd, for example?
I've never tested the installer on Debian myself, but if you look at
lib/functions.sh within the installer dir structure, add a line at line
223 that just says
OS=ubuntu
That line and the surrounding code should then look like this:
if [ -f $OSRELEASE -a -x /usr/bin/lsb_release ]; then
# Should give me the string "ubuntu"
OS="$( lsb_release --id | sed -e 's/^.*:\s*//' | tr '[:upper:]'
'[:lower:]' )"
OSVER="$( lsb_release --release | sed -e
's/^.*:\s*\([0-9]*\)\..*$/\1/' )"
fi
fi
OS=ubuntu
if [ "$OS" = "unknown" ]; then
OS="$(prompt "Am I running redhat, centos or ubuntu" "centos" "$OS")"
OS="$(echo "$OS" | tr '[:upper:]' '[:lower:]')" # Lower-case it
fi
Then re-run the installer. When it asks you to confirm the version of
Ubuntu, respond with 16 if Debian 8 uses systemd and PHP 7, and 14
otherwise (assuming Debian 8 is recent).
Then the installer will think you've actually got a Ubuntu 16 or 14 box,
and should install the right stuff for you.
Please do let me know how you get on.
If I get some time this weekend, I'll have a go at this myself.
Cheers,
Jules.
P.S. Your name rings a bell in my memory somewhere... :)
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
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive persons
with low self-esteem, no sense of humour or irrational religious
beliefs. If you are not the intended recipient, any dissemination,
distribution or copying of this email is not authorised (either
explicitly or implicitly) and constitutes an irritating social faux
pas.
Unless the word absquatulation has been used in its correct context
somewhere other than in this warning, it does not have any legal
or no grammatical use and may be ignored. No animals were harmed
in the transmission of this email, although the kelpie next door
is living on borrowed time, let me tell you. Those of you with an
overwhelming fear of the unknown will be gratified to learn that
there is no hidden message revealed by reading this warning backwards,
so just ignore that Alert Notice from Microsoft.
However, by pouring a complete circle of salt around yourself and
your computer you can ensure that no harm befalls you and your pets.
If you have received this email in error, please add some nutmeg
and egg whites, whisk and place in a warm oven for 40 minutes.
www.Zend.To
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
More information about the ZendTo
mailing list