[ZendTo] ANNOUNCE: 5.17-1 production release

Jules Field Jules at Zend.To
Fri Feb 8 09:52:42 GMT 2019



On 07/02/2019 17:17, patpro wrote:
> Hi Jules,
>
> Sorry for the very late reply.
> Thank you for your work about FreeBSD compatibility. Unfortunately it's very unlikely someone ever use this installer on FreeBSD. It's just not the way we install software on this platform.
> We also don't use /opt, unless it's a fully autonomous piece of proprietary software (Splunk for example). Everything else that is not part of the base system goes into /usr/local/{bin,sbin,share,www,...}
I'm not supposed to put stuff in /opt on Linux either. :-)

Most people run a VM purely for ZendTo and nothing else, as it makes 
system maintenance so much easier when you have multiple single-purpose 
VMs rather than a few horribly complicated multi-purpose VMs.

>
> It's very good, though, to create a quick&dirty test server, but the fact this installer will play around with pkg makes it very difficult to run on a production platform (I won't run it on my personal server for example, it could literally break everything :) ).
Why not use pkg? It seems the ideal way to do it. I don't quite see why 
I shouldn't use the packaging system that is already there, and is used 
by the entire OS itself.
That puts all extra stuff it adds into /usr/local and only uses the 
standard FreeBSD pkg services.

>
> I'm going to setup a blank FreeBSD VM for testing and see what's wrong with locales on my production server.
> Thanks again for the work!
No worries.

Cheers,
Jules.


>
> patpro
>
>
>
>> On 31 janv. 2019, at 17:23, Jules Field <Jules at Zend.To> wrote:
>>
>> patpro,
>>
>> Download and try out the latest Beta Installer from
>>      https://zend.to/files/install-beta.ZendTo.tgz
>> You should find that produces a working FreeBSD system on FreeBSD 11.2 and 12.
>>
>> I've also made a load of improvements to the "upgrade" utility so that it works with tarball-based ZendTo installations.
>> It hopes that you are using a structure like
>>      /opt/ZendTo-<version-number>
>> directory for each version you have, and /opt/zendto is a symlink to the current production one.
>> That's what the Installer will set up for you.
>> If you do that, then
>>      /opt/zendto/bin/upgrade
>> should automatically find your last version and your newest version and do all the relevant magic.
>>
>> I strongly advise
>>      /opt/zendto/bin/upgrade --dry-run
>> the first time though, so it just tells you what it would do!
>>
>> I didn't have locale or language problems at all, it all just worked.
>>
>> Cheers,
>> Jules.
>>
>> On 24/01/2019 19:42, patpro wrote:
>>> Jules,
>>>
>>>> I've setup a FreeBSD 11.2 box and am working on getting the ZendTo Installer to do it all for you.
>>>> It will use the .tgz of ZendTo, hopefully that will be okay.
>>> That's very nice! Thanks.
>>>
>>>
>>>> I'll have to make the "upgrade" script a bit more clever so that it notices when it's on FreeBSD as the old versions of the preferences.php and zendto.conf will be in different places. But it should still be able to do the bulk of the job for you.
>>> If you want to package a software that can be un-archived on top of an older version of itself, you might want to name config files with a suffix, say "preferences.php.sample" or "zendto.conf.dist". Then when you unpack the new version on top of the old one, existing config files are not erased. Users (or upgrade script) can then synch old config with new parameters from .sample/.dist files.
>>>
>>> cheers,
>>> patpro
>> Jules
>>
>> -- 
>> Julian Field MEng CEng CITP MBCS MIEEE MACM
>>
>> 'Find a place inside where there's joy, and the joy will burn out
>> the pain.' - Joseph Campbell
>>
>> www.Zend.To
>> Twitter: @JulesFM
>>

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'There have been nearly 3000 Gods so far but only yours actually exists.
  The others are silly made up nonsense. But not yours. Yours is real.' - Anon

www.Zend.To
Twitter: @JulesFM




More information about the ZendTo mailing list