Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Install openerp v7 and a php website on the same VPS server

By
ThackerS (ts)
on 7/6/14, 9:13 AM 1,260 views

I have a VPS server. And i want to install on my VPS server, openerp V7 and my website (written in PHP).
After installation, i want to send data from my website to postgresql database of openerp e.g: send username from my website to a specific table name on openerp postgresql database).
Here is my questions:

1) How i can install openerp v7 and a website (written in PHP)  on the same VPS Server?
==> i want to run the website on: www.website.com
==> i want to run openerp on: openerp.website.com

2) I want to acces the openerp database with specific url e.g.

 i don't want to have openerp.website.com:8069/?db=mydb but mydb.openerp.website.com


3) How can i comunicate my website (written in PHP) and the database of openerp ? (Should i use xmlrpc web service ?)
Actually, i have no idea of how i can do my goal. Any ideas are welcome.

0

VPS server is one of best way to manage your website online. Everyone is aware of fact that in these fast pace of Internet it is required need to be updated. So it is important to website of your company. It is better to choose VPS hosting. Innovative Hosting Corporation is one of best medium which use to provide service of VPS server.

http://www.innovativehostingcorp.com/vps/

0
ThackerS (ts)
On 7/7/14, 5:25 PM

 


 

0
Bernard Tabalon
On 7/7/14, 4:20 AM

Use virtual host. If you're on a Apache HTTP server:
 

<VirtualHost *:80>
   ServerName openerp.website.com  
   ServerAlias openerp.website.com www.openerp.website.com
   ProxyPass / http://localhost:8069/
   ProxyPassReverse / http://localhost:8069/
</VirtualHost>

<VirtualHost *:80>
    ServerName mywebsitewritteninphp.com
    ServerAlias mywebsitewritteninphp.com www.mywebsitewritteninphp.com
    DocumentRoot /var/www/myphpwebsite
</VirtualHost>

 

Hi Bernard Tabalon. Thank you for your answer. I will test your script and will give you the result after. Otherwise, you know how i can resolve the question 2 ? See you.

ThackerS (ts)
on 8/20/14, 5:05 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 7/6/14, 9:13 AM
Seen: 1260 times
Last updated: 3/16/16, 5:43 AM