Sidehistorik
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.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:8080/share/
Login Det 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 fra 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
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. |
Apache Proxy
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# |
...