Difference between revisions of "SME Server:9.2"

From SME Server
Jump to navigationJump to search
Line 71: Line 71:
  
 
===SME 9===
 
===SME 9===
{{Note box|msg=In-place upgrades to SME 9.2 *are* supported - from 9.# only. # yum upgrade, see note below for caveats.}}
+
{{Note box|msg=In-place upgrades to SME 9.2 *are* supported - from 9.# only. # yum update, see note below for caveats.}}
{{Note box|Although a yum upgrade should return a working updated server, to be 100% sure, you are advised to only upgrade clean machines, e.g. without contribs or other modifications.}}
+
{{Note box|Although a yum update should return a working updated server, to be 100% sure, you are advised to only upgrade clean machines, e.g. without contribs or other modifications.
 +
 
 +
yum upgrade forces the removal of obsolete packages, while yum update may or may not also do this. The removal of obsolete packages can be risky, as it may remove packages that you use.
 +
 
 +
This makes yum update the safer option..}}
  
 
====DVD/CD====
 
====DVD/CD====

Revision as of 04:07, 3 May 2017


We dedicate this release of SME Server 9.2 to Tony Keane who passed away on 1st April, 2016. He was a long time user and supporter of Koozali SME Server and one of the founding members of the Koozali Foundation.

SME Server 9.2 Final (Tony Keane)

The SME Server development team is pleased to announce the release of SME Server 9.2 which is based on CentOS 6.9, Release Notes detailed below.

Bug reports and reports of potential bugs should be raised in the bug tracker (and only there, please);

   http://bugs.contribs.org/


The Koozali SME Server project

The Koozali Foundation Inc. is a nonprofit corporation that governs the open source Koozali SME Server project. Koozali SME Server is a stable, secure and easy to use/manage linux server that provides common server functionalities out of the box. Many open source contributions are available that can extend the default server functionality making Koozali SME Server an even more powerful and flexible business server solution. Thousands of Koozali SME Severs have been deployed as real or virtual servers and in the cloud to serve many small to medium enterprises, and this number is growing day by day. The Koozali SME Server is free to use but it takes a lot of effort and money to develop, make, and maintain. We therefore ask you for your considerations.

Volunteering

Koozali Foundation Inc. together with its community hosted at https://contribs.org is a collaborative effort of volunteers. You too can contribute to the development and continuity of the Koozali SME Server project as described on our volunteering page. Everybody is welcome to join the already 4000+ member contribs.org community and can contribute with any skill set.

Financial donations

You can also show your support by making financial donations. The preferred way to make financial donations is using the donate option in the forums. You are free to choose any amount and frequency, being monthly, yearly or only once. The benefit of donating through your forums account is that your forum user name will receive a badge, showing your donation status. If you do not have a forum account, you can create one, or select the below PayPal option to make your donations.

Commercial usage

Organizations that use Koozali SME Server for their business, provide professional services related to SME Server or in any other way benefit commercially from the Koozali SME Server project, are kindly requested to consider regular financial donations that reflect their business benefits.

Koozali Foundation Inc. is happy to supply an invoice for any donations received. For more information on invoicing please send a mail to treasurer@koozali.org.

Thank you for your considerations and support!

Download

You can download Koozali SME Server 9.2 from http://mirror.contribs.org/smeserver/releases/9.2/iso/ or for other methods see http://wiki.contribs.org/SME_Server:Download

Please note it may take up to 48 hours for mirrors to finish syncing, during this time you may experience problems.

About SME Server

SME Server is the leading Linux distribution for small and medium enterprises. SME Server is brought to you by Koozali Foundation, Inc., a non-profit corporation that exists to provide marketing and legal support for SME Server.

SME Server is freely available under the GNU General Public License and is only possible through the efforts of the SME Server community. However, the availability and quality of SME Server is dependent on meeting our expenses, such as hosting costs, server hardware, etc.

As such, we ask for a donation to offset costs and fund further development. a) If you are a school, a church, a non-profit organisation or an individual using SME Server for private purposes, we would appreciate you to contribute within your means toward the costs associated with hosting, maintenance and development. b) If you are a company or an integrator and you are deploying SME Server in the course of your work to generate revenue, we expect you to make a donation commensurate with the level of revenue you generate and the number of servers your have in the field. Please, help the project

Please visit http://wiki.contribs.org/Donate to donate.

Koozali Inc is happy to supply an invoice for any donations received, simply email treasurer@koozali.org

Thanks

The development team would like to thank all of those who have involved themselves with this release.

Note

In-place upgrades are not supported. It is necessary to backup and then restore. /boot partition is always RAID 1.

The spare handling for RAID arrays is not implemented.

USB installs are now supported, see: http://wiki.contribs.org/Install_From_USB#SME_Server_9


Installing

Hardware requirements

Installation procedure

Upgrading

SME 9

Important.png Note:
In-place upgrades to SME 9.2 *are* supported - from 9.# only. # yum update, see note below for caveats.


Important.png Note:
Although a yum update should return a working updated server, to be 100% sure, you are advised to only upgrade clean machines, e.g. without contribs or other modifications.

yum upgrade forces the removal of obsolete packages, while yum update may or may not also do this. The removal of obsolete packages can be risky, as it may remove packages that you use.

This makes yum update the safer option..


DVD/CD

This is the most affordable way to get a clean and secure upgrade. During the upgrade process the existing installation is detected and the option to upgrade the existing system is displayed.

Yum

Even if possible and tested the yum upgrade must be performed only with stable internet connections and, preferably, not remotely. Loosing connection may leave your system in an unknown state.

Check for known issues, here Dashboard and at open bugs for SME 9 in bugzilla.

Check for contrib packages that may need upgrading

Even though it is recommended that you only upgrade clean machines (e.g. without contribs or other modifications), it may be possible that you have a contrib installed that you forgot about. After the upgrade, check if any contribs may require an upgrade from the smecontribs repository.

SME 8

Important.png Note:
In-place upgrades from SME 8.# to SME 9.x using yum or CD are not supported due to design constraints imposed by CentOS.

It is necessary to backup the old server & then restore to the new server. Contribs will need to be reinstalled.


The simplest way to do this is via a Console Backup to attached USB disk on the old server. Alternatively use one of the Backup & Restore options available in server manager panel, ie backup to desktop, or backup to workstation (either to attached USB or network share). Other non standard options exist to Backup virtual servers that do not have USB ports etc, & Restore to similar virtual systems, eg using ssh.


Information.png Tip:
The Restore from USB on first boot function (on a newly installed SME 9 server), will only utilise backups that are saved as smeserver.tgz files, which are the Console backup to USB or the server manager backup to Desktop. The server manager backup to Workstation (either to USB or network share) creates a "backupdate.dar" type filename (or multiple split parts) & cannot be used to restore using the Restore on first boot function, it can only be used for restores from server manager.



Information.png Tip:
After a Restore to new hardware, networking may not be functional. This is caused by the restored NIC settings being incorrect for the NIC's in the new hardware. To fix this, login as admin & from the console menu select Configure this server. Step through the screens & choose the new hardware network card (NIC) drivers, & leave other settings unchanged.


Upgrade via Console backup to USB drive

  • Log in as admin & Backup the old server via a Console Backup to attached USB disk. This may take many hours if you have a lot of data on your server, depending on USB port speed, USB drive speed, & types of files being backed up ie whether already compressed or not etc. Typically for 250Gb of data on your server hard drive, 2 to 4 hours.
  • Install the SME 9.x OS from CD on the new hardware (on new server).
  • Select to do a Restore on first boot of the newly installed SME Server 9. Only attach USB containing the backup file, when asked on first reboot. Restore may take a few hours depending on data size etc. Make sure you wait for the Restore complete message.

Upgrade via server manager backup to Desktop or Workstation (USB or network)

  • On the old server in server manager, configure the required backup in the Backup or Restore panel. Schedule the backup to run at a suitable time. This backup can be to a workstation desktop for systems with a smaller amount of data, which creates a smeserver.tgz backup file, or to a locally connected USB drive or to a network share, & creates xx...xx.dar files, split into multiple parts if configured & data size is large. This may take many hours to run depending on data size etc.
  • On the new SME9 server, manually configure the identical backup job in the server manager Backup or Restore panel. The backup job MUST point to the exact same location that the original backup file is saved to.
  • Select the Restore function within server manager & select the full backup you want to restore from. This may take many hours to run depending on data size, network speed etc. Make sure you wait for the Restore complete message.
  • Basic networking configuration of the new and/or restored SME9 server will be required if different from original server.

Upgrade using command line restore via ssh or USB

  • It is possible to use the command line to transfer a backup file via ssh (or USB) to the new server & then to run the restore. Standard & non standard backup concepts & procedures are outlined in the Backup server config Howto, http://wiki.contribs.org/Backup_server_config If using any non standard method, then the integrity of your SME server data cannot be guaranteed.
  • To do a standard backup & restore using CLI, on the old server log in as admin & perform the Console Backup to USB drive (to a locally connected USB). Alternatively using suitable commands, a smeserver.tgz backup file could be created & saved to / folder, refer Howto.
  • Install the SME 9.x OS from CD on the new hardware (on new server).
  • Answer No when asked if you want to restore from USB during the first boot.


  • If you created or have the backup file on the old server, transfer the smeserver.tgz backup file via ssh from your old server to your new server. Both servers must be connected & remote access enabled
  • On the old server do:
scp -P zzzz /smeserver.tgz newserverIP:/

(where zzzz = port number)


  • If you saved the backup file to USB, then transfer the smeserver.tgz backup file from USB to your new server
  • Log in as root or a root user on the new server & do:
mount /media/usbdisk
cp /media/usbdisk/Backup-date-folder/smeserver.tgz /

(replace usbdisk with actual mount point name & Backup-date-folder with actual folder date name)

  • After the backup file has been copied to the new server, on the new server do:
cd /
signal-event pre-restore
tar -C / -xzvf smeserver.tgz
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
  • Before restarting the new server, disconnect old server from network (as you will have clashes due to duplicate IPs)
  • On new server do:
cd /
rm smeserver.tgz
  • Note the backup & restore may take many hours to complete depending on data size etc.
  • After restore, the Configuration of the new server should be identical to the old server.
  • Note with two servers connected during ssh copying operations, basic networking configuration of the new unrestored SME9 server will need to be temporarily different to the old server to avoid clashes

Reinstall Contribs after restore

Add on contrib rpm packages will need to be re-installed on the new SME 9.x server as these are NOT included in the backup. Contrib data & configuration is included in backups & will be restored, but its usefulness will depend on the contrib design being unchanged between older (SME7/el4 or SME8/el5) & SME9/el6 package versions.

Delete & Reconfigure Manual tweaks

Other manual tweaks eg custom templates or scripts, will need to be deleted & recreated in line with SME 9.x template code & base code.

Where extensive modifications have been made to the "old server (eg SME8.1)", it is recommended to carry out a test backup & restore upgrade first, to discover any problems & ascertain suitable fixes & workarounds. Removing contribs & custom templates before upgrading is recommended.

RAID

/boot partition is always RAID 1.

The spare handling for RAID arrays is not implemented.


Koozali SME Server 9.2 Release Notes

26 April 2017

The Koozali SME Server (SME Server) development team is pleased to announce the release of SME Server 9.2 Final which is based on CentOS 6.9

Bug reports and reports of potential bugs should be raised in the bug tracker (and only there, please);

   http://bugs.contribs.org/

Download

You can download Koozali SME Server 9.2 from http://mirror.contribs.org/smeserver/releases/9.2/iso/ or for other methods see http://wiki.contribs.org/SME_Server:Download

Please note it may take up to 48 hours for mirrors to finish syncing, during this time you may experience problems.

About SME Server

SME Server is the leading Linux distribution for small and medium enterprises. Loozali SME Server is brought to you by Koozali Foundation, Inc., a non-profit corporation that exists to provide marketing and legal support for SME Server.

SME Server is freely available under the GNU General Public License and is only possible through the efforts of the SME Server community. However, the availability and quality of SME Server is dependent on meeting our expenses, such as hosting costs, server hardware, etc.

As such, we ask for a donation to offset costs and fund further development.

a) If you are a school, a church, a non-profit organisation or an individual using SME Server for private purposes, we would appreciate you to contribute within your means toward the costs associated with hosting, maintenance and development.

b) If you are a company or an integrator and you are deploying SME Server in the course of your work to generate revenue, we expect you to make a donation commensurate with the level of revenue you generate and the number of servers your have in the field. Please, help the project

