cancel
Showing results for 
Search instead for 
Did you mean: 

Alferesco on Shared Server

allan1015
Champ in-the-making
Champ in-the-making
I have a VPS with multiple domains (apache virtual hosts) uisng CentOS
Tomcat is installed (via apache upgrade tool)

Domains have thier doc root like this
/home/account1/public_html/  that would be the docroot for account1.com

I'd like to install Alfresco (community) to run an instance for specific domains and when it does use a different database/tables.  Basically like this:
/home/account1/public_html/alfresco

What limited installation documentation I can find all assumes a single instance per server. 
Is what I am trying to do idiotic, hopeless, way to painful, needs superior tomcat and linux expertise (which I will have to learn) Smiley Happy

(By the way this is not a commercial thing for me, Im not a hosting providor making money from clients)
3 REPLIES 3

allan1015
Champ in-the-making
Champ in-the-making
Figuring this has to start with Tomcat virtual hosting, I checked my server.xml file and see that the apache updater/cpanel install of tomcat did create an entry for one domain I asked.

       <Host name="mydomain.com" appBase="/home/jets/public_html">
          <Alias>www.mydomain.com</Alias>
          <Context path="" reloadable="true" docBase="/home/jets/public_html" debug="1"/>
          <Context path="/manager" debug="0" privileged="true"
              docBase="/usr/local/jakarta/tomcat/server/webapps/manager">
          </Context>
       </Host>

So i put alfresco war in public_html/alfresco/alfresco.war  but when I point to that it does a download of the war
So I decompressed the war, keeeping everything under the same path
When I point to that directory or to index.jsp I get tomcat saying the resource is not available

"The requested resource (/alfresco/index.jsp) is not available."

Please note I've not configured a database yet, I thought I might see if the basic virtual install works first, perhaps thats needed to get rif of the not available message?

Also, my download is from  alfresco-community-war-2.9.0B.tar .gz

staylor
Champ in-the-making
Champ in-the-making
Is there any answer to this? I am intentionally posting in this thread, because I am in a similar situation. The server I admin is setup the same way but running fedora not centos. Is what is being proposed here possible?

mrogers
Star Contributor
Star Contributor
Yes its possible.    What you will need to do is to make sure each instance of alfresco has its own set of resources (File locations, TCP Ports.)

The biggest problem is the shared class folder which contains your configuration.   A simple work around is to install multiple application servers, one for each instance of alfresco.

However Multi-Tenancy may be a better solution.