Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

How to start service of multi-instant on ubuntu server

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
serverubuntuservermultiinstant
2 Risposte
10745 Visualizzazioni
Avatar
jagdish

Hi

i am working on ubuntu server i have install openerp v7 by Debian package its working fine, But i have to configure other instance for testing purpose, for testing instant i make folder (test) and put openerp Debian package in this folder, I have use different port for my regular instant it use 8069 for testing instant i have user 8080.

i start service for my regular instants sudo /etc/init.d/openerp start and for testing instant i use nohup ./openerp-server command to start service on server it works for some time and stop automatically.

So how can i start service of my both instanst service on server

Thanks

1
Avatar
Abbandona
Avatar
Amit Parik (amp)
Risposta migliore

Hello Jagdish,

First of all I want to suggest you that please use the launchpad code instead of the debian packages because it will be easier. 2nd thing the complete command is nohup ./openerp-server & . if you are using this will start the services and it will not stop until you stopped the server. So as per my opinion please check the parameter again it will definitely works.

About your 2nd point for multiple instance the best way is as follow. Create 2 different user i.e openerp1, openerp2. download the code for both the user. Create 2 superuser on postgres, openerp1 and openerp2. Alter the role for both then start the openerp server with different port via --netrpc-port=8090 --xmlrpc-port=8091 (You can also assign the host name, So you can use directly that url) . Then it will works great and your 2 different instance will be created.

If your services will be stop after sometime as you specified then do the one thing create the python script for that and it will run the openerp-server directly . So when your server will stop it will check auotmatically and start openerp services again. Here also you have to start your script with nohup command i.e nohup python script.py &

Thank You and hope this will helpful for you!

4
Avatar
Abbandona
jagdish
Autore

Thanks for the answer amp

Avatar
Pinakin Nayi (pna)
Risposta migliore

Hello,

I think there is one more way of proxy that may be useful to you.

First of all configure Apache sever to use , Now, just go to /etc/apache2/sites-available/ and there create own file like test(without extension) and in it add code like (you can also biferagate different port here) pastebin.com/7yYkMvmi

  • Now, disable default >sudo a2dissite 000-default
  • And enable your own by > sudo a2ensite test

Now, finally restart your apache server by >sudo /etc/init.d/apache2 restart

  • > sudo nano /etc/hosts

Now, when you run your openerp server you can use following command: ./openerp-server --addons-path=../addons/,../web/addons --proxy-mode

From browser : test:8069/

So, its work fine.

1
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
How to allow users to connect your project on ubuntu 24.10?
server ubuntu ubuntuserver
Avatar
Avatar
1
dic 23
2778
HostNoc as My Go-To Server Provider – Sharing My Experience
server
Avatar
0
giu 25
2
How to configure multi-instance and memory limit in .conf ?
server
Avatar
Avatar
1
giu 23
16957
Odoo 14 Server Error Message after Log in
server
Avatar
Avatar
1
gen 22
3500
Please advise on hardware configuration
server
Avatar
0
nov 21
4138
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now