Please visit http://wiki.contribs.org/Donate to donate.

Koozali Inc is happy to supply an invoice for any donations received, simply email treasurer@koozali.org

Tony Keane

It is with huge sadness that we learnt the passing of Tony Keane on Friday 1st April, 2016. He was a long time user and supporter of Koozali SME Server and one of the founding members of the Koozali Foundation. We dedicate this release of SME Server 9.2 to Tony. Without him and a handful of others the community would not have been secured with the Koozali foundation and our current cluster of servers to build and maintain your favourite distro. If you download and use it, please remember him and his work, and that of all the other contributors who work tirelessly to make Koozali SME as good as it is.

We extend our thoughts and deepest sympathies to his family.

https://wiki.koozali.org/Tony_Keane

Notes

In-place upgrades are not supported. It is necessary to backup and then restore. /boot partition is always RAID 1.

The spare handling for RAID arrays is not implemented.

USB installs are now supported, see: http://wiki.contribs.org/Install_From_USB#SME_Server_9

Major changes in this release

  • Updated all to Koozali branding.
  • Server Manager - Allow access to the server-manager without SSL from the loopback, Don't redirect to http when login in/out of the server-manager from localhost.
  • File Server - added W10 support to SME Domain. Add support for specifying TLSv1.1 and TLSv1.2
  • LDAP - Hook into the new ssl-update event.
  • Mail Server - Update qpsmtpd to release 0.99.6 (including multiple plugins and ability to ebale/disable same), Allow reading SSL_version from the tls_protocols config file (and turn TLSv1 back on by default), Modify whitelist_soft transaction to interact with dnsbl filter, Revert forcing TLSv1 patch as it breaks some inbound delivery, Remove karma rcpt handling, Check rua is defined before trying to parse it to prevent an error if a domain has a DMARC entry published with no rua, add support for the uribl plugin, add detailed spamassassin report headers.
  • Web Server - Hook into the new ssl-update event, Set TLSv1 back to enabled (but keep a prop to disable it if needed).
  • Other fixes and updates - Correctly display http URL to the server-manager in the console, Remove motd text from grub.cfg.

