The installer is designed to be run on servers that have a basic operating system installed, but no more than that. If you are setting up a new ZendTo server, this is what you want. Many sites now have a standard "blank template", on top of which all their services are built. This template usually contains settings for features such as authentication, security, logging and backups. The installer should work well on these types of systems.
The installer will automate (almost!) the entire process is installing ZendTo on to a blank server installation.
Note: If you are already running ZendTo on the server, upgrade the package itself first either directly or using the yum/apt repositories, and then only use whichever bits of the installer you need to (such as only the first 2 stages to install tools and rebuild+install the latest version of PHP).
It talks to you along the way, asks if you want to do each of the 7 steps, and asks you to confirm the odd question or two. It pauses quite a bit so you can see what it's doing, giving you the chance to stop it temporarily (Ctrl-S) to read what it's done before you continue (Ctrl-Q), or stop it completely (Ctrl-C). If you stop it completely, you can just run it again to continue where you left off.
It is modular, so you can run each of the 7 parts alone; you may want to do this when, for example, there is an update to PHP5 and you want to just rebuild PHP with "big uploads" support.
The parts are:
The installer has been developed and tested on all of the following:
It is fully compatible with SELinux, AppArmor and the systems' firewalls, and will configure each appropriately.
There are 2 little things the installer does not currently do:
To use the installer,
Download and unpack the installer. "cd" into the appropriate directory for your distribution (it's obvious, you'll see). In there, run the stage 2 script (its name starts with "2") followed by the stage 5 script. That will ensure your PHP is reinstalled and suitably customised for ZendTo.
Note: If you are upgrading from anything before version 5.00, read the upgrade notes before you start.
Note: If you are upgrading from version 4.19 or earlier and are running on RedHat/CentOS, you will need to install the extra PHP module "mbstring" which you will have built when you rebuilt PHP to enable large uploads.
Note: (updated 6th June 2015) If you are upgrading from version 4.11 or earlier and use MySQL, you will need to update your MySQL database. See the instructions in /opt/zendto/sql/README.MySQL and run the 2nd "mysql" command.
Note: If you use MyZendTo (not many of you) and are upgrading from version 4.02 or earlier, read the notes at the bottom of /opt/zendto/sql/README.MySQL as you need to slightly alter your database for the user quota support. This only applies if you use MyZendTo. ZendTo is not affected at all. If you upgrade MyZendTo but use SQLite, then please contact me for assistance with the upgrade.
Note: If you are upgrading from version 3.89 or earlier, move any customised templates out of the way completely before you start, as the new package will need to install new template files for the new user interface design. You will also need to change your zendto.conf file so the "CSSTheme" setting points to "swish" instead of "duracell".
Note: If you are upgrading from ZendTo version 3.59 or earlier, you need to add some tables to the database. The Change Log entries for version 3.59 and earlier explain what you need to do as part of your upgrade.