You are not logged in.

#1 2011-05-17 13:52:52

bnordgren
Member
Registered: 2009-11-21
Posts: 6

Alfresco content management

It being the time of year to update our webserver, I packaged the current version of Alfresco. The previous packaging of Alfresco in the AUR was essentially an Alfresco-in-Tomcat deployment, which is more or less what is offered on the Alfresco site. That packaging has been orphaned. Rather than adopt the orphans, I've submitted the packages I'm using on our webserver. I package just the webapps instead of installing an alfresco-specific instance of Tomcat. The configuration goes under /etc/webapps/alfresco, the warfiles are in /usr/share/webapps/alfresco, and if you happen to have the tomcat6 package from the AUR installed, I've got a thin layer of symlinks and xml to point tomcat in the correct direction. You can also do this by hand, of course. If you want to put it in a different servelet container, you can do that too; I've tried to make the packaging container-neutral. The base module includes both the repository and the "share" web applications.

I also made a mysql-connector-j package just in case you want to use mysql as a backend. After installing, you'll have to copy or link it from /usr/share/java/mysql* to the "lib" directory of your servelet container. Clearly, if you decide to use Postgresql instead, build the postgresql-jdbc package and copy that jar to the lib directory.

You have a small amount of configuration to do before things will work. /etc/webapps/alfresco/conf/alfresco-global.properties.sample needs to be copied/moved to a file without the trailing ".sample".  See alfresco site for instructions.

Licensing is complicated, due to the fact that Alfresco bundles the kitchen sink. So I marked it "custom" and just copied their entire licensing directory over.

Alfresco has it's own modular extensions framework called "Alfresco Module Packages (AMP)s" I've packaged two "official" AMPs in separate packages: dod5015 records management, and the SharePoint protocol. Both install the amps in the /usr/share/webapps/alfresco/{amps,amps_share} directories (for the repository and share apps, respectively). After adding AMPs (official or otherwise) to these directories, run "apply_amps.sh" to insert them into the warfiles, making sure that the servelet container is not running, and deleting the "expanded" version of the webapp under /srv/tomcat/webapps. The "module management tool" (mmt) is also available from the command line, should you choose to poke about manually.

Packages:

  • alfresco-community-base

  • alfresco-community-dod5015

  • alfresco-community-spp

  • alfresco-community-tomcat6

  • mysql-connector-j

This is my first time delving into submitting packages, so if I did something wrong, let me know.

Bryce

Offline

Board footer

Powered by FluxBB