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 |
---|
Links til interessante ting:
http://blyx.com/2013/02/18/integration-demo-between-libreoffice-4-and-alfresco-4-with-cmis/
Installation på 64 Bit Ubuntu:
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.
Ret i server.xml for at ændre port 8080 til 80
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/share/
Login virker dog ikke, måske pga. port ændring:
Intet format |
---|
2013-02-26 08:14:41,013 INFO [webscripts.connector.EndpointManager] [http-apr-80-exec-3] Throttled authentication handshake, waiting for reconnect timeout on: http://localhost:8080/alfresco/s
2013-02-26 08:14:41,013 INFO [webscripts.connector.EndpointManager] [http-apr-80-exec-3] Throttled call to: /remoteadm/has/alfresco/site-data/chrome/default-sub-component-chrome.xml?s=sitestore waiting for reconnect timeout on: http://localhost:8080/alfresco/s
2013-02-26 08:14:41,013 INFO [webscripts.connector.EndpointManager] [http-apr-80-exec-3] Throttled authentication handshake, waiting for reconnect timeout on: http://localhost:8080/alfresco/s |
Info |
---|
To forward port 80 requests to port 8080 add the following in old">Alfresco/tomcat/conf/server.xml
<Connector port="80" protocol="HTTP/1.1" URIEncoding="UTF-8" connectionTimeout="20000" redirectPort="8080" /> above: <Connector port="8080" protocol="HTTP/1.1" URIEncoding="UTF-8" connectionTimeout="20000" />
Edit: and the above poster is right, we need to keep 8080, you delete it. I am not sure where it is referenced in Alfresco's Java classes, but it is. |
En Apache med Proxy foran hjalp - samt alfresco er sat tilbage til port 8080:
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/
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:
...