[ZendTo] ANNOUNCE: ZendTo beta released

Jules Jules at Zend.To
Tue Dec 20 09:48:57 GMT 2016


Ian,

On 20/12/2016 08:03, Elston, Ian wrote:
> Success!
> Well it got to the end of the installer... I'll continue testing later..
Yay!!
> Is there any quick way to migrate configs/templates from my current existing 4.11?
The templates have changed only very slightly.
The easiest way right now is to probably fetch a copy of the tarball for 
4.11 from
     http://zend.to/files/ZendTo-4.11-14.tgz
and diff the 4.11 configs+templates against the 4.19 configs+templates.

The configs I can hopefully script, like I did for MailScanner. It's not 
a simple trick, but can be done.
The templates are enormously harder to do automatically, as the changes 
are just arbitrary bits of text. No diff tool will be able to separate 
your customisations from the original text, in order to apply updates 
and then re-customise your text.

> This is much easier than before, thanks.
Yippee!!! That's exactly what I hoped someone would say. :-)

If you want to read some scary stuff, check out the 
CentOS-RedHat/2-rebuild-php.sh script. Just under 500 lines, which 
includes all sorts of nasty things involving git and multiple CentOS git 
repos, which is how you're now supposed to get source in RHEL7. And they 
do nice stuff like arbitrarily move some PHP modules out of the main PHP 
rpms and into "php-extras", for no apparently discernible reason. Just 
to make recompiling it even more interesting!

>   How will updates be handled? Similar scripts?
Updates should continue to be done by just using rpm/yum/apt-get 
commands as before.

I haven't put this beta into either the yum or apt repositories on 
http://zend.to, as I want to be sure before anyone automatically does a 
"yum upgrade". But my aim is to continue using the repos for updates, as 
the scripts within them should be perfectly capable of handling changes 
already.

The deb file's post-install script now does a fraction of what the old 
one did, as it assumes you have done the initial setup with the 
installer and therefore it doesn't have much to do. It also does more 
checking for existence of configs before trying to overwrite them, so 
will cause far fewer changes to a previously working system.

Cheers,
Jules.

