Line 4: |
Line 4: |
| * The server must have internet access when te script is executed. | | * The server must have internet access when te script is executed. |
| * This is not a 'point and click' installation. A thorough understanding of Zarafa, SME Server and DB entries is required. Please study [[Zarafa_on_SME8|this]] page carefully. | | * This is not a 'point and click' installation. A thorough understanding of Zarafa, SME Server and DB entries is required. Please study [[Zarafa_on_SME8|this]] page carefully. |
− | * This script is '''intended for 64-bit architecture'''. For SME-32-bit adapt the script at the end, where it needs to download the 32-bit zcp-package (zcp-7.0.14-42060-rhel-5-i386-free.tar.gz) and be executed in the 32-bit-directory (zcp-7.0.14-42060-rhel-5-i386). Just change the x86_64-references to i386-references at the end of the script.
| |
| * Adjusted script to auto detect architecture and SME Version.}} | | * Adjusted script to auto detect architecture and SME Version.}} |
| | | |
Line 1,221: |
Line 1,220: |
| # Start of the actual script | | # Start of the actual script |
| # Setting Zarafa and Z-Push Version numbers, detect SME Server major version and architecture and set install directory | | # Setting Zarafa and Z-Push Version numbers, detect SME Server major version and architecture and set install directory |
− | ZVERSION=7.0.15-42709 | + | ZVERSION=7.0.13-41388 |
| PUSHVERSION=2.1.1-1788 | | PUSHVERSION=2.1.1-1788 |
| INSTALLDIR=/root/install/zarafa | | INSTALLDIR=/root/install/zarafa |
| + | TEMPLATEDIR=/etc/e-smith/templates/etc/zarafa/ |
| ################################################################################### | | ################################################################################### |
| # Init zarafa-array to simplify code and reduce possible (future) mistakes | | # Init zarafa-array to simplify code and reduce possible (future) mistakes |
Line 1,231: |
Line 1,231: |
| # So zarafa-array ranges from 0 to 8 | | # So zarafa-array ranges from 0 to 8 |
| ################################################################################### | | ################################################################################### |
− | if [ `$(cat /etc/redhat-release|grep -o 8` = "8"); then | + | if [ $(cat /etc/redhat-release | grep -o 8) = "8" ]; then |
− | | |
| RHV=5 | | RHV=5 |
| else | | else |
− |
| |
| RHV=6 | | RHV=6 |
| # zarafa-array[7]=search # as per comment above, not used yet | | # zarafa-array[7]=search # as per comment above, not used yet |
Line 1,250: |
Line 1,248: |
| tar -zxvf $INSTALLDIR/z-push-$PUSHVERSION.tar.gz -C /usr/share | | tar -zxvf $INSTALLDIR/z-push-$PUSHVERSION.tar.gz -C /usr/share |
| mv /usr/share/z-push-$PUSHVERSION /usr/share/z-push | | mv /usr/share/z-push-$PUSHVERSION /usr/share/z-push |
− | tar -zxvf zcp-$ZVERSION-rhel-$CPUARCH-free.tar.gz | + | tar -zxvf zcp-$ZVERSION-rhel-$RHV-$CPUARCH-free.tar.gz |
| cd zcp-$ZVERSION-rhel-$RHV-$CPUARCH | | cd zcp-$ZVERSION-rhel-$RHV-$CPUARCH |
| rm -f *-dev*.rpm | | rm -f *-dev*.rpm |