Вы находитесь на странице: 1из 34

Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.

com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

11 Step by step installation of Alfresco Community 4.2.c on


MAR
Windows Server 2008 R2 Standard 64bit please, no bundle!

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 conguration. 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 youll be agree.

Before starting
In this tutorial I use a brand new Windows Server 2008 R2 Standard 64bit installationwith a user called alfresco, dierent
from the Administrator user. Connected as alfresco user:

Install 7ZIPto manage various types of compressed les.


Install Notepad++to edit text les.
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:AlfrescoJavajdk1.7.0_07.

1 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

java -version

Check the java version described.


Right click on Computer -> Properties -> Advanced settings -> Environment variables -> New variable with name
JAVA_HOME and value C:AlfrescoJavajdk1.7.0_07 -> Press Ok and close all.

ImageMagick6.7.9-4
To enable image manipulation in Alfresco, we have to install and congureImageMagick.
Ocial 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.
Installgs906w64.exe in C:Alfrescogs9.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.exein C:AlfrescoImageMagick.


During the installation, check ags: Add application directory to your system path and Associate supported le
extensions withImageMagick.
Click on Start -> Digit cmd.

convert.exe -version

Check the version described.


This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

2 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT


Check the version described.

SWFTools 0.9.1
SWFTools is a collection of utilities to work with Adobe Flash les (SWF les).
Download it from http://www.swftools.org/download.html.

Download swftools-0.9.1.exe in the Windows section.


Install in C:AlfrescoSWFTools for all users.
Do not create shortcut or other.
Right click on Computer -> Properties -> Advanced settings -> Environment variables -> Select Path -> Modify -> Add
;C:AlfrescoSWFTools at the end -> Press Ok and close.
Click on Start -> Digit cmd

pdf2swf.exe -V

Check the version described.

LibreOce Windows, version 3.5.7, English (GB)


LibreOceis used to manage oce documents.
Download site:http://www.libreoce.org/download
Previous versions:http://www.libreoce.org/download/?nodetect

Download and execute LibO_3.5.7_Win_x86_install_multi.msi.


This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

3 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

C:AlfrescoLibreOfficeprogramsoffice.exe

LibreOce will start.

Lets discuss about tuning.Alfresco requires that Oce runs headless as a hidden process. To do that:

Click on Start -> Digit cmd.

C:AlfrescoLibreOfficeprogramsoffice.exe "-accept=socket,host=localhost,port=8101;
urp;StarOffice.ServiceManager" -nologo -headless

To check the Oce processes: open the task manager where there are two dierent processes called soce.exe
*32 and soce.bin *32.
Select soce.exe *32 and terminate the process. Also the other will be terminated.
Click on Start -> Digit notepad++.exe C:AlfrescoLibreOcestart_oo.bat and create a new le.

@echo off

rem -----------------------------
rem - -
rem - START Resident OpenOffice -
rem - -
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

4 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Save and exit.


Click on Start -> Digit C:AlfrescoLibreOcestart_oo.bat.

ATTENTION: A command window will be opened with no content and never closed. Dont worry, close it and everything will
be ne.

Open the task managerand check again the two processes: soce.exe *32 and soce.bin *32.

ATTENTION:Restarting the system, the Oce headless processes will not restart. Remeber to execute the start_oo.bat
script otherwise no preview or Oce 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:AlfrescoPostgreSQL9.0.
Set data folder as C:AlfrescoPostgreSQL9.0data.
Choose your own password.
Press next, next, next
No added packages withStackBuilder.

Now its time to customize the PostgreSQL installation for Alfresco.

Click on Start -> PostgreSQL 9.0 -> SQL shell (psql)


Login as default user

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

5 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

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';

qto exit

Tomcat 7.0.30
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:Alfrescotomcatbin
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:

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

6 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Click on Start -> Digit C:Alfrescotomcatconf.


