Sidehistorik
Alfresco is a "enterprise content management (ECM)" system - theres also a Community Edition, that is free.
The system has a lot of Microsoft Sharepoint resemblemens in term of Objects: Document Library, Site Lists, Wiki, GUI Layout and Interfaces
But is based on Java and Tomcat, and hence: it can be installed on Linux.
Visning af underside |
---|
Indholdsfortegnelse |
---|
Installation på 64 Bit Ubuntu
Download fra alfresco.org
Intet format |
---|
apt-get install ia32-libs
./alfresco-community-4.2.c-installer-linux-x64.bin ---mode text
|
Ellers bare accept af alle default values.
Første opstart tager en del tid, da databasen skal initialiseres:
Intet format |
---|
Feb 26, 2013 8:10:56 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Feb 26, 2013 8:11:04 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
Feb 26, 2013 8:11:06 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/alfresco-4.2.c/tomcat/webapps/host-manager
Feb 26, 2013 8:11:07 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/alfresco-4.2.c/tomcat/webapps/ROOT
Feb 26, 2013 8:11:07 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/alfresco-4.2.c/tomcat/webapps/manager
Feb 26, 2013 8:11:07 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-80"]
Feb 26, 2013 8:11:07 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
Feb 26, 2013 8:11:07 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8443"]
Feb 26, 2013 8:11:07 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 208908 ms |
Serveren er klar på http://hulk.mos-eisley.dk:8080/share/
Det virker ikke at ændre i server.xml til port 80, se https://forums.alfresco.com/forum/general/non-technical-alfresco-discussion/resolving-port-80-instead-8080-09052008-2110
Apache Proxy
En Apache med Proxy foran hjalp:
Intet format |
---|
root@hulk:/opt/alfresco-4.2.c/alf_data# cat /etc/apache2/sites-available/alfrescofront
<VirtualHost *:80>
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
root@hulk:/opt/alfresco-4.2.c/alf_data# |
CIFS
http://andoylang.wordpress.com/2010/07/20/alfresco-with-cifs/
http://wiki.alfresco.com/wiki/CIFS_linux
Fungerende config (hvis Alfresco køres som root)
Intet format |
---|
## CIFS ##
cifs.disableNativeCode=false
cifs.enabled=true
cifs.serverName=alfresco.mos-eisley.dk
cifs.domain=MOS-EISLEY
cifs.hostannounce=true
cifs.sessionTimeout=500
cifs.ipv6.enabled=false
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138
cifs.netBIOSSMB.sessionPort=139
cifs.WINS.autoDetectEnabled=true |
TEst:
Intet format |
---|
apt-get install smbclient
bnp@hulk:/opt/alfresco-4.2.c/tomcat/shared/classes$ smbclient -U admin \\\\127.0.0.1\\alfresco
Enter admin's password:
Domain=[MOS-EISLEY] OS=[Java] Server=[Alfresco CIFS Server 6.0.0]
smb: \> ls
. D 0 Tue Feb 26 18:39:48 2013
.. D 0 Tue Feb 26 18:39:48 2013
__ShowDetails.exe 393216 Tue Feb 26 18:00:58 2013
__CheckInOut.exe 393216 Tue Feb 26 18:00:58 2013
__Alfresco.url 131 Tue Feb 26 18:00:58 2013
Data Dictionary D 0 Tue Feb 26 08:10:23 2013
Guest Home D 0 Tue Feb 26 08:10:10 2013
User Homes D 0 Tue Feb 26 13:28:42 2013
Imap Attachments D 0 Tue Feb 26 08:10:44 2013
Sites D 0 Tue Feb 26 18:40:03 2013
65535 blocks of size 33553920. 32767 blocks available
smb: \>
|
Links til interessante ting:
http://blyx.com/2013/02/18/integration-demo-between-libreoffice-4-and-alfresco-4-with-cmis/