Nuxeo5 - Code Source Installation

  • 3,589 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
3,589
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
99
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Nuxeo EP 5 Installation based on the source code Jean Marie PASCAL jeanmarie.pascal@gmail.com
  • 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. 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. 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. JVM Installation  Open the downloaded file and follow the installation wizard steps… 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 5
  • 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. Enjoy it! 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 27
  • 28. 12/02/2008 http://opensourceecm.blogspot.com/search/label/Nuxeo 28
  • 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