Copy catalina.properties in catalina.properties.orig.
Click onStart -> Digit notepad++.exe C:Alfrescotomcatconfcatalina.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:Alfrescotomcatconfserver.xml
Add URIEncoding=UTF-8 to:

<Connector port="8080" protocol="HTTP/1.1"...

Save and exit.


Click on Start -> Digit C:Alfrescotomcatconf.
Copy context.xml in context.xml.orig.
Click onStart -> Digit notepad++.exe C:Alfrescotomcatconfcontext.xml
Add this line between the <Context> starting and closing tag.

<Valve className="org.apache.catalina.authenticator.SSLAuthenticator"
securePagesWithPragma="false" />
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

7 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Alfresco Community 4.2.c


Click on Start -> Digit C:Alfrescotomcat
Create folder endorsed.
Create foldershared.
Create foldershared/classes.
Create foldershared/lib.
Unzip the alfresco-community-4.2.c.zip package in C:Alfrescotomcat.
Move all the content of the folder web-server/endorsed in endorsed.
Move all the content of the folderweb-server/shared in shared.
Move all the content of the folderweb-server/webapps in webapps.
Delete the le README.txt.
Delete the folder web-server.
Right click on Computer -> Properties -> Advanced settings -> Environment variables -> Select Path -> Modify -> Add
C:Alfrescotomcatbin -> Press Ok and close.
Click on Start -> Digit C:Alfrescotomcatsharedclasses
Copy alfresco-global.properties.sample in alfresco-global.properties
Click on Start -> Digit notepad++.exe C:Alfrescotomcatsharedclassesalfresco-global.properties.
Change the settings as described below, leaving all the rest not modied.

...
dir.root=C:\Alfresco\alf_data
# IMPORTANT: Leave the comment on the dir.keystore property.
...
db.username=alfresco
db.password=alfresco
...
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

8 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

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
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 its time to dene the start/stop script.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

9 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

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:MaxPermSize=256M

if /I "%1"=="start" goto :start


if /I "%1"=="stop" goto :stop
echo Usage: alfresco.bat [start stop]
goto :end

:start
%CATALINA_HOME%binstartup.bat
goto :end

:stop
%CATALINA_HOME%binshutdown.bat
goto :end

:end

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

10 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

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:AlfrescotomcatbinWin32NetBIOSx64.dll in C:WindowsSystem32. This is usefull to
make work the CIFS access to Alfresco on this Windows platform.

Thats all

Francesco Corti Posted in Alfresco, Enterprise Content Management java, postgresql, tomcat, tutorial,
windows 66 Comments

New A.A.A.R. Alfresco audit analysis and reporting v1.2 release Pentaho Data Integration CMIS Input plugin

66 thoughts on Step by step installation of Alfresco


Community 4.2.c on Windows Server 2008 R2 Standard
64bit please, no bundle!
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

11 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Francesco Corti - 27th June 2013 at 5:15 pm Reply

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 specic permits.
Hope this help you.

Orion - 28th June 2013 at 2:30 am Reply

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,
dierent 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 groupso my question is, what should it be a member of?

Francesco Corti - 28th June 2013 at 8:03 am Reply

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.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

12 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

ecmexplorer - 29th July 2013 at 11:03 pm Reply

Hi, Francesco

Thanks for the great document: its very helpful. Im far enough along that Im trying to resolve the Win32NetBIOSx64 issue. I dont
seem to be able to nd a copy of this le as a result of unpacking the Alfresco 4.2.c WAR zip le, or in our Tomcat-7 stu. Can you
provide any additional information about this guy or how to disable the need for it in Alfresco-global.properties, please?

Thanks for your time.

Don

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

13 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT


Thank you for your feedback.

I suggest you to nd the dll and use it in the way the installation needs.
You can nd it in the alfrescos zip le in the bin directory. Alternatevely there are several websites containing it, for example:
http://fossies.org/linux/www/alfresco/alfresco-community-4.2.c.zip/index_st.html

