Order a VPS, Semi- dedicated or Dedicated server in Dallas, London or Australia.
Ask our support team about your hosting requirements.
Host where the staff takes pride in making customers happy
I could not have completed any of this without your help. I was in over my head a few times with this project (it is the biggest I have ever done) and you guys bailed me out everytime. I have learned so much corresponding with you both. Never have I dealt with a company that had support as helpful, knowledgeable and efficient as your team, in any industry. I will always refer clients your direction and sing your praise any chance I get.
Alfresco
Alfresco is a popular content management system (CMS). It is written in Java.
Standalone Alfresco Installation
The following code will install alfresco on your server.
wget "http://proj.ri.mu/installalfresco.sh"
bash installalfresco.sh
Then browse to "http://yourip:8180/alfresco"
The script sets up alfresco on port 8180 so it does not conflict with the likes of JBoss, Tomcat or Liferay.
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).
Pending: what does alfresco use as its default username/password?
#!/bin/bash
mkdir /usr/local/alfresco
cd /usr/local/alfresco
wget http://optusnet.dl.sourceforge.net/sourceforge/alfresco/alfresco-community-tomcat-1.4.0.tar.gz
tar xzf alfresco-community-tomcat-1.4.0.tar.gz
mysqlpass=$(cat /root/.mysqlp)
mkdir -p tomcat/shared/classes/alfresco/extension.removed
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
adduser -s /sbin/nologin -d /usr/local/alfresco alfresco
wget -O /etc/init.d/tomcat http://proj.ri.mu/javainitscript
ln -sf /etc/init.d/tomcat /etc/init.d/alfresco
replace 8005 8105 8009 8109 8080 8180 -- tomcat/conf/*.xml
/etc/init.d/alfresco start
ip=$(ifconfig | grep --after-context=1 "eth0 " | grep inet | cut -d: -f2 | cut -f1 -d' ')
chkconfig --level 35 $(basename $mysql) on
chkconfig --level 35 alfresco on
echo See alfresco running at "http://$ip:8180/alfresco"
wget -O - "http://$ip:8180/alfresco" --server-response 2>&ampamp1 | grep -qai 'My Alfresco'
if [ $? -eq 0 ]; then echo 'Looks like Alfresco is loading correctly'; else
echo "There could be a problem with Alfresco, it did not load as expected"
fi
Alfresco integrated with Liferay
If you want to install Alfresco as a portlet extension to Liferay, see the liferay install howto.
Alfresco 2.1.0
Run:
cp /usr/local/tomcat/bin/setenv.sh /usr/local/alfresco/tomcat/bin/setenv.sh
and then make the memory numbers higher. This generated a warning in catalina.out:
01:58:01,373 WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING
- maximum heap size 95.313MB is less than recommended 512MB

