Skip to Content
Menu
This question has been flagged
1 Reply
7073 Views

Hello Guys , How to install odoo-8 on two different ports 8069 & 8080?? Is it possible to do? If it possible tell me how to do that.


Thanks in advance.

Prasanth.ks

Avatar
Discard
Best Answer

Hi Prasanth,

Ofcourse this is possible! The idea is to install an Odoo, which you for example run on port 8069. Then you install a second Odoo which you run on port 8070.
The easiest way is to use a shell script to install Odoo, you can find an example here: https://github.com/Yenthe666/InstallScript/blob/master/odoo_install.sh 
First create a new file:

sudo nano odoo_install.sh

Paste all code from Github in it and then save the file. Now make the file executable:

sudo chmod +x odoo_install.sh

Now execute the script:

./odoo_install.sh

This will by default place your Odoo on port 8070 (if you use my script). Then re-run that script again but first replace this variable:

OE_PORT="8070" 

Change that port from 8070 to 8080 or any other free port. After both installs are done you will have two Odoo's running on two ports.

Avatar
Discard

Thanks @Emipro! I honestly think install scripts make life a lot easier.

Author

@yenthe :- i got error during the installing python libraries.:-`name (Default: odoo).' >> /$OE_CONFIG echo "USER=$OE_USER" >> /$OE_CONFIG echo '' >> ~/$OE_CONFIG echo '# Specify an alternate config file (Default: /etc/openerp-server.conf).' >> '

Yenthe, just out of curiosity, could one use the --xmlrpc-port= to specify a different port?

@prasanth: i'm not sure why you're getting this. Did you get anything more as notification? I'd try a new clean install. @Shawn: Yes you could just provide --xmrpc-port like any other Odoo!

Related Posts Replies Views Activity
0
Mar 15
3604
1
Feb 16
6027
8
May 24
5677
2
Mar 15
4484
2
Dec 23
27780