cancel
Showing results for 
Search instead for 
Did you mean: 

New FreeBSD 6.2 installation - Where to start?

y0da
Champ in-the-making
Champ in-the-making
In my quest for FBSD install documentation and/or best practices, my searches come up with nothing. 

I don't want to install X (at all) unless i absolutely must.  I've enabled linux compat and installed the Xorg linux binaries for FBSD.  I get an error saying that the linux package must be launched from a graphical environment. 

Can anyone provide guidance?  This looks like such a fantastic product.  I'm an experienced FBSD admin, just a bit timid and needing some ground to stand on.

thanks!!
1 REPLY 1

ejb
Champ in-the-making
Champ in-the-making
Not sure if you have got Alfresco installed but here goes a rough guide to seting things up on FreeBSD.

1. download alfresco and unpack using tar -zxf <downloadedfilename.tar.gz>

2. goto /usr/ports/ and install the following
2.1 mysql
2.2 tomcat
2.3 diablo
2.4 mod_jk
2.5 possibly other ports…..

3. I set the following environment variables for my install
JAVA_HOME=/usr/local/diablo-jdk1.5.0/
JAVA_OPTS=-Xms128m -Xmx256m

The JAVA_OPTS line stops out of memory errors.

4. go to where ever you unpacked the download and
cd extras/databases/mysql
then run
mysql -u root -p < ./db_setup.sql

read the README_mysql.txt

this sets up the backend mysql db

5. once all this is working start tomcat
/usr/local/apache-tomcat6.0/bin/catalina.sh start

login to tomcat
http://yourmachine.domain.com:8180/
(FYI FreeBSD port for tomcat6 puts it on 8180 instead of 8080)
Upload the alfresco.war file through the Tomcat Manager

6. confirm it is all working by connecting to the alfresco page through the tomcat manager link.

FYI I haven't been able to make the CIFS server work as yet.

Good luck.