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.
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: \> |
Kodeblok |
---|
sudo smbmount \\\\alfresco.mos-eisley.dk\\alfresco /mnt -o user=bnp,pass=xxxx,rw |
Sharepoint Add
Placer amp fil i /opt/alfresco-4.2.c/amps
Kodeblok |
---|
bnp@hulk:/opt/alfresco-4.2.c/bin$ sudo ./apply_amps.sh This script will apply all the AMPs in amps and amps-share to the alfresco.war and share.war files in /opt/alfresco-4.2.c/tomcat/webapps Press control-c to stop this script . . . Press any other key to continue . . . Module 'org.alfresco.integrations.google.docs' installed in '/opt/alfresco-4.2.c/tomcat/webapps/alfresco.war' - Title: Alfresco Google Docs Integration - Version: 2.0.1 - Install Date: Wed Apr 24 08:12:46 CEST 2013 - Description: Alfresco Docs Integration Module 'org.alfresco.module.vti' installed in '/opt/alfresco-4.2.c/tomcat/webapps/alfresco.war' - Title: Vti - Version: 1.2 - Install Date: Wed Apr 24 08:12:43 CEST 2013 - Description: Alfresco Vti Extension Module 'org.alfresco.integrations.share.google.docs' installed in '/opt/alfresco-4.2.c/tomcat/webapps/share.war' - Title: Alfresco / Google Docs Share Module - Version: 2.0.1 - Install Date: Wed Apr 24 08:12:54 CEST 2013 - Description: The Share side artifacts of the Alfresco / Google Docs Integration. About to clean out /opt/alfresco-4.2.c/tomcat/webapps/alfresco and share directories and temporary files... Press control-c to stop this script . . . Press any other key to continue . . . Cleaning temporary Alfresco files from Tomcat... bnp@hulk:/opt/alfresco-4.2.c/bin$ |
Sharepoint fix http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/edit-online-button-doesnt-work
Kodeblok |
---|
root@hulk:~# /opt/alfresco-4.2.c/java/bin/java -jar /opt/alfresco-4.2.c/bin/alfresco-mmt.jar install alfresco-editonline42c-fix.amp /opt/alfresco-4.2.c/tomcat/webapps/share.war -force - WARNING: The file '/js/alfresco.js' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/03a73073-acdb-11e2-ba54-2dfaf81de142.bin' - WARNING: The file '/js/alfresco-min.js' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/03aa64c4-acdb-11e2-ba54-2dfaf81de142.bin' root@hulk:~# |
Links til interessante ting:
http://blyx.com/2013/02/18/integration-demo-between-libreoffice-4-and-alfresco-4-with-cmis/
List fields: http://forums.alfresco.com/forum/end-user-discussions/alfresco-share/add-extra-column-task-datalist-06292012-0404