AnsweredAssumed Answered

need some advice/help debian etch ispconfig server

Question asked by steve1084 on Dec 4, 2007
I am quite intriged by alfresco as it apears to be a very well thought out product and would love to get it working on my server.  I did start to do something a while back but never got time to compet it so this is a fresh attempt.

Now this is where Im at and need some advice/help.  I dont want to install into the /opt folder if I can help it.

I would like to have multiple installations for various domains. Such as

/var/www/web2/web       ie http://www.mywebsite2.tld
/var/www/web3/web       ie http://www.mywebsite3.tld    
/var/www/web4/web       ie http://www.mywebsite4.tld

Can Each installation be independent from the other within a shared web hosting server environment and each with its own mysql data base.  What limmitations would there be.

Ive laid out below the server environment (application folder locations) and build process and would like to know what steps I now need to take to get alfresco installed if it can be done as above.

All the howto's Ive read install alfresco into the /opt folder and most howto's are for rpm based distros not debian so Ive laid out below the build setup and the various applications folder locations on a Debian etch setup to help those that might like to help me complet this process in the hopes that this will be the basis for a full howto if its successfull.


Debian Etch perfect server as per howtoforge website
http://www.howtoforge.com/perfect_setup_debian_etch

suphp as per the howtoforge website
http://www.howtoforge.com/suphp_debian_etch_ispconfig

ISPCONFIG installed as per the ispconfig website
http://www.ispconfig.org

Samba setup as per howtoforge website
http://www.howtoforge.com/debian_etch_samba_standalone_server_with_tdbsam_backend
Samba is just for local use for easy file storage at this stage

# find / -name samba
/etc/cron.daily/samba
/etc/dhcp3/dhclient-enter-hooks.d/samba
/etc/init.d/samba
/etc/samba
/etc/default/samba
/etc/logrotate.d/samba
/etc/pam.d/samba
/var/cache/samba
/var/lib/samba
/var/spool/samba
/var/log/samba
/var/run/samba
/usr/lib/samba
/usr/share/lintian/overrides/samba
/usr/share/samba
/usr/share/doc/samba

Server Monitoring With munin And monit as per the howtoforge website install guide
http://www.howtoforge.com/server_monitoring_monit_munin

# find / -name munin
/etc/logrotate.d/munin
/etc/cron.d/munin
/etc/munin
/var/lib/munin
/var/log/munin
/var/run/munin
/var/www/munin
/usr/share/doc/munin
/usr/share/munin

# find / -name monit
/etc/init.d/monit
/etc/default/monit
/etc/monit
/var/lib/monit
/var/www/web2/web/monit
/usr/share/doc/monit
/usr/sbin/monit

Installing The Version 1.5.0 Of Java (JRE-1.5.0)

On Debian Etch the Java version is 1.4; then to do it we must add the non-free repositories and make an update before embarking on the installation of Java:

# vi /etc/apt/sources.list

(Below the content of my sources.list file)

# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40]/ etch contrib main
#deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40]/ etch contrib main

deb http://ftp2.fr.debian.org/debian/ etch main non-free
deb-src http://ftp2.fr.debian.org/debian/ etch main non-free

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

#aptitude update

#aptitude install sun-java5-jre

You must accept the terms of DLJ license. To do it you have to answer:

    * OK
    * OK
    * YES

#aptitude install sun-java5-jdk

Before installing the documentation, you need to download the file jdk-1_5_0-doc.zip from http://java.sun.com/j2se/1.5.0/download.html and transfer it to /tmp.

#aptitude install sun-java5-doc

Defult folder locations for this install are listed below

# find / -name java
/etc/java
/etc/alternatives/java
/var/lib/dpkg/alternatives/java
/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/jre/bin/java
/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/bin/java
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/bin/java
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/bin/java
/usr/lib/openoffice/share/Scripts/java
/usr/bin/java
/usr/share/doc/sun-java5-jdk/html/guide/plugin/dom/com/sun/java
/usr/share/doc/sun-java5-jdk/html/api/org/omg/stub/java
/usr/share/doc/sun-java5-jdk/html/api/java
/usr/share/doc/libcommons-launcher-java/examples/example/src/java
/usr/share/java


Tomcat
aptitude install tomcat5 tomcat5-webapps tomcat5.5-webapps libtomcat5.5-java tomcat5-admin

Defult Folder locations listed below

# find / -name tomcat5
/etc/cron.daily/tomcat5
/etc/init.d/tomcat5
/etc/default/tomcat5
/etc/tomcat5
/var/cache/tomcat5
/var/lib/tomcat5
/var/log/tomcat5
/usr/share/doc/tomcat5
/usr/share/tomcat5


# find / -name catalina
/var/lib/tomcat5/webapps/tomcat-docs/catalina
/usr/share/tomcat5.5-webapps/tomcat-docs/catalina
/usr/share/tomcat5/server/webapps/manager/WEB-INF/classes/org/apache/catalina



Openoffice
apt-get install openoffice.org

Defult Install folder locations listed below

# find / -name openoffice
/etc/openoffice
/var/spool/openoffice
/usr/lib/openoffice
/usr/lib/openoffice/share/registry/data/org/openoffice
/usr/lib/openoffice/share/registry/schema/org/openoffice
/usr/lib/openoffice/share/registry/res/en-US/org/openoffice
/usr/lib/openoffice/share/registry/modules/org/openoffice
/usr/bin/openoffice
/usr/share/java/openoffice
/usr/share/fonts/truetype/openoffice
/usr/share/openoffice

MYSQL

# find / -name mysql
/etc/init.d/mysql
/etc/mysql
/var/lib/mysql
/var/lib/mysql/mysql
/var/log/mysql
/usr/lib/perl5/auto/DBD/mysql
/usr/lib/perl5/DBD/mysql
/usr/lib/mysql
/usr/include/mysql
/usr/bin/mysql
/usr/share/mysql


Which version of community alfresco should I be using. When I extract it into the /var/www/web2/web folder what is the file I need to excecute.

What should I change in the excecutable file.  Ie java or tomcat or alfresco install locations

Do I need to modify any of the Java or Tomcat files or can I leave them as is.


Thanks
Steve   :)

Outcomes