Hardware:
SMP ASUS CUV4X-DLS motherboard (VIA Apollo Pro 133A)
1GZ dual Pentium 3
1GB DDR Ram
6 x 35GB Scsi
2 x 8GB Scsi
Install Centos 5.2
– LVM Storage
– Installed using net install and ISO on external USB
– Server and Server GUI on package selection
Installing Alfresco
Objective: To setup a a basic Alfresco for Files to be available over WCM and Samba. Authentication is just simple but will be ported to OpenLDAP. Afterward, Image repository will be implemented.
yum - y update yum install tomcat5 tomcat5-common-lib tomcat5-jasper \ tomcat5-jsp-2.0-api tomcat5-server-lib tomcat5-servlet-2.4-api openoffice.org-base \ openoffice.org-calc openoffice.org-core openoffice.org-draw openoffice.org-graphicfilter \ openoffice.org-impress openoffice.org-math openoffice.org-writer openoffice.org-xsltfilter \ mysql-server mysql xml-commons-apis wget wget \ http://superb-west.dl.sourceforge.net/sourceforge/alfresco/alfresco-community-war-2.1.0.tar.gz \ http://superb-west.dl.sourceforge.net/sourceforge/alfresco/alfresco-community-sample-extensions-2.1.0.tar.gz \ http://easynews.dl.sourceforge.net/sourceforge/alfresco/alfresco-community-wcm-2.1.0.tar.gz \ http://mirrors.dotsrc.org/jpackage/1.7/generic/non-free/RPMS/java-1.6.0-sun-compat-1.6.0.06-1jpp.i586.rpm \ http://download.softagency.net/MySQL/Downloads/Connector-J/mysql-connector-java-5.1.5.tar.gz ./jdk-6u6-linux-i586-rpm.bin rpm –Uvh java-1.6.0-sun-compat-1.6.0.06-1jpp.i586.rpm alternatives --config java /* put +* on 1.6 */ rpm -qa | grep java sun-javadb-core-10.4.1-3.1 gcc-java-4.1.2-42.el5 java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115 sun-javadb-demo-10.4.1-3.1 java-1.6.0-sun-compat-1.6.0.06-1jpp sun-javadb-common-10.4.1-3.1 sun-javadb-docs-10.4.1-3.1 sun-javadb-javadoc-10.4.1-3.1 java-1.4.2-gcj-compat-1.4.2.0-40jpp.115 sun-javadb-client-10.4.1-3.1 vi /etc/sysconfig/tomcat5 JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx512m" tar -xzf alfresco-community-war-2.1.0.tar.gz chkconfig mysqld on service mysqld start mysql -u root -p < ./extras/databases/mysql/db_setup.sql /* check for the db alfresco if it exist */ mkdir -p /var/lib/alfresco/alf_data/ chown -R tomcat:tomcat /var/lib/alfresco cp mysql-connector-java-5.1.5-bin.jar /usr/share/java/ cd /var/lib/tomcat5/common/endorsed/ rebuild-jar-repository /var/lib/tomcat5/common/endorsed mysql-connector-java-5.1.5-bin.jar cd /opt/alfresco/ cp alfresco.war /var/lib/tomcat5/webapps service tomcat5 start service tomcat5 stop |
Reference:
http://wiki.alfresco.com/wiki/Installing_Alfresco_Community_WAR_on_Centos_5