Pages

Monday, April 22, 2013

Openbravo Setup and Configuration In Windows







Hi Technops, 

This article is for complete installation and configuration of Openbravo in Windows environment.

Environment Requirements:-



1.Hardware Requirements
3GB RAM,80GB Hard Disk
2.Operating System
Windows Server
3. Browsers
Mozilla Firefox, Internet Explorer
4. Database
Oracle 9i to 11g
5. Application Server
Tomcat
6. Web Service
 Apache
7. Development Tool Kit
JAVA
8. ERP
Open bravo















I am covering following Concepts:
 
1.       Installation of Databases (Oracle and PostgreSQL).

2.       Installation of JAVA.

3.       Installation of Tomcat.

4.       Installation of Apache.

5.       Installation of Openbravo
 
 
1.    Installation of Oracle 11g Database
      
       Now i am going to use Oracle 11g as my database and installing in Windows environment.
       Run Oracle 11g setup file, you will get following screen. 



When we click on setup icon above screen appears. Select basic installation and give the Database name and PACE (In this case).


Click on next after checking the first option in the window.

  
Click Next.

  
Click Install.


    Installation will complete in this step.
    After this give password for system in Password management Window .
    Ex:-In this case it is pace.
  

Database User Creation:-

      -Connect to  Sqlplus  in CMD
      -Enter Username: openbravo (In This case).
      -Enter Password: password (In This case).
      -SQL: create user mybravo Identified by mybravo
      -SQL: grant all privileges to mybravo
 

    2. Installation of JAVA

Install JAVA executable file and set the environment variable.
 

Modify Path system variable for JAVA:
E:\app\Administrator\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_18\bin;



3.    Installation of Tomcat
 
Copy Tomcat and Apache core files into Openbravo folder.

Tomcat environment variable setup
My Computer PropertiesàAdvancedàEnvironment Variables
Setup CATALINA_BASE, CATALINA_HOME, and CATALINA_OPTS under system Variables.


Modify Path system variable for Tomcat:
E:\app\Administrator\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_18\bin;E:\open bravo\Tomcat\bin;


To check the status of tomcat installation start the tomcat service and please go to the below link:
http:\\localhost:8080


4. Installation of Apache

Apache Environment Variables Setup
My Computer PropertiesàAdvancedàEnvironment Variables
Setup ANT_HOME, ANT_OPTS under system Variables.

Modify Path system variable for Apache:
E:\app\Administrator\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\ProgramFiles\Java\jdk1.6.0_18\bin;E:\openbravo\Tomcat\bin;E:\openbravo\Apache-Ant\bin; 



5. Installation of Openbravo.

Copy the delivered Code Tree in the open bravo folder.

In Command Prompt E:\.
(Here we are mentioning E: drive because installation of openbravo is in E drive)

-Using command prompt go to your installed folder. (E:\openbravo\OpenbravoERP-3.0\ )
Then run "ant setup" command in command prompt.


 -Ant setup is to generate openbravo install file and the path where it is generated is (E:\openbravo\OpenbravoERP-3.0\config).
   
Run the .exe file the setup page activates, click on next

 

Check I accept and click on next.



Click on Next.



Create a Folder First in the code and then give the path for Attachment Directory below.


Click on Next.



Check the Database on which the openbravo is installed in this case oracle.





      Change the SID and password accordingly and click on next

 
Click on Next.

 
   Click on Next.



Click on Next.

Click on Next






Click on Finish.



      After that go to command prompt give the command E:\openbravo\ant install.source:

-This is to install openbravo ERP and database.(This will take some time).
Installation is complete with this step.
  
Start the Tomcat services.
 
-  Give the path in the browser: Ex: http://localhost:8080/openbravo/security/Menu.html.

-  Once the open bravo page is up activate the instance in general setup by giving the golden key.

-  To add a module or OBX: General SetupàApplicationàModule Management. In that click Add modules and give the path of the OBX file and install it. After installing check the option rebuild now for installed module .
   Ex:smartcs.

-  Rebuild the System. If in case of any error during build process run the command:
“ant update. Database compile.complete-Dforce=yes”.

After whole process done successfully go to  "http://localhost:8080/openbravo"
Then enter User Name as Openbravo and password as openbravo. Once you are login into Openbravo successfully our installation and configuration is done.

For any more issues and information, please comment below.

No comments:

Post a Comment