<rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xml:base='http://bliki.rimuhosting.com/rdf'>
    <s:Snip rdf:about='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/java/alfresco+install'
         s:cUser='retep'
         s:oUser=''
         s:mUser='alex'>
        <s:name>knowledgebase/linux/java/alfresco install</s:name>
        <s:content>1 Standalone Alfresco Installation&#xD;&#xA;&#xD;&#xA;The following code will install alfresco on your server.&#xD;&#xA;&#xD;&#xA;{code}&#xD;&#xA;wget &quot;http://proj.ri.mu/installalfresco.sh&quot;&#xD;&#xA;bash installalfresco.sh&#xD;&#xA;{code}&#xD;&#xA;&#xD;&#xA;Then browse to &quot;http://yourip:8180/alfresco&quot;&#xD;&#xA;&#xD;&#xA;The script sets up alfresco on port 8180 so it does not conflict with the likes of JBoss, Tomcat or Liferay.&#xD;&#xA;&#xD;&#xA;The wget-able file (above) will the be the newest version of the following code (which will likely now be out of date - but will give you the gist of what the script will run).&#xD;&#xA;&#xD;&#xA;Pending: what does alfresco use as its default username/password?&#xD;&#xA;&#xD;&#xA;{code}&#xD;&#xA;#!/bin/bash&#xD;&#xA;mkdir /usr/local/alfresco&#xD;&#xA;cd /usr/local/alfresco&#xD;&#xA;wget http://optusnet.dl.sourceforge.net/sourceforge/alfresco/alfresco-community-tomcat-1.4.0.tar.gz&#xD;&#xA;tar xzf alfresco-community-tomcat-1.4.0.tar.gz&#xD;&#xA;mysqlpass=$(cat /root/.mysqlp)&#xD;&#xA;&#xD;&#xA;mkdir -p tomcat/shared/classes/alfresco/extension.removed&#xD;&#xA;mv tomcat/shared/classes/alfresco/extension/custom-db-and-data-context.xml tomcat/shared/classes/alfresco/extension/custom-db-connection.properties tomcat/shared/classes/alfresco/extension/custom-hibernate-dialect.properties tomcat/shared/classes/alfresco/extension.removed&#xD;&#xA;&#xD;&#xA;adduser -s /sbin/nologin -d /usr/local/alfresco alfresco&#xD;&#xA;wget -O /etc/init.d/tomcat http://proj.ri.mu/javainitscript&#xD;&#xA;ln -sf /etc/init.d/tomcat  /etc/init.d/alfresco&#xD;&#xA;replace 8005 8105 8009 8109 8080 8180 -- tomcat/conf/*.xml&#xD;&#xA;/etc/init.d/alfresco start&#xD;&#xA;ip=$(ifconfig | grep --after-context=1 &quot;eth0 &quot; | grep inet | cut -d: -f2 | cut -f1 -d&apos; &apos;)&#xD;&#xA;chkconfig --level 35 $(basename $mysql) on&#xD;&#xA;chkconfig --level 35 alfresco on&#xD;&#xA;echo See alfresco running at &quot;http://$ip:8180/alfresco&quot;&#xD;&#xA;wget -O - &quot;http://$ip:8180/alfresco&quot; --server-response  2&gt;&amp;1 | grep -qai &apos;My Alfresco&apos;&#xD;&#xA;if [ $? -eq 0 ]; then echo &apos;Looks like Alfresco is loading correctly&apos;; else&#xD;&#xA;        echo &quot;There could be a problem with Alfresco, it did not load as expected&quot;&#xD;&#xA;fi&#xD;&#xA;&#xD;&#xA;{code}&#xD;&#xA;&#xD;&#xA;1 Alfresco integrated with Liferay&#xD;&#xA;&#xD;&#xA;If you want to install Alfresco as a portlet extension to Liferay, see &#xD;&#xA;[knowledgebase/linux/java/liferay install on tomcat 5.5]&#xD;&#xA;&#xD;&#xA;1 Alfresco 2.1.0&#xD;&#xA;I had to &#xD;&#xA;{code}&#xD;&#xA;cp /usr/local/tomcat/bin/setenv.sh /usr/local/alfresco/tomcat/bin/setenv.sh &#xD;&#xA;{code}&#xD;&#xA;and then make the memory numbers higher.  This generated a warning in catalina.out: &#xD;&#xA;{code}&#xD;&#xA;01:58:01,373 WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING&#xD;&#xA; - maximum heap size 95.313MB is less than recommended 512MB {code}&#xD;&#xA;</s:content>
        <s:mTime>2007-09-24 22:10:41.0</s:mTime>
        <s:cTime>2007-02-02 20:03:55.0</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/java'/>
                <rdf:li rdf:resource='#snipsnap-search'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux'/>
                <rdf:li rdf:resource='#knowledgebase'/>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/ruby on rails'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/java/-Xmx settings'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/java/liferay install on tomcat 5.5'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/distros/RHEL 4'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/distros/ubuntu'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/auto-restart'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#SnipSnap/config'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/webserver/apache/mod_jk'/>
                <rdf:li rdf:resource='#jetty'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/postgresql notes'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/moinmoin'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/sugarcrm'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/rimuhosting/rimuhosting ssh access'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/misc/where has my disk space gone'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
