Line 18: |
Line 18: |
| | | |
| install-zarafa7.sh | | install-zarafa7.sh |
− | <nowiki>#!/bin/sh | + | <nowiki> |
− | clear
| + | #!/bin/sh |
− | echo downloading Zarafa packages...
| + | clear |
− | echo
| + | echo downloading Zarafa packages... |
− | wget http://download.zarafa.com/community/final/7.0/7.0.10-37482/zcp-7.0.10-37482-rhel-5-`uname -m`-free.tar.gz
| + | echo |
− | wget http://zarafa-deutschland.de/z-push-download/final/1.5/z-push-1.5.13-1514.tar.gz
| + | wget http://download.zarafa.com/community/final/7.0/7.0.10-37482/zcp-7.0.10-37482-rhel-5-`uname -m`-free.tar.gz |
− | echo
| + | wget http://zarafa-deutschland.de/z-push-download/final/1.5/z-push-1.5.13-1514.tar.gz |
− | echo download finished, unpacking...
| + | echo |
− | eecho
| + | echo download finished, unpacking... |
− | tar zxvf zcp-7.0.10-37482-rhel-5-`uname -m`-free.tar.gz
| + | echo |
− | tar zxvf z-push-1.5.13-1514.tar.gz
| + | tar zxvf zcp-7.0.10-37482-rhel-5-`uname -m`-free.tar.gz |
− | echo
| + | tar zxvf z-push-1.5.13-1514.tar.gz |
− | echo done unpacking, now installing...
| + | echo |
− | echo
| + | echo done unpacking, now installing... |
− | cd zcp-7.0.10-37482-rhel-5-`uname -m`
| + | echo |
− | yum -y localinstall *.rpm
| + | cd zcp-7.0.10-37482-rhel-5-`uname -m` |
− | cd ..
| + | yum -y localinstall *.rpm |
− | /sbin/e-smith/db yum_repositories set epel repository \
| + | cd .. |
− | Name 'Epel - EL5' \
| + | /sbin/e-smith/db yum_repositories set epel repository \ |
− | BaseUrl 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
| + | Name 'Epel - EL5' \ |
− | MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \
| + | BaseUrl 'http://download.fedoraproject.org/pub/epel/5/$basearch' \ |
− | EnableGroups no \
| + | MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \ |
− | GPGCheck yes \
| + | EnableGroups no \ |
− | GPGKey http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL \
| + | GPGCheck yes \ |
− | Visible no \
| + | GPGKey http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL \ |
− | status disabled
| + | Visible no \ |
− | signal-event yum-modify
| + | status disabled |
− | rpm -e php-mapi --nodeps
| + | signal-event yum-modify |
− | yum -y install php53-mapi --enablerepo=epel
| + | rpm -e php-mapi --nodeps |
− | echo
| + | yum -y install php53-mapi --enablerepo=epel |
− | wget http://bugs.contribs.org/attachment.cgi?id=3566
| + | echo |
− | mv attachment.cgi?id=3566 zarafa-templates.tar.gz
| + | wget http://bugs.contribs.org/attachment.cgi?id=3566 |
− | tar xvf zarafa-templates.tar.gz
| + | mv attachment.cgi?id=3566 zarafa-templates.tar.gz |
− | cd templates
| + | tar xvf zarafa-templates.tar.gz |
− | chmod 755 install.sh
| + | cd templates |
− | ./install.sh
| + | chmod 755 install.sh |
− | cd ..
| + | ./install.sh |
− | if [ `getconf LONG_BIT` = "64" ]
| + | cd .. |
− | then
| + | if [ `getconf LONG_BIT` = "64" ] |
− | echo "64-bit, creating symbolic link"
| + | then |
− | ln -s /usr/lib64/zarafa /usr/lib/zarafa
| + | echo "64-bit, creating symbolic link" |
− | fi
| + | ln -s /usr/lib64/zarafa /usr/lib/zarafa |
− | /bin/chmod 554 /etc/e-smith/events/actions/zarafa-install
| + | fi |
− | /etc/e-smith/events/actions/zarafa-install
| + | /bin/chmod 554 /etc/e-smith/events/actions/zarafa-install |
− | echo
| + | /etc/e-smith/events/actions/zarafa-install |
− | echo
| + | echo |
− | echo !!!! YOU SHOULD NOW PERFORM A 'signal-event post-upgrade; signal-event reboot' !!!
| + | echo |
| + | echo !!!! YOU SHOULD NOW PERFORM A 'signal-event post-upgrade; signal-event reboot' !!! |