If you will not nd it, let me know and Ill send you by email.

I hope this help you.

ecmexplorer - 30th July 2013 at 3:25 pm Reply

Hi, again, Francesco

Thanks for the speedy reply, and for reminding me of the zip le. I had unpacked the WAR le from it several weeks ago and
had then dismissed the zip le.

Ive been putting together a document like yours for a few weeks now, and just saw yours yesterday. After reading yours, I
doubt theres much that you dont already know. Still, one thing that I learned when trying to address our SSL needs for our
Alfresco server is to create the Tomcat servers certicate request with a Subject Alternative Name (SAN) entry: this allows
users to specify the alfresco severs 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
youve provided.

In any case, thanks for the great document: it was very helpful to me.

Don

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

14 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

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?

Thanks Mark

Francesco Corti - 17th September 2013 at 12:43 pm Reply

Hi Mark,

Thank you for your feedback.

Regarding your rst 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 le /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
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

15 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

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 dierent
database and few dierent congurations for it.

Hope this will help you.

stalin louis - 22nd January 2014 at 11:29 am Reply

Hi Francesco Corti

Thanks for the great document: its 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

Francesco Corti - 22nd January 2014 at 11:46 am Reply

Hi,

Thank for the feedback.


This message happens when Alfresco has some kind of problems.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

16 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

stalin louis - 24th January 2014 at 12:03 pm Reply

Hi Francesco Corthi..

Thanks for your speedy reply.now its working properly.But i have one more doubts,i need to install Record management amp
les in my Alfresco Community 4.2.e version tell me any possible guide link

thanks for your time

Francesco Corti - 25th January 2014 at 12:12 pm Reply

There is a guide in the Alfresco wiki.

Francesco D'Agostino - 2nd February 2014 at 11:16 am Reply

Hi, I state that I am a neophyte in Alfresco, but why you use a 32 bit version of tomcat instead of 64 bit? Great tutorial best ..

Francesco Corti - 2nd February 2014 at 6:49 pm Reply

Hi Francesco,
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

17 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Leon - 20th February 2014 at 4:37 am Reply

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 its not what should i congure so i could use cifs on windows 7?

because i red on alfresco forum they said i should uninstall le and printer sharing what do you think?

Francesco Corti - 20th February 2014 at 10:07 am Reply

Hi Leon,

The dll is requested in both the edition (Community and Enterprise).


Did you investigate on the alfresco-global.properties le?
I suggest you to post a request on the Alfresco forum.

Cheers.

stalin louis - 6th March 2014 at 12:08 pm Reply

Hi Francesco

Great Article. I want plugin Activiti on my Alfresco Community 4.2.c ,I Want to add a new Workow.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

18 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Francesco Corti - 6th March 2014 at 2:22 pm Reply

Hi,
Thank you for the feedback.
Workow is a very dierent topic respect to the installation.
Try to take a look here: http://ecmarchitect.com/archives/2012/02/20/1552

Safaa Zao - 12th March 2014 at 1:02 pm Reply

Hi think you for your great Article


I have followed this tutorial step by step ,i have access to the authentication page of alfresco ,but i still not able to be authentied i
try the default username and password ADMIN ADMIN but it doesnt work ,have u a suggestion?

Francesco Corti - 18th March 2014 at 11:11 pm Reply

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 le (catalina.out).

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

19 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT


Great tutorial! But Ive problem about rst Authentication user/pass into Alfresco after installation. I typed username and password.
When I press login button, its nothing happened. The Login button was disabled. How could I x this error?

Thanks and Regards,


Azl

Francesco Corti - 18th March 2014 at 11:39 pm Reply

Hi Azl,
The problem could be because you use an unsupported version of the browser.
Please, try using Firefox or Chrome.

Azl - 19th March 2014 at 12:27 am Reply

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
Ive tried copy jar JDBC driver into TOMCAT_HOME/lib but it doesnt work properly. Have you any suggestion?

