Difference between revisions of "Installing GNR on FreeBSD 7.2 amd64"

Line 78: Line 78:
  
 
--[[User:Solko|Solko]] 13:12, 5 October 2009 (UTC)
 
--[[User:Solko|Solko]] 13:12, 5 October 2009 (UTC)
[[Category: Install]]
+
[[Category: Installation]]

Revision as of 13:31, 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 (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 blurp.euba.sk 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Sun Oct  4 10:52:43 CEST 2009  

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