Nuxeo5 - Code Source Installation

3,853 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,853
On SlideShare
0
From Embeds
0
Number of Embeds
121
Actions
Shares
0
Downloads
101
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Nuxeo5 - Code Source Installation

  1. 1. Nuxeo EP 5 Installation based on the source code Jean Marie PASCAL jeanmarie.pascal@gmail.com
  2. 2. • Goal  Install Nuxeo 5 version 5.1.3 based on the source code • Steps  JVM installation  Subversion installation : Tortoise SVN  Maven installation  Ant installation  JBoss AS installation  Compilation et Deployment of Nuxeo 5 Source Code 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 2
  3. 3. Configuration Used  Operating System :  Windows XP SP2  Processor  Intel Core 2 Duo  Computer memory  2Ghz (1Ghz Minimum Required) 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 3
  4. 4. JVM Installation  Download JDK last version  Resource : SUN website (Version 5 compulsory!!!!)  jdk-1_5_0_14-windows-i586-p 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 4
  5. 5. JVM Installation  Open the downloaded file and follow the installation wizard steps… 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 5
  6. 6. JVM Installation  Check the installation  Open the Command Prompt  Start Menu  Run…  Enter the command « java –version »  Check the above message is displayed 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 6
  7. 7. JVM Installation  Check the installation of the environment variables Create a new one if the environment variable doesn’t exist. 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 7
  8. 8. Define the environment variables  Define the CLASSPATH variable:  Define the PATH variable:  Note : Refer to the previous slide to know how to create an environment variable. 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 8
  9. 9. Subversion Installation  Download Tortoise SVN last version  Resource : TortoiseSVN.net   Open the downloaded file and follow the installation wizard… 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 9
  10. 10. Get the sources  Create a folder  Right click on the created folder – select check-out  Fill the dialog prompt  OK 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 10
  11. 11. Get the sources  Wait until the download operation is complete  Then check the folder’s content… 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 11
  12. 12. Maven Installation  Download Maven last version  Resource : Maven.apache.org   Unzip the downloaded file in the following folder  C:opt  Then you get MAVEN_HOME :  C:optapache-maven-2.0.8 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 12
  13. 13. Define the environment variables  Define MAVEN_HOME variable:  Define MAVEN_OPTS variable:  Define PATH variable: 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 13
  14. 14. Maven Installation  Check the installation  Open the Command Prompt  Start Menu  Run…  Type the command « mvn –v »  Check the above message is displayed 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 14
  15. 15. Ant Installation  Download Ant last version  Resource : ant.apache.org   Unzip the downloaded file in the following folder  C:opt  Then you get ANT_HOME :  C:optapache-ant-1.7.0 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 15
  16. 16. Define the environment variables  Define ANT_HOME variable:  Define ANT_OPTS variable:  Define PATH variable: 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 16
  17. 17. Ant Installation  Check the installation  Open the Command Prompt  Start Menu  Run…  Type the command « ant –version »  Check the above message is displayed 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 17
  18. 18. jBoss AS Installation  Download jBoss AS version 4.0.5  Resource : SourceForge.net   Unzip the downloaded file in the following folder  C:opt  Then you get JBOSS_HOME :  C:optjboss 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 18
  19. 19. jBoss AS Installation  Open the downloaded file and follow the installation wizard instructions… 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 19
  20. 20. jBoss AS Installation  In the JBOSS_HOMEbin folder  Edit the file called « run.bat »  Manually add the following line 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 20
  21. 21. Sources Compilation  Open the folder where all the sources are stored  Remove the extension « .sample » from the name of the « build.properties » file.  Edit the file and define the path to the Jboss server as shown below 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 21
  22. 22. Sources Compilation  Open the Command Prompt  Start Menu  Run…  Open the folder where all the sources are stored  Type the command: ant patch  Wait until the following message is displayed 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 22
  23. 23. Sources Compilation  Open the folder where all the sources are stored  Type the command: mvn compile  Wait until the following message is displayed  (Note this can last a while depending on the configuration of your machine)  Finally type the command: ant deploy  Wait until the same end message is displayed… Note: if an Java.heap.size – type error occurs during the compilation, change the value of the environment variable MAVEN_OPTS to « -Xmx1024m –Xms512m »  And that’s it…  Nothing more to do !! 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 23
  24. 24. Well…nearly…  An error might be raised concerning the application.xml file. This error notices this file is not in the following folder:  JBOSS_HOMEserverdefaultdeploynuxeo.earMETA-INF  To solve this problem, you can copy the application.xml and jboss-app.xml files from the following folder  NUXEO_HOMEserverdefaultdeploynuxeo.earMETA-INF (you get this folder from the basic installation)  Paste them into the following folder  JBOSS_HOMEserverdefaultdeploynuxeo.earMETA-INF 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 24
  25. 25. Start the application  In JBoss AS installation folder Note : C:optjboss= JBOSS_HOME  Folder : JBOSS_HOME/bin  Run the file called « run.bat »  And be patient for a couple of minutes… 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 25
  26. 26. Start the application  Once the following message is displayed  Open a web browser  Link : http://localhost:8080/nuxeo/  Login : Administrator  Password : Administrator 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 26
  27. 27. Enjoy it! 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 27
  28. 28. 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 28
  29. 29. For further information…  Documentation and Screencasts  http://www.nuxeo.org/sections/documentation/  More about installation  http://doc.nuxeo.org/current/reference/html/nuxeo-boo  Website  http://www.nuxeo.org/  http://www.nuxeo.com/ 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 29

×