Detailed changes in this release

Only the changes since SME Server 9.1 are listed, mainly autogenerated from the changelogs.

Packages altered by Centos, Redhat, and Fedora-associated developers are not included.

Text With Bug Numbers Text for ISO Release Notes with Bug Numbers The changelogs are written per package, and each package is assigned a group.

File Server


- fix outlook error code 0x8004011c when setting up and email account on a win10 computer joined to a domain (with   roaming profiles) [SME: 10106]
- Create V6 profile dir (for Win10 roaming profiles) [SME: 9772]
  proftpd
- Additional tweak (to avoid null pointer dereference) for upstream bug 3868
- Fix for CVE-2016-3125: usage of 1024 bit DH key even with manual parameters
  see (http://bugs.proftpd.org/show_bug.cgi?id=4230)
- Also fixed related issue where only first DH param in TLSDHParamFile is used,
  regardless of requested keylength (http://bugs.proftpd.org/show_bug.cgi?id=3868)
- Fix SUID/SGID directory permission setting regression introduced with fix
  for CVE-2012-6095 (#1297264)
- Add support for specifying TLSv1.1 and TLSv1.2 (#1281493)

LDAP


- Disable SSLv3, but keep the possibility to enable it again [SME: 10113]
- Better default cipher suite, and honor global suite [SME: 10113]
- Hook into the new ssl-update event [SME: 9152]

Localisation


- apply locale 2017-03-03 patch from pootle [SME: 9592]
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
  by assuming the date is correct and changing the weekday.

Mail Server


- Update to release 0.99.2 [SME: 9489]
- Add pcre-devel to BuildRequires [SME: 9151]
- Hook into a new ssl-update event [SME: 9152]
- Allow setting SSL protocols from DB (and set TLSv1 back to enabled
  on a default install) [SME: 9175]
- Disable TLSv1 [SME: 9169]
- Add possibility to exclude users or members of other groups from group
  email address [SME: 9540]
- Consider literal <> as null sender [SME: 9883]
- Removed Message-Id validation, as it rejects MS account validation email [SME: 9773]
- fix whitelist plugin to support helo with naughty rejecting at mail stage [SME: 10111]
- Validate domains found in uribl with Data::Validate::Domain [SME: 9499]
- Use eval to fetch dkim policies, prevent fatal errors in case of DNS
  timeout [SME: 9504]
- Remove karma rcpt handling (buggy and doesn't make a lot of sense) [SME: 9502]
- Check rua is defined before trying to parse it to prevent an errorif a domain has a DMARC
  entry published with no rua [SME: 9507]
- Fix error when RCPT TO is not valid [SME: 8861]
- Fix karma logic by checking negative strikes [SME: 9502]
- Backport a fix for karma_tool so it can find its database [SME: 9502]
- Update to 0.96 (with some backports from GIT head) [SME: 8861]
- Allow reading SSL_version from the tls_protocols config file (and turn TLSv1 back on by default)
  [SME: 9162]
- Correctly log login attempts with nulls in login name [SME: 9167]
- Disable TLSv1 [SME: 9162]
- remove whitelist_soft [SME: 10125]
- Disable unofficial sigs for filesystem scans [SME: 9142]
- Better default cipher suite, and honor global suite [SME: 10114]
- Hook into the new ssl-update event [SME: 9152]
- Allow settings SSL protocols from DB (and set TLSv1 back to enabled on a default install)
  [SME: 9175]
- Disable TLSv1 [SME: 9175]
- updated regex for SBList in smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch to take into
  account list using a subdomain [SME: 10116]
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, by assuming the date is correct
  and changing the weekday.
- Set the default helo policy to lenient [SME: 9767]
- Turn SPF and DMARC rejects off by default [SME: 9654]
- Fix disabling DMARC reporting [SME: 9507]
- Remove o and r DKIM fields as they are not standard [SME: 9506]
- In qpsmtpd-print-dns set DKIM options after the public key so the string will still be split correctly 
  [SME: 9506]
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507]
- Remove warning about spool dir permission on startup [SME: 9511]
- Add missing patch for DKIM signing [SME: 9506]
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507]
- Check SPF for inbound emails [SME: 9505]
- Check DKIM for inbound emails [SME: 9504]
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) [SME: 9507]
- Store and send DMARC aggregate reports [SME: 9507]
- Support DKIM signing for outbound emails [SME: 9506]
- Use an additional badrcptto file list for external connections so local only pseudonymes work as expected 
  [SME: 9503]
- Enable the bogus_bounce plugin [SME: 9501]
- Use the naughty plugin to defer rejections, leaving users an opportunity to authenticate [SME: 9500]
- Add support for the uribl plugin [SME: 9499]
- Change separator for SBList and RBLlist from : to , [SME: 9498]
- Switch to the clamdscan plugin [SME: 9497]
- Enabe the loadcheck plugin [SME: 9508]
- Add support for the karma plugin [SME: 9502]
- Work with qpsmtpd 0.96 [SME: 8861]
- Expand all ssl related conf in ssl-update [SME: 9152]
- Hook into a new ssl-update event [SME: 9152]
- Allow setting SSL protocols from DB [SME: 9162]
- Rewrite spamd run script to add support for --allow-tell [SME: 10138]
- Add X-Spam-Details header (and simplify X-Spam-Status) [SME: 9509]
- Disable ipv6 support to prevent a warning during startup [SME: 9153]

Server manager


- reapply patch 4
- Update server-manager to Koozali branding [SME: 9678]
- move fix to the right line to be effective [SME: 9920]
- fix bad redirection parameter that might reveal session information to remote site temporarily
  reverting patch 4 for fast release of security fix please put it back at next release  [SME: 9920]
- Update server-manager to Koozali branding [SME: 9678]
- e-smith-manager-2.6.0-Koozali_manager.patch better syntax for removing Indexes option for the manager [SME: 9589]
- Remove index option for manager's resources [SME: 9589]
- fix 307 redirection to http when https is used [SME: 8825]
- update syntaxe for TKT Auth, bump 7 for typo, corrected typo in e-smith-manager-2.4.0 
  dont_rewrite_to_https_from_localhost.patch code from John H. Bennett III bennettj@johnbennettservices.com 
  [SME: 9271]
- Really don't redirect to http when login in/out of the server-manager [SME: 9163]
- Don't redirect to http when login in/out of the server-manager from localhost [SME: 9163]
- Allow access to the server-manager without SSL from the loopback [SME: 9163]
- don't set environmental variable based on user supplied Proxy request header CVE-2016-5385
- fix wrong warning in openssl_encrypt() for missing IV when IV is not required #1260315
- fix segfault's when you try and allocate an SplFixedArray with size >= 9999 #1071344
- segfault in php_pgsql_meta_data CVE-2015-4644 #1234434
- add options to enable TLS in curl #1255920
- fix segfault in gc_collect_cycles #1122681

Web Server


- Hook into the new ssl-update event [SME: 9152]
- Set TLSv1 back to enabled (but keep a prop to disable it if needed) [SME: 9154]
- Disable TLSv1 [SME: 9154]

Other fixes and updates

- Use ip route syntax to define routes to local network [SME: 9905]
- Allow /32 masks on the external interface, in which case we don't
  check if the gateway is on the correct network) [SME: 9765]
- Add a column to display forwarding address [SME: 9174]
- Correctly display http URL to the server-manager in the console [SME: 9163]
- Fire ssl-update event when default cert is renewed [SME: 2257]
- Expand /home/e-smith/ssl.pem/pem during ssl-update [SME: 9152]
- Quote filenames in genfilelist so filenames containing spaces are correctly
  handled [SME: 9758]
- Remove motd text from grub.cfg [SME: 9161]
- Allow empty comment when creating/modifying a hostname [SME: 9177]
- Remove double / in SSL RewriteRule [SME: 9195]
- Adjust regex so adjust-service accepts sigusr1 and sigusr2 from files [SME: 9184]
- Allow custom file descriptor limit, and set default to 4096 [SME: 9911]
- Rebase on upstream 9.03.53-1 [SME: 9534]
- Roll in CentOS Branding
- functions: parse -d first
- functions: fix ignored delay in killproc
- netfs: only unmount loopback device mounted on top of netdev or with back-file on netdev
- functions: improve killing loops
- netfs: tweak nfs umount
- sysctl.conf: mention sysctl -a
- sysconfig.txt: document PPPOE_EXTRA and PPPD_EXTRA
- spec: require plymouth
- fix mangled sysconfig/init.s390
- rc.sysinit: don't perform fsck twice with /.autorelabel
- ifdown-eth: fix comparison
- ifup-eth: if arping fails, output responding MAC
- network-functions: fix change_resolv_conf after grep update
- spec: add sysctl.d dir
- rc.sysinit: fix typo in fs
- rename_devices: comments need to have a blank before them
- rename_device: remove comments and trailing whitespaces
- bonding: warn if the ifup for slave device failed
- clarify daemon() usage message
- ifdown: clean ipv4 localhost addresses
- ifup-post: check resolve.conf also with DNS2
- ifup: add missing quotes
- ifup-eth: some bridge options are applied later
- init.d/halt: give init some time to reexecute
- network-scripts: DEVICE and HWADRR could be quoted by apostrophe
- ifup-wireless: fix calling of phy_wireless_device
- rc.sysinit: apply quotas after system is relabeled
  mod_auth_tkt
- backport to SME9 fix redirection when proxy ssl [SME: 8825]
- update apxs path for SME9 (sbin)
- Bump for beta1 release of 9.2 [SME: 9525]
- updated sources with new pictures fix hover color [SME: 9678]
- Koozali branding of manager [SME: 9678]
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,by assuming the date is correct and
  changing the weekday.
- Update copyright in server-manager footer [SME: 9266]
- Don't put motd content in /etc/redhat-release [SME: 9161]
- added centos SCLo SIG gpg rpm signing key [SME: 10102]
  will allow to install SCL packages directly from smecontribs

General features


- Based on CentOS 6.9 and all available updates


Terry Fage


- On behalf of the Koozali SME Server development team - Compilation of release data is thanks to Ian Wells