Installing GNR on FreeBSD 7.2 amd64: Difference between revisions

(New page: ==General information== Please read Building_GNR_on_FreeBSD_7 for all the details. This guide describes installing all of above without building anything. At this point it's good to ...)
 
No edit summary
Line 64: Line 64:


==Suggested tweaks==
==Suggested tweaks==
[[Link title]]
[[Building_GNR_on_FreeBSD_7#Suggested_tweaks]]
 
two]:'''
<pre>
su - zimbra
zmlocalconfig -e zmmtaconfig_interval=6000
zmprov mcf zimbraLogRawLifetime 7d
zmprov mcf zimbraLogSummaryLifetime 30d
/opt/zimbra/libexec/zmlogprocess
 
sed -I "" -e s'|.* \* \* \* \* /opt/zimbra/libexec/zmstatuslog|\*/60 \* \* \* \* /opt/zimbra/libexec/zmstatuslog|'
 
/var/cron/tabs/zimbra
</pre>


==TO DO==
==TO DO==
'''1) create a Zimbra FreeBSD specific start-up script in /usr/local/etc/rc.d.'''
[[Building_GNR_on_FreeBSD_7#TO_DO]]
 
I failed miserably at the attempt so please someone supply somehow..


==Troubleshooting==
==Troubleshooting==
This is the part where opensource community unites to solve all the problems!
[[Building_GNR_on_FreeBSD_7#Troubleshooting]]


--[[User:Solko|Solko]] 12:52, 5 October 2009 (UTC)
--[[User:Solko|Solko]] 13:12, 5 October 2009 (UTC)
[[Category: Build]]
[[Category: Build]]

Revision as of 13:12, 5 October 2009

General information

Please read Building_GNR_on_FreeBSD_7 for all the details.

This guide describes installing all of above without building anything.

At this point it's good to note that everything should be run as root unless stated otherwise.

Preparing run enviroment via /usr/ports

I created a simple "meta" port which will take care of everything. Since I am a very very creative person I named it: mail/zimbra-rundeps.

It installs all dependencies needed to run GNR-601.

cd /usr/ports/mail
fetch http://zimbra.imladris.sk/download/ports/usrports_zimbra-rundeps.tar.gz && \
    tar vxzf usrports_zimbra-rundeps.tar.gz && \
        rm -f usrports_zimbra-rundeps.tar.gz
cd /usr/ports/mail/zimbra-rundeps && make config-recursive install distclean

If you are able to use /usr/ports you should be able to figure out the configure options (not that it matters much, mostly unimportant stuff).

If you are using a csh derivate shell, which is the FreeBSD default, run:

rehash

Preparing run enviroment via zimbra.imladris.sk

Since some people like to compile (me me me!) and others like to install-only I built all the neccessary

packages.

cd /tmp && mkdir -p DELME && cd DELME && fetch 

http://zimbra.imladris.sk/download/packages/GNR/FreeBSD-7.2/FreeBSD-7.2_amd64_packages.tar.gz
tar vxzf FreeBSD-7.2_amd64_packages.tar.gz && cd amd64
pkg_add zimbra-rundeps-6.0.1.tbz

If you are using a csh derivate shell, which is the FreeBSD default, run:

rehash

Grats, you just saved yourself a lot of time.

Quick-hacks for a better day

Since Zimbra is a Linux lover by nature everything is /bin/bash but guess what.. we have /usr/local/bin/bash:

ln -s /usr/local/bin/bash /bin/bash

Installing Zimbra Collaboration Suite: GNR-601 without building

I had to undergo whole build process so you can fetch the fruits of my hard labour directly.

cd /tmp
fetch http://zimbra.imladris.sk/download/zimbra-packages/GNR-601/zcs-6.0.1_GA_1817.FreeBSD_amd64.20091004225829.tar.gz
tar vxzf zcs-6.0.1_GA_1817.FreeBSD_amd64.20091004225829.tar.gz
cd zcs-6.0.1_GA_1817*
./install.sh

Suggested tweaks

Building_GNR_on_FreeBSD_7#Suggested_tweaks

TO DO

Building_GNR_on_FreeBSD_7#TO_DO

Troubleshooting

Building_GNR_on_FreeBSD_7#Troubleshooting

--Solko 13:12, 5 October 2009 (UTC)

Jump to: navigation, search