>
>
>
> ------------------------------------------------------------------------------
> Ian Elston
> Networks & Developments
> The University of Bolton
> 01204 903971
> http://www.bolton.ac.uk
>
> ** SUPPORT QUERIES **
>
> Please contact x3444 or itsupport at bolton.ac.uk to report new faults or request updates on existing calls.
>
>
> -----Original Message-----
> From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules
> Sent: 19 December 2016 16:30
> To: ZendTo Users <zendto at zend.to>
> Subject: Re: [ZendTo] ANNOUNCE: ZendTo beta released
>
> Ian,
>
> Don't tell me, it was a Ubuntu 16 box, right?
>
> I've just put a new copy of the installer on the website.
> Please can you:
>       rm -rf ~root/installZendTo*
> Download the new installer.
>
> Unpack it and run it as before.
> But when it asks you about each stage, just say "n" to the first 6 stages, until you say "y" to the bit about installing ZendTo itself. Do that, and the 8th stage (SELinux) which you haven't done yet. As you're not going to be using SELinux (even the Ubuntu wiki admits it's not maintained for Ubuntu at all), that stage won't actually do anything.
>
> If you want to just run stage 7 on its own, without having to answer "n"
> to anything else, you can just run the "7-zendto.sh" script in the Ubuntu sub-directory directly. Provided you run it from *somewhere* within the installer's tree, it should find everything it needs.
>
> Hopefully that will fix it!
>
> Cheers,
> Jules.
>
>
> On 19/12/2016 14:44, Elston, Ian wrote:
>> I have installed and updated a Ubuntu server
>>
>> Ran the install.sh
>>
>> All goes well until the "easy bit"
>>
>> Last few lines of the script output....
>>
>> About to install ZendTo version 4.19-1 Drumroll please...
>> /tmp/install.ZendTo/Ubuntu/7-zendto.sh: line 43: cd: /home/nads/zendto-build-store: No such file or directory
>>     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>>                                    Dload  Upload   Total   Spent    Left  Speed
>> 100 1088k  100 1088k    0     0  2142k      0 --:--:-- --:--:-- --:--:-- 2141k
>> dpkg: error processing archive /home/nads/zendto-build-store/zendto_4.19-1.deb (--install):
>>    cannot access archive: No such file or directory Errors were
>> encountered while processing:
>>    /home/nads/zendto-build-store/zendto_4.19-1.deb
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> 0 to upgrade, 0 to newly install, 0 to remove and 5 not to upgrade.
>> dpkg: error processing archive /home/nads/zendto-build-store/zendto_4.19-1.deb (--install):
>>    cannot access archive: No such file or directory Errors were
>> encountered while processing:
>>    /home/nads/zendto-build-store/zendto_4.19-1.deb
>> Failed to install ZendTo deb package.
>> Exiting...
>> sudo -i /opt/zendto/bin/adduser.php
>> That will show you the syntax. Use it to add a single test user.
>> Then login to the website and drop off some files.
>>
>> Now go and configure ZendTo itself in
>> /opt/zendto/config/preferences.php and /opt/zendto/config/zendto.conf
>>
>>
>> nads at zendto-test:/tmp/install.ZendTo$
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Ian Elston
>> Networks & Developments
>> The University of Bolton
>> http://www.bolton.ac.uk
>>
>> ** SUPPORT QUERIES **
>>
>> Please contact x3444 or itsupport at bolton.ac.uk to report new faults or request updates on existing calls.
>>
>>
>> -----Original Message-----
>> From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules
>> Sent: 19 December 2016 10:14
>> To: ZendTo Users <zendto at zend.to>
>> Subject: Re: [ZendTo] ANNOUNCE: ZendTo beta released
>>
>> I've just posted an announcement and a new page of information on the web site too.
>>
>> This page contains the low-down:
>>        http://zend.to/beta.php
>>
>> Cheers,
>> Jules.
>>
>>
>> On 18/12/2016 19:24, Jules wrote:
>>> Folks,
>>>
>>> I have been spending the past few weeks/months getting ZendTo sorted out.
>>> I have *hopefully* fixed the security vulnerabilities that anyone has
>>> told me about. So you out there with pen-testing tendencies, please do
>>> have a go at the new version and let me know what you find!
>>>
>>> The most major thing is I have written a new installer for ZendTo,
>>> instead of trying to maintain VM images.
>>> I find most people these days need to put it into an otherwise bare
>>> server image prepared by someone in their IT department. Trying to
>>> start from a VM image, and then trying to shoehorn in all your
>>> corporate setup round it was a pain.
>>> As was installing it by hand with just the rpm/deb file.
>>>
>>> So now there is a shiny new installer. It assumes a bare server system
>>> to start with, logged in as root.
>>> I have tested it on
>>>         CentOS 5
>>>         CentOS 6
>>>         CentOS 7
>>>         RedHat Enterprise Linux 5
>>>         RedHat Enterprise Linux 6
>>>         RedHat Enterprise Linux 7
>>>         Ubuntu Server 14
>>>         Ubuntu Server 16
>>>
>>> It installs all the necessary software, entirely automatically
>>> rebuilds PHP to support big uploads (where necessary), sets up ClamAV,
>>> mail delivery, SELinux, AppArmor, Apache, usage stats, pretty much everything.
>>>
>>> It talks to you throughout the process, and will ask you the odd
>>> question. If you want to pause, just Ctrl-S it. If you want to re-run
>>> bits of it, you can run any of the 8 components individually, no
>>> problem at all. Take a look round the structure, it's very
>>> straightforwards (but non-trivial to write!). When you want to update
>>> PHP, for example, just re-run the component that rebuilds PHP. It will
>>> work out the latest versions for itself.
>>>
>>> SQLite3 is now the default database to use, as it's by far the easiest
>>> and simplest and works on everything except CentOS/RedHat 5.
>>>
>>> To get started: download, unpack and run the installer with
>>>         curl -O http://zend.to/files/install.ZendTo.tgz
>>>         tar xzf install.ZendTo.tgz
>>>         cd install.ZendTo
>>>         ./install.sh
>>>
>>> It will fetch the deb/rpm file as appropriate. But if you just want
>>> the deb/rpm and nothing else, they are in
>>>         http://zend.to/files/zendto-4.19-1.noarch.rpm
>>>         http://zend.to/files/zendto_4.19-1.deb
>>>         http://zend.to/files/ZendTo-4.19-1.tgz
>>> The file at
>>>         http://zend.to/files/ZendTo-Version
>>> will tell you the latest version number (during the beta test).
>>>
>>> P.S. If you've walked through the installer the slow way, and want to
>>> run it quickly with no questions at all, add '--defaults' to the
>>> command line of either ./install.sh or any of its components.
>>>
>>> Please do tell me how you get on! Any questions/queries/problems, get
>>> in touch on this list.
>>>
>>> Cheers, and Happy Christmas!
>>>
>>> Jules
>>>
>> Jules
>>
>> --
>> Julian Field MEng MBCS CITP CEng
>>
>> 'Ever since the dawn of civilization, people have craved for an
>>     understanding of the underlying order of the world: why it is as
>>     it is, and why it exists at all. But even if we do find a complete
>>     theory of everything, it is just a set of rules and equations. What
>>     is it that breathes fire into the equations, and makes a universe
>>     for them to describe?' - Stephen Hawking
>>
>> www.Zend.To
>> Twitter: @JulesFM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
> Jules
>

Jules

-- 
Julian Field MEng MBCS CITP CEng

'Adversity is like a strong wind. I don't mean just that it holds
  us back from places we might otherwise go. It also tears away from
  us all but the things that cannot be torn, so that afterward we see
  ourselves as we really are, and not merely as we might like to be.'
  - Arthur Golden

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



More information about the ZendTo mailing list