Installing GNR on FreeBSD 7.2 amd64: Difference between revisions

No edit summary
Line 68: Line 68:
</pre>
</pre>


==Suggested tweaks==
==Further reading==
[[Building_GNR_on_FreeBSD_7#Suggested_tweaks]]
[[Building_GNR_on_FreeBSD_7]]


==TO DO==
--[[User:Solko|Solko]] 14:06, 6 October 2009 (UTC)
[[Building_GNR_on_FreeBSD_7#TO_DO]]
 
==Troubleshooting==
[[Building_GNR_on_FreeBSD_7#Troubleshooting]]
 
--[[User:Solko|Solko]] 13:12, 5 October 2009 (UTC)
[[Category: Installation]]
[[Category: Installation]]

Revision as of 14:06, 6 October 2009

General information

Please read Building_GNR_on_FreeBSD_7 for all the details.

This guide describes installing GNR-601 on FreeBSD-7.2_amd64 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-amd64.solko.sk 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Tue Oct  6 00:03:48 CEST 2009     solko@zimbra-src-amd64.solko.sk:/usr/obj/usr/src/sys/solko_pf_web  amd64

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_amd64_packages.tar.gz
tar xzf 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.tar.gz && \
tar xzf zcs-6.0.1_GA_1817.FreeBSD_amd64.tar.gz && rm zcs-6.0.1_GA_1817.FreeBSD_amd64.tar.gz && \
cd zcs-6.0.1_GA_1817*
./install.sh

Further reading

Building_GNR_on_FreeBSD_7

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

Jump to: navigation, search