11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! Francesco Corti Personal blog
Recent posts - A.A.A.R. - PDI CMIS Input - Sparkl tutorial Publications Presentations Links About me
After the high interest of the installation tutorial under Ubuntu plaform, in this post is shared the installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit with Apache Tomcat 7.0.30 and PostgreSQL 9.0.10. The purpose installation is not the bundle installation but a more “robust” for an enterprise configuration. As we like and prefer the installation is a step by step list of commands and tasks… simpler to understand, to do and to test. Hope you’ll be agree.
Before starting… Search … Categories Business Intelligence (36) Pentaho (35) Pentaho Data Integration (Kettle) (23) Pentaho Reporting Designer (15) Configuration manager (1) Enterprise Content Management (54) Alfresco (47) Apache Lucene (1) CMIS (14) OnBase (1) Enterprise Portal (4) Liferay (4) Uncategorized (4) Archives July 2014 June 2014
In this tutorial I use a brand new Windows Server 2008 R2 Standard 64bit installation with a user called ‘alfresco’, different from the Administrator user. Connected as ‘alfresco’ user: Install 7ZIP to manage various types of compressed files. Install Notepad++ to edit text files. Install Adobe Flash Player.
JDK 1.7u7 http://www.oracle.com/technetwork/java/javase/downloads/index.html Download and execute ‘jdk-7u7-windows-x64.exe’. Install the jdk in ‘C:\Alfresco\Java\jdk1.7.0_07\’. Install the jre in ‘C:\Alfresco\Java\jre7\’. Follow
Click on Start -> Digit ‘cmd’ and press enter.
Follow “Francesco Corti” java -version Get every new post delivered to your Inbox. Check the java version described. Join 420 other followers
Right click on ‘Computer’ -> Properties -> Advanced settings -> Environment variables -> New variable with name ‘JAVA_HOME’ and Enter your email address
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
1/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
May 2014 April 2014 March 2014 February 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August 2013 July 2013 June 2013 May 2013 April 2013 March 2013 February 2013 January 2013 December 2012
value ‘C:\Alfresco\Java\jdk1.7.0_07′ -> Press ‘Ok’ and close all. Sign me up
ImageMagick Pow ered6.7.9-4 by WordPress.com To enable image manipulation in Alfresco,
we have to install and
configure ImageMagick. Official site: http://www.imagemagick.org/script/binary-releases.php#windows Binaries: http://imagemagick.spd.co.il/binaries/ First of all download GhostScript 9.06 (gs906w64.exe) used to render PDF documents, from Google Code. Install gs906w64.exe in ‘C:\Alfresco\gs9.06′. Download ‘ImageMagick-6.7.9-4-Q16-windows-x64-static.exe’ from here. ATTENTION: Other ImageMagik versions could not work. Install
‘ImageMagick-6.7.9-4-Q16-windows-x64-static.exe’
in
‘C:\Alfresco\ImageMagick’. MyTwitter (FrkCorti) Set up a Linux installation optimized for Hadoop using @PacktPub's bit.ly/1kNiHSr! #Hadoop #BusinessIntelligence #bigdata 1 week ago
Building #Apache #Hadoop clusters. My review. wp.me/p311BM-Hl @PacktPub 2 weeks ago
RT @javiermartinezr: @FrkCorti at @VenziaIT we are working to save definitely this issue for mostly used Alfresco versions (3/4/5), Communi… 2 weeks ago
@javiermartinezr @VenziaIT It sounds great! Please, let me (and us) informed on it. Also the AAAR solution could benefit
During the installation, check flags: ‘Add application directory to your system path’ and ‘Associate supported file extensions with ImageMagick’. Click on Start -> Digit ‘cmd’.
convert.exe -version
Check the version described.
ffmpeg
Check the version described.
SWFTools 0.9.1 SWFTools is a collection of utilities to work with Adobe Flash files (SWF files). Download it from ‘http://www.swftools.org/download.html‘. Download ‘swftools-0.9.1.exe’ in the Windows section. Install in ‘C:\Alfresco\SWFTools’ for all users. Do not create shortcut or other. Right click on ‘Computer’ -> Properties -> Advanced settings -> Environment variables -> Select ‘Path’ -> Modify -> Add ‘;C:\Alfresco\SWFTools’ at the end -> Press ‘Ok’ and close. Click on Start -> Digit ‘cmd’
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
2/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
on it. ;-) 2 weeks ago
#Solr doesn't return more than 1,000 objects in #Alfresco wp.me/p311BMH3
pdf2swf.exe -V
Check the version described.
LibreOffice Windows, version 3.5.7, English (GB)
2 weeks ago
Follow @FrkCorti
LibreOffice is used to manage office documents. Download site: http://www.libreoffice.org/download Previous versions: http://www.libreoffice.org/download/?nodetect Download and execute ‘LibO_3.5.7_Win_x86_install_multi.msi’. Install for all the users. Custom installation. Install in ‘C:\Alfresco\LibreOffice\’. Leave defaults (desktop link apart). Click on Start -> Digit ‘cmd’.
C:\Alfresco\LibreOffice\program\soffice.exe
LibreOffice will start. Let’s discuss about tuning. Alfresco requires that Office runs headless as a hidden process. To do that: Click on Start -> Digit ‘cmd’.
C:\Alfresco\LibreOffice\program\soffice.exe "-accept=socket,host=loca lhost,port=8101;urp;StarOffice.ServiceManager" -nologo -headless
To check the Office processes: open the task manager where there are two different processes called “soffice.exe *32″ and “soffice.bin *32″. Select “soffice.exe *32″ and terminate the process. Also the other will be terminated. Click on Start -> Digit ‘notepad++.exe C:\Alfresco\LibreOffice\start_oo.bat’ and create a new file.
@echo off rem ----------------------------rem -
-
rem - START Resident OpenOffice rem -
-
rem ----------------------------C:\Alfresco\LibreOffice\program\soffice "-accept=socket,host=localhos http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
3/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
t,port=8101;urp;StarOffice.ServiceManager" -nologo -headless
Save and exit. Click on Start -> Digit ‘C:\Alfresco\LibreOffice\start_oo.bat’. ATTENTION: A command window will be opened with no content and never closed. Don’t worry, close it and everything will be fine. Open the task manager and check again the two processes: “soffice.exe *32″ and “soffice.bin *32″. ATTENTION: Restarting the system, the Office headless processes will not restart. Remeber to execute the ‘start_oo.bat’ script otherwise no preview or Office documents will be managed by Alfresco.
PostgreSQL 9.0.10 Download
from
‘http://www.enterprisedb.com/products-services-
training/pgdownload#windows‘. Execute the installation. Install in ‘C:\Alfresco\PostgreSQL\9.0′. Set data folder as ‘C:\Alfresco\PostgreSQL\9.0\data’. Choose your own password. Press next, next, next… No added packages with StackBuilder. Now it’s time to customize the PostgreSQL installation for Alfresco. Click on Start -> PostgreSQL 9.0 -> SQL shell (psql) Login as default user
CREATE ROLE alfresco WITH PASSWORD 'alfresco' LOGIN; CREATE DATABASE alfresco WITH OWNER alfresco;
\q to exit Click on Start -> PostgreSQL 9.0 -> SQL shell (psql) Login as ‘alfresco’ user on the ‘alfresco’ db with password ‘alfresco’.
ALTER USER alfresco WITH PASSWORD 'alfresco';
\q to exit
Tomcat 7.0.30 http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
4/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Download from ‘http://tomcat.apache.org/‘. Download ‘Tomcat 7.0′ -> Quick Navigation -> Archives -> 7.0.30 -> bin -> apache-tomcat-7.0.30-windows-x86.zip Unzip it in ‘C:\Alfresco’ and rename ‘apache-tomcat-7.0.32′ in ‘tomcat’. Click on Start -> Digit ‘cmd’
cd C:\Alfresco\tomcat\bin startup.bat
A command window will be opened with inside all the execution logs of the Tomcat start. At the end, after few seconds, open a browser to the url: http://localhost:8080/ To stop the Tomcat server, in the command window, execute:
shutdown.bat
Let’s customize the Tomcat installation for Alfresco. Click on Start -> Digit ‘C:\Alfresco\tomcat\conf’. Copy ‘catalina.properties’ in ‘catalina.properties.orig’. Click
on
Start
->
Digit
‘notepad++.exe
C:\Alfresco\tomcat\conf\catalina.properties’ Replace the ‘shared.loader’ line, initially set empty, to this value
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared /lib/*.jar
Save and exit. Copy ‘server.xml’ in ‘server.xml.orig’. Click on Start -> Digit ‘notepad++.exe C:\Alfresco\tomcat\conf\server.xml’ Add ‘URIEncoding=”UTF-8″‘ to:
Save and exit. Click on Start -> Digit ‘C:\Alfresco\tomcat\conf’. Copy ‘context.xml’ in ‘context.xml.orig’. Click on Start -> Digit ‘notepad++.exe C:\Alfresco\tomcat\conf\context.xml’ Add this line between the ‘’ starting and closing tag.
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
5/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Save and exit. From the Alfresco package ‘alfresco-community-4.2.c.zip’ extract the ‘postgresql-9.0-802.jdbc4′ from the ‘web-server\lib’ folder and copy it in ‘C:\Alfresco\tomcat\lib’.
Alfresco Community 4.2.c Click on Start -> Digit ‘C:\Alfresco\tomcat’ Create folder ‘endorsed’. Create folder ‘shared’. Create folder ‘shared/classes’. Create folder ‘shared/lib’. Unzip the ‘alfresco-community-4.2.c.zip’ package in ‘C:\Alfresco\tomcat’. Move all the content of the folder ‘web-server/endorsed’ in ‘endorsed’. Move all the content of the folder ‘web-server/shared’ in ‘shared’. Move all the content of the folder ‘web-server/webapps’ in ‘webapps’. Delete the file ‘README.txt’. Delete the folder ‘web-server’. Right click on ‘Computer’ -> Properties -> Advanced settings -> Environment
variables
->
Select
‘Path’
->
Modify
->
Add
‘C:\Alfresco\tomcat\bin’ -> Press ‘Ok’ and close. Click on Start -> Digit ‘C:\Alfresco\tomcat\shared\classes’ Copy ‘alfresco-global.properties.sample’ in ‘alfresco-global.properties’ Click on Start -> Digit ‘notepad++.exe C:\Alfresco\tomcat\shared\classes\alfresco-global.properties’. Change the settings as described below, leaving all the rest not modified.
... dir.root=C:\\Alfresco\\alf_data # IMPORTANT: Leave the comment on the dir.keystore property. ... db.username=alfresco db.password=alfresco ... # # External locations #------------# LibreOffice installation ooo.exe=C:\\Alfresco\\LibreOffice\\program\\soffice.exe ooo.enabled=true jodconverter.officeHome=C:\\Alfresco\\LibreOffice jodconverter.portNumbers=8101 jodconverter.enabled=true # ImageMagick installation img.root=C:\\Alfresco\\ImageMagick http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
6/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
img.exe=C:\\Alfresco\\ImageMagick\\convert.exe # SWFTools exe swf.exe=C:\\Alfresco\\SWFTools\\pdf2swf.exe ... db.schema.update=true ... db.driver=org.postgresql.Driver db.url=jdbc:postgresql://localhost:5432/alfresco ... index.recovery.mode=AUTO ... authentication.chain=alfrescoNtlm1:alfrescoNtlm ... alfresco.rmi.services.host=0.0.0.0 ...
Save and exit. Now it’s time to define the start/stop script. Click on Start -> Digiti ‘notepad++.exe C:\Alfresco\alfresco.bat’ Of course create it with this content.
@echo off rem --------------------------rem -
-
rem - Start and Stop Alfresco rem -
-
rem --------------------------set ALF_HOME=C:\Alfresco set CATALINA_HOME=%ALF_HOME%\tomcat set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx768m -Xss768m -server -XX:MaxP ermSize=256M if /I "%1"=="start" goto :start if /I "%1"=="stop" goto :stop echo Usage: alfresco.bat [start stop] goto :end :start %CATALINA_HOME%\bin\startup.bat goto :end :stop %CATALINA_HOME%\bin\shutdown.bat goto :end :end
Save and exit. Click on Start -> Digit ‘cmd’ -> Right click on ‘cmd’ and execute it as http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
7/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
administrator.
cd C:\Alfresco alfresco.bat start
A command window will be opened with inside all the execution logs of the Alfresco start. Some minutes should be enough… During bootstrap no error should appear. At
the
end,
open
a
browser
and
access
to
the
url
‘http://localhost:8080/share’. Last
but
not
least,
remember
to
copy
‘C:\Alfresco\tomcat\bin\Win32NetBIOSx64.dll’ in ‘C:\Windows\System32′. This is usefull to make work the CIFS access to Alfresco on this Windows platform. That’s all… Francesco Corti About these ads
You May Like 1.
Share this:
Twitter
LinkedIn
Facebook
Reddit
StumbleUpon
Google
Email
Print
Related
Step by step installation of Alfresco Community 4.2.c on Ubuntu 12.04 LTS minimal 64bit... please, no bundle! In "Alfresco" http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
Step by step installation of Liferay 6.1.1 CE GA2 on Ubuntu 12.04 LTS 64bit and Tomcat 7... no bundle please! In "Enterprise Portal"
Step by step installation of Liferay 6.1.1 CE GA2 on Ubuntu 12.04 LTS 64bit and JBoss 7… no bundle please! In "Enterprise Portal" 8/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Posted on 11/03/2013 by Francesco Corti. This entry was posted in Alfresco, Enterprise Content Management and tagged java, postgresql, tomcat, tutorial, windows. Bookmark the permalink.
← New A.A.A.R. Alfresco audit analysis and reporting v1.2 release
Pentaho Data Integration CMIS Input plugin →
55 thoughts on “Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle!”
Orion — 27/06/2013 at 17:06
What permission level do you give the ‘alfresco’ user? Or to ask another way, which security group(s) is the user a member of? Reply
Francesco Corti — 27/06/2013 at 17:15
Hi Orion, I usually add the alfresco user to the sudoers to correctly install everything is necessary. I usually create the alfresco user with the default alfresco group without specific permits. Hope this help you. Reply
Orion — 28/06/2013 at 02:30
Thank you for your quick response. But you stated “In this tutorial I use a brand new Windows Server 2008 R2 Standard 64bit installation with a user called ‘alfresco’, different from the Administrator user. Connected as ‘alfresco’ user:” So, this is about installing on a windows server, correct? So when you create a new user called Alfresco, it will be a member of a windows security group…so my question is, what should it be a member of? http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
9/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Reply
Francesco Corti — 28/06/2013 at 08:03
Hi Orion, I apologize but I thought this tutorial was the one on the Linux platform so I gave you the wrong answer for the Windows platform. SOrry for this. Back to your question: in our cases we set the alfresco user as Administrator type but we avoid to use the default Administrator user. Let me know if you find or set the user in a different way… and Alfresco runs fine. Reply
ecmexplorer — 29/07/2013 at 23:03
Hi, Francesco — Thanks for the great document: it’s very helpful. I’m far enough along that I’m trying to resolve the “Win32NetBIOSx64″ issue. I don’t seem to be able to find a copy of this file as a result of unpacking the Alfresco 4.2.c WAR zip file, or in our Tomcat-7 stuff. Can you provide any additional information about this guy — or how to disable the need for it in Alfrescoglobal.properties, please? Thanks for your time. Don Reply
Francesco Corti — 29/07/2013 at 23:32
Hi Don, Thank you for your feedback. I suggest you to find the dll and use it in the way the installation needs. You can find it in the alfresco’s zip file in the ‘bin’ directory. http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
10/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Alternatevely there are several websites containing it, for example: http://fossies.org/linux/www/alfresco/alfresco-community4.2.c.zip/index_st.html If you will not find it, let me know and I’ll send you by email. I hope this help you. Reply
ecmexplorer — 30/07/2013 at 15:25
Hi, again, Francesco — Thanks for the speedy reply, and for reminding me of the zip file. I had unpacked the WAR file from it several weeks ago and had then dismissed the zip file. I’ve been putting together a document like yours for a few weeks now, and just saw yours yesterday. After reading yours, I doubt there’s much that you don’t already know. Still, one thing that I learned when trying to address our SSL needs for our Alfresco server is to create the Tomcat server’s certificate request with a “Subject Alternative Name” (“SAN”) entry: this allows users to specify the alfresco sever’s URL as, say, “https://alfrescoServer.yourCompany.com/alfresco” or “https://alfrescoServer/alfresco” without annoying the browser. Perhaps you already knew this as well, but I hope it may be some return for what you’ve provided. In any case, thanks for the great document: it was very helpful to me. Don
Mark Dix — 17/09/2013 at 12:29
Hi Francesco Great Article. How do you setup Tomcat so it runs as a service and does not get killed when the alfresco user logs out i.e. how do you change the user to a system user? Have you ever setup Alfresco using MySQL DB?
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
11/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Thanks Mark Reply
Francesco Corti — 17/09/2013 at 12:43
Hi Mark, Thank you for your feedback. Regarding your first question: even if you run alfresco from a command line, when you logout as alfresco user, the tomcat still continue to work correctly. If you want to do something like ‘service alfresco start’ to run alfresco you can edit a new file ‘/etc/init.d/alfresco’ with this content: #!/bin/sh -e ALFRESCO_SCRIPT=”/opt/alfresco/alfresco.sh” if [ "$1" = "start" ]; then su – alfresco “${ALFRESCO_SCRIPT}” “start” elif [ "$1" = "stop" ]; then su – alfresco “${ALFRESCO_SCRIPT}” “stop” elif [ "$1" = "restart" ]; then su – alfresco “${ALFRESCO_SCRIPT}” “stop” su – alfresco “${ALFRESCO_SCRIPT}” “start” else echo “Usage: /etc/init.d/alfresco [start|stop|restart]” fi In production environment, please remember to put the ‘service alfresco start’ in the ‘rc.local’ file. Regarding the second question, about MySql, of course yes! Alfresco works perfectly even with MySql. The approach to scripts/services/installation are exactly the same of the article but with custom commands for the different database and few different configurations for it. Hope this will help you. Reply
stalin louis — 22/01/2014 at 11:29
Hi Francesco Corti
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
12/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Thanks for the great document: it’s very helpful. But I got a Error message is : Your authentication details have not been recognized or Alfresco may not be available at this time Thanks for your time Stalin Louis Reply
Francesco Corti — 22/01/2014 at 11:46
Hi, Thank for the feedback. This message happens when Alfresco has some kind of problems. Probably the installation steps fail in some place. I suggest you to check the Alfresco logs. Reply
stalin louis — 24/01/2014 at 12:03
Hi Francesco Corthi.. Thanks for your speedy reply.now it’s working properly.But i have one more doubts,i need to install Record management amp files in my Alfresco Community 4.2.e version… tell me any possible guide link thanks for your time
Francesco Corti — 25/01/2014 at 12:12
There is a guide in the Alfresco wiki. Reply
Francesco D'Agostino — 02/02/2014 at 11:16
Hi, I state that I am a neophyte in Alfresco, but why you use a 32 bit http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
13/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
version of tomcat instead of 64 bit? Great tutorial … best .. Reply
Francesco Corti — 02/02/2014 at 18:49
Hi Francesco, I answere in the CoseNonJaviste website… I confirm you here this is a good question. Reply
Leon — 20/02/2014 at 04:37
Hi Franseco Corti i had some question about cifs on windows 7, so i had a problem when i trying to access the cifs it need authentication user and password but when i insert the password and username i got that the authentication failed, do i need to copy Win32NetBIOSx64.dll to system32 since i install alfresco not community but enterprise? and if it’s not what should i configure so i could use cifs on windows 7? because i red on alfresco forum they said i should uninstall file and printer sharing what do you think? Reply
Francesco Corti — 20/02/2014 at 10:07
Hi Leon, The dll is requested in both the edition (Community and Enterprise). Did you investigate on the alfresco-global.properties file? I suggest you to post a request on the Alfresco forum. Cheers. Reply
stalin louis — 06/03/2014 at 12:08
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
14/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Hi Francesco Great Article. I want plugin Activiti on my Alfresco Community 4.2.c ,I Want to add a new Workflow. How to add the plugin And Customize Workflow,kindly provide the solution for this… Thanks & Regards Stalin Louis Reply
Francesco Corti — 06/03/2014 at 14:22
Hi, Thank you for the feedback. Workflow is a very different topic respect to the installation. Try to take a look here: http://ecmarchitect.com/archives/2012/02/20/1552 Reply
Safaa Zao — 12/03/2014 at 13:02
Hi think you for your great Article I have followed this tutorial step by step ,i have access to the authentification page of alfresco ,but i still not able to be authentified i try the default username and password ADMIN ADMIN but it doesn’t work ,have u a suggestion? Reply
Francesco Corti — 18/03/2014 at 23:11
Hi Safaa, Usually, when you cannot login with the admin user, the installation is corrupted in some way. I suggest you to take a look at the log file (catalina.out). Reply
Azl — 18/03/2014 at 03:37
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
15/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Hi Fransesco, Great tutorial! But I’ve problem about first Authentication user/pass into Alfresco after installation. I typed username and password. When I press login button, it’s nothing happened. The Login button was disabled. How could I fix this error? Thanks and Regards, Azl Reply
Francesco Corti — 18/03/2014 at 23:39
Hi Azl, The problem could be because you use an unsupported version of the browser. Please, try using Firefox or Chrome. Reply
Azl — 19/03/2014 at 00:27
Hi Francesco, Yes, by using Firefox I see the error message exactly “The remote server may be unavailable or your authentication details have not been recognized.” When I checked the alfresco.log: WARN [org.hibernate.cfg.SettingsFactory] Could not obtain connection metadata org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class ‘org.postgresql.Driver’ I’ve tried copy jar JDBC driver into TOMCAT_HOME/lib but it doesn’t work properly. Have you any suggestion? Thanks and Regards, Azl
Francesco Corti — 19/03/2014 at 08:15
Ok, in this case the installation is not working properly because of the PostgreSql driver. I suggest you to check the installation steps one more time. http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
16/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
I hope this will help you.
Mark — 18/03/2014 at 11:40
Dear Francesco , I understand now. Thanks you so much for valuable post. Reply
Mark — 20/03/2014 at 03:48
Hello Francesco I followed step by step installation. Now I can see login page in http://localhost:8080/share/page. But i cannot connect with database. I have not see ‘alf_data’ under C:\\Alfresco. Guide me please. Reply
Mark — 20/03/2014 at 08:45
i can pass now . I install again from start and check detail. It’s my bad. In fact, I have error that [Error: missing 'server' JVM at 'C:\Alfresco\Java\jre7\bin\server\jvm.dll'] . Now i solved it and i get alf_data. Sorry for my interrupt again and again . I am just a beginner and i have your post only one to refrence. Thanks you so much . Now i have only problem that [java.lang.OutOfMemoryError: PermGen space] . i will fix that and i think i can run successfully . Reply
Francesco Corti — 20/03/2014 at 09:08
Hi Mark, I suggest you to set the JAVA_OPT S parameter in the script that runs alfresco (alfresco.bat). I hope this helps you.
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
17/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Mark — 20/03/2014 at 10:19
Dear Francesco, finally i can run it because of you. Today i really thanks you . Wish you all the best Best Regards, Mark
Francesco Corti — 20/03/2014 at 10:38
Cool! Thank you for the feedback and enjoy Alfresco.
Abolade Olajohn — 09/07/2014 at 15:02
Yes, you understand now, but please, what did you do? It may help other. This whole thing is about providing solution. Thank you. Reply
amou — 16/04/2014 at 11:17
Hi, At first I want to thank you for this tutorial, it is very helpful I want to know how can i log in as an administrator for alfresco after this installation Reply
Francesco Corti — 16/04/2014 at 11:20
Hi, You are welcome! Login: admin Password: admin Reply
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
18/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
amou — 16/04/2014 at 13:14
Dear Francesco , thank you very much after this installation?
have you tried to configure ldap authentication
Reply
Francesco Corti — 16/04/2014 at 14:16
Of course. Take a look here: http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems Reply
amou — 16/04/2014 at 15:48
Dear Francesco , The problem that i don’t find the directory tomcat/webapps/alfresco after this installation to configure the authentication. Reply
Francesco Corti — 16/04/2014 at 21:35
Hi, You don’t have the directory only if you didn’t start Alfresco for the first time. Reply
amou — 18/04/2014 at 11:30
Hi Francesco, The LDAP authentication works perfectly, thank you for your quick responses. Now, I will try the external authentication with OpenAM Reply http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
19/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Francesco Corti — 18/04/2014 at 11:32
Good job! Reply
Monendra — 12/05/2014 at 10:08
Hi Francesco, I was struggling with the installation finally your blog saved my life. Thanks for such an explanatory article, now I am able to login to share and alfresco explorer. But As I am new Bee and i have a requirement to setup the same in Enterprise edition. But nowhere i am able to find “alfresco-enterprise4.2.zip” file. Can you please tell me is it possible to setup enterprise edition the same way? If yes, can you please help me with that? Thanks in advance Monendra Reply
Francesco Corti — 12/05/2014 at 10:43
Hi Monendra, I’m happy you find the tutorial useful. You can download the zip file for the Enterprise distribution in the partners section of Alfresco otherwise you are not authorize to use and install it (except for a trial of 30 days). Cheers. -F Reply
Ivan — 05/06/2014 at 10:17
hi Francesco, thank you for this informative tut. I am having issue with the browser, it looks something to do with the CSS but I am not sure. when I open the admin dashboard (using Chrome & http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
20/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Mozilla) the half of “my Dashboard” button in the top left corner is missing plus when I am resizing the page its not showing any horizontal scroll bar which make the page contents looks like pasta with white sauce. i am using community edition 4.2 any suggestions ? thanks Ivan Reply
Francesco Corti — 06/06/2014 at 07:37
Hi Ivan, The Alfresco community edition is certified on a (very) limited stack. Even if the presentation is quite old, you can take a look here (slide 15): http://www.slideshare.net/alfresco/ecm-decisionmatrix-deciding-between-alfresco-community-edition-alfrescoenterprise-edition-and-traditional-proprietary-ecm. And even if the Alfresco CE is certified, some bugs could be possible (slide 11). Summarizing… I didn’t find the problem you tell me into my (several) installations of Alfresco CE 4.2 but it could depend on your exact version installed (4.2.a, 4.2.c, 4.2.f, ecc.). You cannot tollerate this? The only and final answer is: get the Enterprise Edition! Reply
kael — 02/07/2014 at 12:14
hi Francesco thank you for your tutorial i just have one question , i want to install alfresco on windows 7 x86 and i just want know if i can do it with the step of your turtorial and x86 version of different requiere component Best Regards Reply
Francesco Corti — 02/07/2014 at 19:10
I didn’t try this… but I don’t expect problems. Please, let us know if there is something wrong in it. http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
21/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Thanks! Reply
kael — 02/07/2014 at 20:12
thank you for your reply and availability I therefore remains awaiting a response to my concern
bhupathya — 10/07/2014 at 07:15
does the above tutorial suits for installing alfresco commmunity 5.0.a.. pls helpp.. Reply
Francesco Corti — 10/07/2014 at 08:06
Hi, I would like to develop a new version of the tutorial but you can suppose the steps are more or less the same. Please, share the precise steps once you test into your environment so other people could benefit. Thank you for contribution. Reply
BHUPATHY A P — 10/07/2014 at 07:18
sir, how to install community5.0.a in windows environment..pls guide me… Reply
Francesco Corti — 10/07/2014 at 08:07
Hi, You can start with the installation wizard. I hope this helps you. Reply http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
22/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Alexis — 08/08/2014 at 08:04
Francesco thank you for the post. I am facing an issue though. In the last step during the execution of the command “alfresco.bat.start” i get an error ermSize is not recognized as an internal or external command, operable program or batch file. Do you guess why I am facing this issue? Thanks! Reply
Francesco Corti — 08/08/2014 at 08:34
Hi Alexis, Probably you typed wrongly the “permsize” parameter. Please, double check in the script. Reply
Rida — 09/08/2014 at 13:42
Hi Francesco Corti thanks for the installation guide. I did install it on windows 7 using the lateset alfresco community 5 version. everything works fine except the startup time it takes in the browser. when i launch http://localhost:8080/share or alfresco first time it takes about 4 minutes to start .My Java_OPTS are set to 512 and 768 . My Pc has 4 gb ram .what will make it faster . Rida Reply
Francesco Corti — 09/08/2014 at 13:47
Hi Rida, Nice test for this tutorial! http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
23/24
11/8/2014
Step by step installation of Alfresco Community 4.2.c on Windows Server 2008 R2 Standard 64bit… please, no bundle! – Francesco Corti
Thank you for sharing your experience. Regarding your question: Alfresco is always a little bit slow during the startup and the very first time it takes more time because of the database setup. So, my first suggestion is to measure the startup time in the second time, not before. In every case, if you want to make the startup faster, you can set up: -Xmx3G -XX:MaxPermSize=256M (you can take a look at https://wiki.alfresco.com/wiki/JVM_Tuning) Cheers, -F Reply
Leave a Reply Enter your comment here...
Blog at WordPress.com. The Publish Theme.
http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/
24/24