Thanks and Regards,


Azl

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

20 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

I hope this will help you.

Mark - 18th March 2014 at 11:40 am Reply

Dear Francesco ,

I understand now.
Thanks you so much for valuable post.

Mark - 20th March 2014 at 3:48 am Reply

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. :'(

Mark - 20th March 2014 at 8:45 am Reply

i can pass now . I install again from start and check detail. Its my bad. In fact, I have error that [Error: missing server JVM at
C:AlfrescoJavajre7binserverjvm.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
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

21 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Francesco Corti - 20th March 2014 at 9:08 am Reply

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.

Mark - 20th March 2014 at 10:19 am Reply

Dear Francesco,
nally i can run it because of you.
Today i really thanks you .
Wish you all the best

Best Regards,
Mark

Francesco Corti - 20th March 2014 at 10:38 am Reply

Cool! Thank you for the feedback and enjoy Alfresco.

Abolade Olajohn - 9th July 2014 at 3:02 pm Reply

Yes, you understand now, but please, what did you do? It may help other. This whole thing is about providing solution. Thank
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

22 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

amou - 16th April 2014 at 11:17 am Reply

Hi,
At rst 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

Francesco Corti - 16th April 2014 at 11:20 am Reply

Hi,
You are welcome!
Login: admin
Password: admin

amou - 16th April 2014 at 1:14 pm Reply

Dear Francesco ,
thank you very much have you tried to congure ldap authentication after this installation?

Francesco Corti - 16th April 2014 at 2:16 pm Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

23 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

amou - 16th April 2014 at 3:48 pm Reply

Dear Francesco ,
The problem that i dont nd the directory tomcat/webapps/alfresco after this installation to congure the authentication.

Francesco Corti - 16th April 2014 at 9:35 pm Reply

Hi,
You dont have the directory only if you didnt start Alfresco for the rst time.

amou - 18th April 2014 at 11:30 am Reply

Hi Francesco,
The LDAP authentication works perfectly, thank you for your quick responses.
Now, I will try the external authentication with OpenAM

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

24 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Monendra - 12th May 2014 at 10:08 am Reply

Hi Francesco,

I was struggling with the installation nally 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 nd alfresco-
enterprise-4.2.zip le.
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

Francesco Corti - 12th May 2014 at 10:43 am Reply

Hi Monendra,
Im happy you nd the tutorial useful.
You can download the zip le 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

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

25 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

(using Chrome & 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

Francesco Corti - 6th June 2014 at 7:37 am Reply

Hi Ivan,
The Alfresco community edition is certied 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-decision-matrix-deciding-between-alfresco-community-edition-alfresco-
enterprise-edition-and-traditional-proprietary-ecm.
And even if the Alfresco CE is certied, some bugs could be possible (slide 11).
Summarizing I didnt nd 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 nal answer is: get the Enterprise Edition!

kael - 2nd July 2014 at 12:14 pm Reply

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 dierent requiere component

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

26 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Francesco Corti - 2nd July 2014 at 7:10 pm Reply

I didnt try this but I dont expect problems.


Please, let us know if there is something wrong in it.
Thanks!

kael - 2nd July 2014 at 8:12 pm Reply

thank you for your reply and availability


I therefore remains awaiting a response to my concern

bhupathya - 10th July 2014 at 7:15 am Reply

does the above tutorial suits for installing alfresco commmunity 5.0.a..
pls helpp..

Francesco Corti - 10th July 2014 at 8:06 am Reply

Hi,
I would like to develop a new version of the tutorial but you can suppose the steps are more or less the same.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

27 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

BHUPATHY A P - 10th July 2014 at 7:18 am Reply

sir, how to install community5.0.a in windows environment..pls guide me

Francesco Corti - 10th July 2014 at 8:07 am Reply

Hi,
You can start with the installation wizard.
I hope this helps you.

Alexis - 8th August 2014 at 8:04 am Reply

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 le.

Do you guess why I am facing this issue?

Thanks!

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

28 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT


Probably you typed wrongly the permsize parameter.
Please, double check in the script.

Rida - 9th August 2014 at 1:42 pm Reply

Hi Francesco Corti
thanks for the installation guide.
I did install it on windows 7 using the lateset alfresco community 5 version.
everything works ne except the startup time it takes in the browser.
when i launch http://localhost:8080/share or alfresco rst 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

Francesco Corti - 9th August 2014 at 1:47 pm Reply

Hi Rida,
Nice test for this tutorial!
Thank you for sharing your experience.
Regarding your question: Alfresco is always a little bit slow during the startup and the very rst time it takes more time because
of the database setup.
So, my rst 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:
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

29 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Staord - 24th August 2014 at 4:54 am Reply

I am new to Apache Tomcat, but would like to do the following in a default install of Alfresco Community Edition 4.2.f on Windows 7.
1. I would like the user to type the address http://servername rather than http://servername:8080/share/page/ and be directed to
the Alfresco Community login page. This is a test platform, not interested in DNS setup or changing /etc le changes at the moment.
Been searching how to do this for awhile. Your help is appreciated.

Francesco Corti - 1st September 2014 at 12:42 pm Reply

Hi Staord,

You can nd the answer in reply to a comment by traductionbiz, in the page: http://fcorti.com/2013/01/09/installation-alfresco-
4-2-c-on-ubuntu/
I hope this will help you.

Mauricio - 26th August 2014 at 4:09 pm Reply

Hi Francesco, I found very good your article.


but I have a question, what do you mean with robust in
The purpose installation is not the bundle installation but a more robust for an enterprise conguration

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

30 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Francesco Corti - 15th September 2014 at 2:28 pm Reply

Hi Mauricio,
Sorry for the delay in my reply.
When you install Alfresco using the wizard, all the dependencies, scripts and modules are installed as a generic single thing.
This means that you cant control everything as a separate component (for example: would be simple to update only Libre Oce
or FFMpeg?).
With this installation you will be able to control every single component independently (you could update PostgreSql quite
safely).
Of course this does not means that this way to install Alfresco is easier.
Finally, I suggest you to use the wizard in a development or non-production environments.

dmikou - 10th September 2014 at 11:06 am Reply

Hi Francesco, I would like to thank you for that great tutorial. It is really helpfull especially for beginners.
I will have one question. I followed all the steps u told. But when I execute the command alfresco.bat start nothing happens. A
command window appeals but i disappear quickly and I cant acceed to the URL.
Could you help me resolve this problem ?

Francesco Corti - 10th September 2014 at 11:16 am Reply

Hi,
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

31 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Nazri - 10th September 2014 at 11:38 am Reply

Hi Francesco, do you have tutorials on how to run Alfresco (HEAD) source code in eclipse and tomcat?

Francesco Corti - 10th September 2014 at 12:00 pm Reply

Hi Nazri,
I dont have it ready!
If you are interested in develop it, please contact me privately.

Nazri - 10th September 2014 at 6:48 pm Reply

Do email me at mnazrimazlan@gmail.com

Nazri - 11th September 2014 at 4:28 am Reply

can you give your email address sir?

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

32 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

Leave a Reply

Use:

Powered by OneAll Social Login

Your email address will not be published. Required elds are marked *

Comment

Name *

Email *

Website

+ 1 =
three
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

33 de 34 10/01/17 03:18 p.m.


Alfresco 4.2.c installation on Windows Server 2008 - F. Corti http://fcorti.com/2013/03/11/step-by-step-installation-alfresco-community-4-2-c-windows/

HOME RECENT POSTS PROJECTS SHARING ABOUT

without
commenting.

@2013-2017 Francesco Corti - Powered by: Wordpress + Fruitful

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.

34 de 34 10/01/17 03:18 p.m.