Installing GNR on FreeBSD 7.2 i386

Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 6.0 Article ZCS 6.0

General information

Please read GNR_on_FreeBSD_7 for all the details.

This guide describes installing GNR-601 on FreeBSD-7.2_i386 without building anything (unless you want to build dependencies by yourself).

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

Initial pre-install steps

Let's check our system:

uname -a
FreeBSD zimbra-src-i386.solko.sk 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Mon Oct  5 23:15:44 CEST 2009     solko@zimbra-src-i386.solko.sk:/usr/obj/usr/src/sys/solko_pf_web  i386

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 xzf 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-601/FreeBSD-7.2/FreeBSD-7.2_i386_packages.tar.gz
tar xzf FreeBSD-7.2_i386_packages.tar.gz && cd i386
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_i386.tar.gz && \
tar xzf zcs-6.0.1_GA_1817.FreeBSD_i386.tar.gz && rm zcs-6.0.1_GA_1817.FreeBSD_i386.tar.gz && \
cd zcs-6.0.1_GA_1817*
./install.sh

Further reading

GNR_on_FreeBSD_7

--Solko 14:11, 6 October 2009 (UTC)


Verified Against: ZCS 6.0.1 on Free BSD 7.2 Date Created: 10/6/2009
Article ID: https://wiki.zimbra.com/index.php?title=Installing_GNR_on_FreeBSD_7.2_i386 Date Modified: 03/24/2015



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search